Measurement-computing DAQFlex User Guide Uživatelský manuál Strana 67

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 125
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 124 125

Komentáře k této Příručce

Žádné komentáře