Maxcount, Basefreq, Channels – Measurement Computing DAQFlex User Guide User Manual
Page 89

DAQFlex Software User's Guide
DAQFlex Message Reference – Reflection messages – TMR
89
MAXCOUNT
Get the maximum count of the specified port.
Message
"@DIO{ch}:MAXCOUNT"
Response
"DIO{ch}:MAXCOUNT=<implementation>value"
ch
The digital port number.
implementation
FIXED%, or not specified if value is NOT_SUPPORTED.
value
The maximum count of the digital port, or returns NOT_SUPPORTED
if the device has no digital channels.
Example
"DIO{0}:MAXCOUNT=FIXED%65535"
TMR
Gets the timer output properties of a device.
Refer to the device-specific information in the Hardware Reference section for the component properties
and commands supported by each DAQ device.
Properties
BASEFREQ, CHANNELS, CLKSRC, DELAY, DUTYCYCLE, MAXCOUNT, TYPE
BASEFREQ
Get the specified timer's internal base frequency in Hertz.
Message
"@TMR{ch}:BASEFREQ"
Response
"TMR{ch}:BASEFREQ=<implementation>value"
ch
The number of the timer channel.
implementation FIXED%, or not specified if value is NOT_SUPPORTED.
value
The internal clock's base frequency, or returns NOT_SUPPORTED if
the device has no timer channels.
Example
"TMR{0}:BASEFREQ=FIXED%64000000
CHANNELS
Get the number of timer output channels on a device.
Message
"@TMR:CHANNELS"
Response
"TMR:CHANNELS=<implementation>value"
implementation FIXED%, or not specified if value is NOT_SUPPORTED.
value
The number of timer output channels, or returns NOT_SUPPORTED if
the device has no timer outputs.
Example
"TMR:CHANNELS=FIXED%2"