Channels, Edge, Ldmax – Measurement Computing DAQFlex User Guide User Manual
Page 86
![background image](https://www.manualsdir.com/files/797444/content/doc086.png)
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.
Message
"@CTR:CHANNELS"
Respons
e
"CTR:CHANNELS=<implementation>value"
implementation
FIXED%, or not specified if value is NOT_SUPPORTED
Value
The number of counter channels on a device, or returns
NOT_SUPPORTED if the device has no counters.
Example
"CTR:CHANNELS=FIXED%3"
EDGE
Get a value indicating whether a counter's edge detection is programmable.
Message
"@CTR{ch}:EDGE"
Response
"CTR{ch}:EDGE=<implementation><value>"
ch
The counter number.
implementation
FIXED%, PROG% (programmable), HWSEL% (hardware
selectable) , or not specified if value is NOT_SUPPORTED.
value
RISING, FALLING, or returns NOT_SUPPORTED if the device has
no counters.
Example
"CTR{0}:EDGE=PROG%RISING,FALLING"
LDMAX
Get the maximum count value that can be set using the "CTR{ch}:VALUE=" message.
Message
"@CTR{ch}:LDMAX"
Response
"CTR{ch}:LDMAX=<implementation>value"
ch
The number of the counter channel.
implementation FIXED%, or not specified if value is NOT_SUPPORTED
value
The maximum count that can be used for the VALUE property, or
NOT_SUPPORTED.
Example
"CTR{0}:LDMAX=FIXED%65535"