Measurement-computing DAQFlex User Guide Manual de usuario Pagina 68

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 125
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 67
DAQFlex Software User's Guide DAQFlex Message Reference Programming messages TMR
68
Get the value of a port.
Message
"?DIO{port}:VALUE"
Response
"DIO{port}:VALUE=value"
port
The port number.
value
The value of the port.
Example
"?DIO{0}:VALUE"
Set the value of a bit.
Message
"DIO{port/bit}:VALUE=value"
Response
"DIO{port/bit}:VALUE"
port
The port number.
bit
The bit number.
value
The value of the bit.
Example
"DIO{0/1}:VALUE=1"
Note
Performing an output operation on a programmable port that has not been configured
for output will generate an error.
Get the value of a bit.
Message
"?DIO{port/bit}:VALUE"
Response
"DIO{port/bit}:VALUE=value"
port
The port number.
bit
The bit number.
value
The value of the bit.
Example
"?DIO{0/1}:VALUE"
TMR
Sets and gets property values for a timer output channel.
Refer to the device-specific information in the Hardware Reference section for the component properties
and commands supported by each DAQ device.
Properties
DELAY, DUTYCYCLE, IDLESTATE, PERIOD, PULSE, PULSECOUNT, START, STOP
(Component only)
Get the number of timer output channels on the device.
Message
"?TMR"
Response
"TMR=value"
value
The number of timer output channels.
Vista de pagina 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 124 125

Comentarios a estos manuales

Sin comentarios