VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
END
Attribute VB_Name = "ProcessClass"
Attribute VB_GlobalNameSpace = True
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
' ProcessClass

' This file contains empty definitions of the four subroutines which are
' called for batch acquisition scripts and the one subroutine which is used
' for post processing scripts. The idea is to make a copy of this file and
' add code to the various functions below as required.

' The BatchStart(), BatchEnd(), SampleStart() and SampleEnd() subroutines
' are only used for batch acquisition scripts and the ProcessActive()
' subroutine is only used for post processing scripts. Any subroutines
' which are not needed can either be left empty or removed.

' A few points to note:
'    (1) The name of the class _MUST_ be "ProcessClass" (although the file
'        name is not important).
'    (2) The class must be part of a Visual Basic "ActiveX DLL" project.
'    (3) The "Instancing" property for this class must be "GlobalMultiUse".
'        If this file is used in other projects (such as "BatchScriptDriver")
'        this property will get automatically reset by VB resulting in an
'        error message when you try to build the DLL ("No creatable public
'        class module detected.").
'    (4) The DLL must be created (using the "Make" item from VB's "File"
'        menu). The resulting DLL is the script which is specified from
'        within Analyst (other files created by VB such as "lib" and "exp"
'        files are not needed).


Option Explicit


' This subroutine is called by Analyst at the start of the batch (for batch
' acquisition scripts).
Public Sub BatchStart()
End Sub

' This subroutine is called by Analyst at the end of the batch (for batch
' acquisition scripts).
Public Sub BatchEnd()
End Sub

' This subroutine is called by Analyst at the start of each sample (for batch
' acquisition scripts). "Filename" is the name of the file containing the sample
' which is about to be acquired and "sampleIndex" is the position of the sample
' in that file.
Public Sub SampleStart(filename As String, sampleIndex As Integer)
End Sub

' This subroutine is called by Analyst at the end of each sample (for batch
' acquisition scripts). "Filename" is the name of the file containing the sample
' which has just been acquired and "sampleIndex" is the position of the sample
' in that file.
Public Sub SampleEnd(filename As String, sampleIndex As Integer)
End Sub

' This subroutine is called by Analyst (for post processing scripts only).
Public Sub ProcessActive()
End Sub
