26.05.2014 Views

Introducing Message-Based DAQ

Introducing Message-Based DAQ

Introducing Message-Based DAQ

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CTR<br />

Sets and gets property values for counter channels.<br />

Properties<br />

VALUE, START, STOP<br />

The tables below list the messages used to get and set device parameters, the device response to each message, a description of the<br />

message, and the variable(s) the message may contain.<br />

Note: Refer to the device-specific information in the Hardware Reference section for the component properties and commands<br />

supported by each <strong>DAQ</strong> device.<br />

<strong>Message</strong> Device response Description<br />

"?CTR" "CTR=value" Returns the number of counter channels on the<br />

device.<br />

value = number of counter channels<br />

VALUE<br />

<strong>Message</strong> Device response Description<br />

"CTR{ch}:VALUE=value" "CTR{ch}:VALUE" Loads the specified counter with the specified<br />

value.<br />

ch = counter number<br />

value = counter value<br />

Example: "CTR{0}:VALUE=0"<br />

"?CTR{ch}:VALUE" "CTR{ch}:VALUE=value" Returns the value of the specified counter.<br />

ch = counter number<br />

value = counter value<br />

Example: "?CTR{0}:VALUE"<br />

START<br />

<strong>Message</strong> Device response Description<br />

"CTR{ch}:START" "CTR{ch}:START" Starts the specified counter channel.<br />

ch = counter number<br />

Example: "CTR{0}:START"<br />

STOP<br />

<strong>Message</strong> Device response Description<br />

"CTR{ch}:STOP" "CTR{ch}:STOP" Stops the specified counter channel.<br />

ch = counter number<br />

Example: "CTR{0}:STOP"<br />

Page 29 of 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!