Measurement-computing DAQFlex User Guide User Manual Page 67

  • Download
  • Add to my manuals
  • Print
  • Page
    / 125
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 66
DAQFlex Software User's Guide DAQFlex Message Reference Programming messages DIO
67
port
The port number (0).
value
The port value (0 to 255).
Example
"DIO{0}:LATCH=128"
Get the latch value of a port.
Message
"?DIO{port}:LATCH"
Response
"DIO{port}:LATCH=value"
port
The port number.
value
The port value.
Example
"?DIO{0}:LATCH"
Set the latch value of a bit.
Message
"DIO{port/bit}:LATCH=value"
Response
"DIO{port/bit}:LATCH"
port
The port number.
bit
The bit number.
value
The bit value.
Example
"DIO{0/1}:LATCH=1"
Get the latch value of a bit.
Message
"?DIO{port/bit}:LATCH"
Response
"DIO{port/bit}:LATCH=value"
port
The port value.
bit
The bit number.
value
The bit value.
Example
"?DIO{0/1}:LATCH"
VALUE
Set the value of a port.
Message
"DIO{port}:VALUE=value"
Response
"DIO{port}:VALUE"
port
The port number.
value
The value of the port.
Example
"DIO{0}:VALUE=128"
Note
Performing an output operation on a programmable port that has not been configured
for output will generate an error.
Page view 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 124 125

Comments to this Manuals

No comments