Measurement-computing DAQFlex User Guide Manual do Utilizador Página 65

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 125
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 64
DAQFlex Software User's Guide DAQFlex Message Reference Programming messages DIO
65
TEMP
Get the device internal temperature in °C.
Message
"?DEV:TEMP{tempnum}"
Response
"DEV:TEMP{tempnum}=value"
tempnum
The number of the temperature sensor on the device.
value
The internal temperature in °C.
Example
"DEV:TEMP{0}=21"
VEXT
Get a value indicating whether external power is supplied to the device.
Message
"?DEV:VEXT"
Response
"DEV: VEXT =value"
value
True, False
DIO
Sets and gets property values for digital I/O channels.
Refer to the device-specific information in the Hardware Reference section for the component properties
and commands supported by each DAQ device.
Properties
DIR, LATCH, VALUE
(Component only)
Get the number of digital ports on a device.
Message
"?DIO"
Response
"DIO=value"
value
The number of digital ports.
Get the number of bits on a port.
Message
"?DIO{port}"
Response
"DIO{port}=value"
value
The number of bits on the port.
Example
"?DIO{0}"
DIR
Set the direction of a port.
Message
"DIO{port}:DIR=value"
Response
"DIO{port}:DIR"
port
The port number.
Vista de página 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 124 125

Comentários a estes Manuais

Sem comentários