![background image](http://html2.mh-extra.com/html/racal-instruments/1256/1256_manual_3131895142.webp)
Publication No. 980855 Rev. A 1256 User Manual
EADS North America Test and Services 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
more ports on the 1260-114 modules.
The <port list> defines which port or ports to be written.
The <data list> is a list of comma-separated numeric values, each
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com