Pulsecount, Start, Stop – Measurement Computing DAQFlex User Guide User Manual

Page 71

Advertising
background image

DAQFlex Software User's Guide

DAQFlex Message Reference – Programming messages – TMR

71

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

"?TMR{ch}:PULSE"

Response "TMR{ch}:PULSE=value"

ch

The channel number.

value

The pulse frequency in Hz.

Example

"?TMR{0}:PULSE"

PULSECOUNT

Set the number of pulses to generate.
Message

"TMR{ch}:PULSECOUNT=value"

Response "TMR{ch}:PULSECOUNT"

ch

The channel number.

value

The number of pulses to generate.

A value of 0 generates pulses continuously until the "TMR{ch}:STOP"

message is sent.

Example

"TMR{0}:PULSE=100"

Get the number of pulses to generate.
Message

"?TMR{ch}:PULSECOUNT"

Response "TMR{ch}:PULSECOUNT=value"

ch

The channel number.

value

The number of pulses to generate.

A value of 0 indicates continuous pulse generation.

Example

"?TMR{0}:PULSECOUNT"

START

Start the timer output.
Message

"TMR{ch}:START"

Response "TMR{ch}:START"

ch

The channel number.

Example

"TMR{0}:START"

STOP

Stop the timer output.
Message

"TMR{ch}:STOP"

Response "TMR{ch}:STOP"

ch

The channel number.

Example

"TMR{0}:STOP"

Advertising