Measurement-computing DAQFlex User Guide Instrukcja Użytkownika Strona 65

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 125
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 64
1 2 ... 60 61 62 63 64 65 66 67 68 69 70 ... 124 125

Komentarze do niniejszej Instrukcji

Brak uwag