Appendix A
Serial Interface Functions
77
Example:
0 nsec 100 nsec
__________________
External trigger 1 _____| :
: :
Pulse 1 _________________ __
|_|
0 nsec 200 nsec
______________________________
External trigger 2 _____| :
: :
Pulse 2 ______________________________ __
|_|
Starting delay +
(N * step size)
0 nsec nsec
_____________________________________
External trigger N _____| :
: :
Pulse N _______________________________________ __
|_|
rem: Init com 1 for PG200
let tmp = PG200SERIALINIT( 1 )
rem: Set trigger mode to external
let tmp = PG200TRGMODE( 1, 1 )
rem: set pulse width to 50 nsec.
let tmp = PG200SETWID( 1, 50, 0 )
rem: set sweep params : com 1, start delay : 100 ns
rem: step size : 100 ns and number steps : 25.
let tmp = PG200SETSWEEP( 1, 100, 0, 100, 0, 25 )
:
:
rem: Send command just before starting experiment to
rem: place pulse at starting delay.
let tmp = PG200GATEEN( 1, 1 )
let tmp = START130
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com