Tektronix VX4101A Drums User Manual


 
SCPI Commands for the Digital Input
3–124
VX4101A MultiPaq Instrument User Manual
NOTE. If you enable the Digital Input pattern match, both the prematch and
postmatch values remain at zero until a match is found.
FETCh?
Command Response/Description
FORM HEX Sets the return format to hexadecimal.
SENSE:PSEL:DIGL ENAB Enables all bits as input
CONF:ARRAY:DIGLOBAL
2,2.5
Sets up the:
Voltage threshold to 2.5 V
Read from all inputs,
Normal,
Two readings
READ? #hf0f0f0f0,#h1111111
Orders a read in the current configuration.
CONF:ARR:DIGL 2,18.0 Setting up a different configuration.
INITiate Arm the instrument.
FETCh? #h0000ffff,#hfffff0000
Getting last read values.
FETCh:COUNt?
Command Response/Description
FORMAT HEX Sets the return format to hexadecimal
SENSE:PSELECT:
DIGLOBAL ENAB
Enables all bits as input
sens:arr 1000 Take 1000 postmatch measurements
sense:threshold 2.8 Set the threshold to 2.8V
trig:matc #h00007e38 Set the match pattern
trigger:mask #h0000FFFF Set the mask for the match pattern
initiate Start taking measurements
fetc, coun? 7,42
Reads how many measurements have been taken so far
Examples