beautypg.com

Stop, Value, Flashled – Measurement Computing DAQFlex User Guide User Manual

Page 61

background image

DAQFlex Software User's Guide

DAQFlex Message Reference – Programming messages – DEV

61

STOP

Stop a specified counter channel.
Message

"CTR{ch}:STOP"

Response "CTR{ch}:STOP"

ch

The number of the counter channel.

Example

"CTR{0}:STOP"

VALUE

Load the specified counter channel with a value.
Message

"CTR{ch}:VALUE=value"

Response "CTR{ch}:VALUE"

ch

The number of the counter channel.

value

The value to load onto the counter channel (0 to 2

32

– 1).

Example

"CTR{0}:VALUE=0"

Note

Setting a value of 0 resets the counter to 0.

Get the value of the specified counter channel.
Message

"?CTR{ch}:VALUE"

Response "CTR{ch}:VALUE=value"

ch

The number of the counter channel.

value

The value of the counter channel.

Example

"?CTR{0}:VALUE"

DEV

Sets and gets device property values.

Refer to the device-specific information in the Hardware Reference section for the component properties

and commands supported by each DAQ device.

Properties

FLASHLED, FPGACFG, FPGAV, FWV, ID, MFGCAL, MFGSER, RESET, STATUS/ISO, TEMP, VEXT

FLASHLED

Flash the device LED.
Message

"DEV:FLASHLED/{n}"

Response "DEV:FLASHLED"

n

A number indicating how many times to flash the device LED.

Example

"DEV:FLASHLED/5"