Measurement-computing DAQFlex User Guide Manuale Utente Pagina 88

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 125
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 87
DAQFlex Software User's Guide DAQFlex Message Reference Reflection messages DIO
88
DIO
Gets the digital I/O properties of a device.
Properties
CHANNELS, CONFIG, LATCH, MAXCOUNT
CHANNELS
Get the number of digital channels (ports) on a device.
Message
"@DIO:CHANNELS"
Response
"DIO:CHANNELS=<implementation>value"
implementation
FIXED%, or not specified if value is NOT_SUPPORTED.
value
The number of digital channels (ports) on a device, or returns
NOT_SUPPORTED if the device has no digital channels.
Example
"DIO:CHANNELS=FIXED%3"
CONFIG
Get the options supported by a specified port in which no configuration is required.
Message
"@DIO{ch}:CONFIG"
Response
"DIO{ch}:CONFIG=<implementation>value"
ch
The digital port number.
implementation
PROG% (programmable), AUTO%, or not specified if value is
NOT_SUPPORTED.
value
BITIN, BITOUT, PORTIN, PORTOUT, or returns NOT_SUPPORTED if
the device has no digital channels.
Example
"DIO{0}: CONFIG= AUTO%BITIN,BITOUT,PORTIN,PORTOUT"
LATCH
Get a value indicating whether the latch associated with a specified port has read and/or write
access.
Message
"@DIO{ch}:LATCH"
Response
"DIO{ch}:LATCH=<implementation>value"
ch
The digital port number.
implementation
PROG% (programmable), or not specified if value is
NOT_SUPPORTED.
value
READ, WRITE, or returns NOT_SUPPORTED if the device has no
digital channels.
Example
"DIO{0}:LATCH=PROG%READ,WRITE"
Vedere la pagina 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 124 125

Commenti su questo manuale

Nessun commento