Appendix A
Serial Interface Functions
81
rem: Set delayed trigger to 1 micro-second Sync'd to Trigger In.
let tmp = PG200SETDLYTRG( 1, 1.0, 1 )
rem: Set pulse delay to 500 nano-seconds
let tmp = PG200SETDEL( 1, 500, 0 )
rem: Set pulse width to 4 nano-seconds.
let tmp = PG200SETWID( 1, 4, 0 )
PG200SKIPSEQ
Skips a trigger during a pulse sequence.
Parameters:
1
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)
Return Type:
Integer
Return Definition:
1 = Successful communication
0 = Error in communication
Status of this function:
V1.0
Example:
See example for PG200ADDSEQ
PG200STARTSEQ
This function will begin a pulsing sequence.
Parameters:
1
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)
Return Type:
Integer
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com