beautypg.com

Period, Pulse – Measurement Computing DAQFlex User Guide User Manual

Page 70

background image

DAQFlex Software User's Guide

DAQFlex Message Reference – Programming messages – TMR

70

Example

"TMR{0}:IDLESTATE=HIGH"

Note

When value is High the timer output is inverted.

Get the state of the timer channel.
Message

"?TMR{ch}:IDLESTATE"

Response "TMR{ch}:IDLESTATE=value"

ch

The channel number.

value

LOW, HIGH

Example

"?TMR{0}:IDLESTATE"

PERIOD

Set the period in milliseconds (mS) of the specified timer output.
Message

"TMR{ch}:PERIOD=value"

Response "TMR{ch}:PERIOD"

ch

The channel number.

value

The period in mS.

Example

"TMR{0}:PERIOD=100"

Note

The PERIOD is required for timer output operations.

Get the period in milliseconds (mS) of the specified timer output.
Message

"?TMR{ch}:PERIOD"

Response "TMR{ch}:PERIOD=value"

ch

The channel number.

value

The period in mS.

Example

"?TMR{0}:PERIOD"

PULSE

Set the value in Hz of the pulse frequency for a specified channel.
Message

"TMR{ch}:PULSE=value"

Response "TMR{ch}:PULSE"

ch

The channel number.

value

The pulse frequency in Hz.

Example

"TMR{0}:PULSE=1000"