Measurement-computing DAQFlex User Guide Manual de usuario Pagina 67

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 125
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 124 125

Comentarios a estos manuales

Sin comentarios