HP (Hewlett-Packard) B Network Router User Manual


 
Taking a Burst of Readings
This program demonstrates:
how to set the arm count for multiple bursts of (post-arm) readings
how to set the arm source to VXI backplane trigger line ECLTRG0
and use the HP E1406 Command Module to apply arming pulses to
the trigger line.
ARMCNT.C
/* digitizer commands */
*RST;*CLS /* reset and clear the digitizer */
CONF1:ARR:VOLT (10), 1,(@1) /* set 10 readings, 1V range, S/E input */
/* port 1*/
ARM:SOUR1 ECLT0 /* arm source is ECLTRG0 trigger line */
ARM:COUN 3 /* set arm count for 3 bursts */
OUTP:ECLT0:STAT ON /* enable line ECLTRG0 - Command Module */
INIT /* place digitizer in wait-for-arm state */
/* send arming pulse - Command Module commands*/
OUTP:ECLT0:IMM /* apply a pulse to ECLTRG0 */
/* ask for next pulse */
OUTP:ECLT0:IMM /* apply a 2nd pulse to ECLTRG0 */
/* ask for next pulse */
OUTP:ECLT0:IMM /* apply a 3rd pulse to ECLTRG0 */
/* digitizer command */
FETC1? /* retrieve digitizer readings */
Comments 1. Arm and Trigger Counts. The arm count is the number of reading
bursts or arm signals the digitizer is to accept before the digitizer returns to
the idle state. When the digitizer receives an arm, it takes a reading each
time a trigger is received, and continues to take readings until the trigger
count is reached. Notice the CONFigure command specifies (10) readings
(trigger count = 10). Therefore, with an arm count of three, 30 readings are
taken before the digitizer returns to the idle state.
2. Additional Information. Digitizer arming and triggering is covered in
Chapter 3 - "Understanding the Digitizer".
Chapter 2 Usin
g
the Di
g
itizer 51