Measurement-computing DAQFlex User Guide Manuale Utente Pagina 65

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 125
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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.
Vedere la pagina 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 124 125

Commenti su questo manuale

Nessun commento