Appendix A
Serial Interface Functions
79
PG200SETSYNCDELO
This function sets a Delay Trigger Out Value on the PG-200 which is synchronized to
the Gate. To set this value synchronized to the Trigger In, use PG200SETDLYTRG.
Parameters:
3
Parameter 1 Type:
Integer
Parameter 1 Definition:
Number of the serial port that the PG-200 is connected
to:
1 = COM1
2 = COM2
3 = COM3
4 = COM4
5 = COM5
6 = COM6
7 = COM7
8 = COM8
(Ports 5 - 8 require special hardware)
Parameter 2 Type:
Float
Parameter 2 Definition:
Delay Value to set
Parameter 3 Type:
Integer
Parameter 3 Definition:
Units of the Delay Value.
0 = Nanoseconds, 1 = Microseconds, 2 = Milliseconds
Return Type:
Integer
Return Definition:
1 = Successful communication
0 = Error in communication
Status of this function:
V1.0
Example:
See example for PG200SETWID and
replace
rem: Set delayed trigger to 1 micro-second Sync'd to Trigger In.
let tmp = PG200SETDLYTRG( 1, 1.0, 1 )
with
rem: Set delayed trigger to 1 micro-second Sync'd to Gate
let tmp = PG200SETSYNCDELO( 1, 1.0, 1 )
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com