![background image](http://html1.mh-extra.com/html/racal-instruments/1256e/1256e_manual_3132597151.webp)
1256E User Manual
Racal Instruments
©
2002
Digital Module Operation 7-5
Enabling and
Disabling the Ports
The DIGITAL:OUTPUT:STATE command is used to enable or
disable the output drivers on one or more ports of the 1260-114
module.
The 1260-114OC and 1260-114HVOC modules have
open collector outputs, and so this command has no effect
.
This command affects the ports used in either the synchronous or
the asynchronous mode of operation.
The command uses the syntax:
:DIGital
:OUTPut
:STATe <port list> , { ON | OFF | 1 | 0 }
Examples of the command are shown below.
Enable port 11 of module 7 as an output:
DIG:OUTP:STATE (@7(11)),ON
Disable ports 3 and 6 of module 7:
DIG:OUTP:STATE
(@7(3,6)),OFF
Enable port 0 of module 7 and port 3 of module 8:
DIG:OUTP:STATE (@7(0),8(3)),ON
Enable ports 1 through 4, and port 6 of module 7, and ports 2
through 10 of module 8:
DIG:OUTP:STATE
(@7(1:4,6),8(2:10)),1
Disable port 3 of the module whose name is “digio”:
DIG:OUTP:STATE (@digio(3)),off
Using the
Asynchronous
Mode of Operation
The syntax for the asynchronous mode commands is shown
below:
:DIGital
:OUTPut
[:DATA] <port list> , <data list>
:INPut?
<port
list>
The DIGITAL:OUTPUT command is used to output data to one or