Checking For Data Transfer Completion - Racal Instruments 1256E Manual

Switching system
Table of Contents

Advertisement

Checking for Data
Transfer Completion
Digital Module Operation 7-14
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
(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.
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.
of
points
defined
Racal Instruments © 2002
1256E User Manual
for
the
port

Advertisement

Table of Contents
loading

Table of Contents