Using the Digital Input
2–34 VX4101A MultiPaq Instrument User Manual
Programming the Digital Input
This section describes how to program the Digital Input using the described
command set.
1. Select the Digital Input as the active instrument:
INST:SEL DIGI
2. Set the return format to hexadecimal:
FORMAT HEX
3. Enable all bits as input:
SENSE:PSELECT:DIGLOBAL ENAB
4. Set up the Digital Input to take 1000 postmatch measurements:
sens:arr 1000
5. Set up the threshold value to 2.8 V:
sense:threshold 2.8
6. Set the match pattern:
trig:matc #h00007e38
7. Set the mask for the match pattern:
trigger:mask #h0000FFFF
8. Start the measurements:
initiate
NOTE. Until the match occurs, the instrument will not take the 1000 post-match
measurements. You must manually enter the match pattern in order to use this
example.
9. Query the amount of prematch data
FETch:COUNt?
10. Retrieve all postmatch data:
FETch?