External Trigger Commands in Pulse Programs

The 'trigp' and 'trign' pulse program statements are used start, or continue, a pulse program. Trigp triggers on a positive level, trign on a negative level. We found the that the simplest case of a program:
---------------------------------------------------------------
;11/9/94 R. Nunlist. Slave waits for trigger pulse from master.
; Wait for external trigger and fire an x-pulse.
; use f2 parameters as on master.
1 trigp
2 p3:d ph2
;  2u :c9
  200u          ;just in case.... :)
  lo to 1 times l1
exit

ph2=0 2 2 0 1 3 3 1

;p3 : Pulse width on decoupler channel
;li : >= master ns
-------------------------------------------------------------------
does NOT work. The following does:

-------------------------------------------------------------------
;xp
;11/15/94 R. Nunlist. Slave waits for trigger pulse from master.
; Wait for external trigger and fire an x-pulse.
; used f2 parameters as on master.
; trigp does not wait!
1 zd
2 d1
3 trigp
4 p3:d ph2
;  2u :c9
  200u          ;just in case.... :)
  lo to 2 times l1
exit

ph2 = 0 2 2 0 1 3 3 1

;p3 : Pulse witdh on decoupler channel
;l1 : >= master ns
-----------------------------------------------------------------------
I am not sure yet if both the 'ze' and the delay are needed...

Questions, comments to: Rudi Nunlist rnunlist@bloch.cchem.berkeley.edu

Last Update: 11/18/94.