
DAQFlex Software User's Guide DAQFlex Message Reference – Reflection messages – CTR
86
CTR
Gets the counter channel properties of a device.
Properties
CHANNELS, EDGE, LDMAX, LDMIN, MAXCOUNT, TYPE
CHANNELS
Get the number of counter channels on a device.
"CTR:CHANNELS=<implementation>value"
FIXED%, or not specified if value is NOT_SUPPORTED
The number of counter channels on a device, or returns
NOT_SUPPORTED if the device has no counters.
EDGE
Get a value indicating whether a counter's edge detection is programmable.
"CTR{ch}:EDGE=<implementation><value>"
FIXED%, PROG% (programmable), HWSEL% (hardware
selectable) , or not specified if value is NOT_SUPPORTED.
RISING, FALLING, or returns NOT_SUPPORTED if the device has
no counters.
"CTR{0}:EDGE=PROG%RISING,FALLING"
LDMAX
Get the maximum count value that can be set using the "CTR{ch}:VALUE=" message.
"CTR{ch}:LDMAX=<implementation>value"
The number of the counter channel.
FIXED%, or not specified if value is NOT_SUPPORTED
The maximum count that can be used for the VALUE property, or
NOT_SUPPORTED.
"CTR{0}:LDMAX=FIXED%65535"
Komentarze do niniejszej Instrukcji