Measurement-computing DAQFlex User Guide Manuel d'utilisateur Page 65

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 125
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 124 125

Commentaires sur ces manuels

Pas de commentaire