Appendix C: Available Scripting Objects

Ch(index as Integer) as Double
Sets or gets the most recently sampled result of each bin (0 to 7). This property is used by Blank(), Sample(), Wash(). Example:
Dim sample_value
sample_value = Ch(1)
 
CounterChannel as Integer
Sets the Counter ID which will be used for sampling. Defaults to 1.
 
Diff(index as Integer) as Double
Sets or gets the differential limit for each bin (0 to 7). This property is used by Sample(). Sample() will return as soon as the absolute differences of the most recent two readings less than Diff(). This is assuming that skip is more than one. Example:
Diff(1) = 4
 
Differential as Boolean
Sets or gets the Differential/Cumulative mode. In differential mode, each bin holds the individual count of its particle size, whereas in cumulative mode, each bin holds the cumulative count of its particle size and all larger size bins.
 
ExcelApp as Excel.Application
Creates and returns an Excel application object.
 
FileDialog as CommonDialog
This object is predefined for your convenience. Consult the Microsoft documentation on CommonDialog to use this. You can use this to manage the operator's file open and file save, for example.
 
Filer as FileSystemObject
This object is predefined for your convenience. Consult the Microsoft documentation on FileSystemObject to use this.
 
Limit(index as Integer) as Double
Sets or gets the limits of each bin (0 to 7). This property is used by Wash(). Example:
Limit(4) = 5.5
 
PrevCh(index as Integer) as Double
Sets or gets the second most recently sampled result of each bin (0 to 7). This property is used by Blank(), Sample(), Wash(). Example (to get the average of two readings):
Dim sample_value
sample_value = (PrevCh(1) + Ch(1)) / 2
 
Status
Sets the status text. Example:
Status = "Sampling..."
 
Volume
Sets the sample volume. Example:
Volume = 50