![background image](http://html1.mh-extra.com/html/racal-instruments/1256e/1256e_manual_3132597163.webp)
1256E User Manual
Racal Instruments
©
2002
Digital Module Operation 7-17
and may be set back to active high using the command:
DIG:SYNC:BUSY
NORMAL
Synchronous and
Asynchronous
Example
To illustrate a command sequence, assume module 7 is a 1260-
114 module. The following command sequence may be used to:
A) Select ports 0 and 1 as synchronous output ports.
B) Select ports 2 and 3 as synchronous input ports.
C) Select ports 4, 5, 8, and 9 as asynchronous output ports.
D) Select ports 6, 7, 10, and 11 as asynchronous input ports.
E) Output values 1, 2, 3, 4 to port 0 in synchronous mode.
F) Output values 10, 20, 30 to port 1 in synchronous mode.
G) Read 5 data bytes from port 2 in synchronous mode.
H) Read 256 data bytes from port 3 in synchronous mode.
I)
Output the value 44 to port 4, 55 to port 5, 88 to port 8, and
99 to port 9 in asynchronous mode.
J) Input a byte from ports 6, 7, 10, and 11 in asynchronous
mode.
Resets the 1260-114 modules to power-up defaults:
*RST
Enable ports 0, 1, 4, 5, 8, and 9 as output ports. Others are
defaulted (by *RST) as input ports:
DIG:STATE (@7(0,1,4,5,8,9)),ON
Sets ports 0 to 3 as synchronous, ports 4 to 11 as asynchronous:
DIG:CONF (@7(4))
Loads the data bytes 1, 2, 3, and 4 into port 0 buffer:
DIG:SYNC:DATA
(@7(0)),1,2,3,4
Loads the data bytes 10, 20, and 30 into port 1 buffer:
DIG:SYNC:DATA
(@7(1)),10,20,30
Set the number of points to 5 for port 2:
DIG:SYNC:POINTS
(@7(2)),5
Set the number of points to 256 for port 3: