VXI VT1538A DJ Equipment User Manual


 
14 Agilent E1538A Enhanced Frequency/Totalize/PWM SCP
Reading Static
Digital State
This means reading a channel’s current digital state when an algorithm
executes. This is the default function assigned to all digital input channels
after *RST and at power-up. To set individual channels to this function use
the SCPI command [SENSe:]FUNCtion:CONDition (@<ch_list>). The
value returned to an algorithm is a floating point representation of 0 or 1,
depending on the state of the input signal and the channel’s INP:POL setting.
To set channels 40 through 43 to input digital states
*RST
SENS:FUNC:COND (@140:143)
default for all dig inputs
ALG:DEF ’ALG1’,’ writecvt(I140,40); writecvt(I141,41); writecvt(142,42);
writecvt(143,43);’
INIT
do loop
SENSE:DATA:CVT? (@40:43)
read 4 CVT values
end loop
Figure 8. Input Static Digital States