![background image](http://html1.mh-extra.com/html/racal-instruments/1256e/1256e_manual_3132597160.webp)
1256E User Manual
Digital Module Operation 7-14
Racal Instruments
©
2002
DIG:SYNC:STATE (@3,5,9),ON
Arm the digital modules at module addresses 3, 4, 5, 6, 9, and 11:
DIG:SYNC:STATE (@3:6,11,9),ON
After the module has been armed, it will remain armed until:
A) The DIGITAL:SYNCHRONOUS:STATE command is used to
disarm the module; OR:
B) The number of data bytes collected for all input ports matches
the number of points defined for the port
(DIGITAL:SYNC:POINTS command), and the number of
data bytes output for each output port matches the number
of data bytes loaded (DIGITAL:SYNC:DATA command).
One byte will be clocked out for each output port on the module for
each CLKIN pulse received. One byte will be read for each input
port on the module for each CLKIN pulse received.
Checking for Data
Transfer Completion
The DIGITAL:SYNCHRONOUS:STATE? query is used to read
whether the digital module is armed. When all of the data transfer
has been completed for a given module, the module will
automatically be disarmed.
The following examples illustrate the use of this query.
This queries the present arm state of module 7. The reply will be
“1" if the module is armed, or “0" if the module is disarmed:
DIG:SYNC:STATE?
(@7)
This queries the present arm state of each of the following
modules: 7, 8, 9, and 10:
DIGITAL:SYNCHRONOUS:STATE? (@7:10)
The reply consists of a single “1" or “0" for each port. Each state
indication is separated by a comma. For example, the reply:
0,1,0,0
indicates that module 8 is armed, while modules 7, 9, and 10 are
not.