Delay, Dutycycle, Idlestate – Measurement Computing DAQFlex User Guide User Manual

Page 69

Advertising
background image

DAQFlex Software User's Guide

DAQFlex Message Reference – Programming messages – TMR

69

DELAY

Set the amount of time in mS to delay before starting the output.
Message

"TMR{ch}:DELAY=value"

Response "TMR{ch}:DELAY"

ch

The channel number.

value

The time in milliseconds (mS).

Example

"TMR{0}:DELAY=100"

Get the amount of time in mS to delay before starting the output.
Message

"?TMR{ch}:DELAY"

Response "TMR{ch}:DELAY=value"

ch

The channel number.

value

The time in milliseconds (mS).

Example

"?TMR{0}:DELAY"

DUTYCYCLE

Set the value in percent of the duty cycle for a specified channel.
Message

"TMR{ch}:DUTYCYCLE=value"

Response "TMR{ch}:DUTYCYCLE"

ch

The channel number.

value

The duty cycle in percent (%).
When not specified value is set to 50%.

Example

"TMR{0}:DUTYCYCLE=100"

Get the value of the duty cycle in percent for a specified channel.
Message

"?TMR{ch}:DUTYCYCLE"

Response "TMR{ch}:DUTYCYCLE=value"

ch

The channel number.

value

The duty cycle in percent (%).

Example

"?TMR{0}:DUTYCYCLE"

IDLESTATE

Set the state of the timer channel.
Message

"TMR{ch}:IDLESTATE=value"

Response "TMR{ch}:IDLESTATE"

ch

The channel number.

value

LOW, HIGH

Advertising