Measurement Computing CB-7080 User Manual

Page 19

Advertising
background image

CB-7080 & CB-7080D Counter/Timer User's Guide

#AAN

2-1

#AAN

Description:

Read the counter or frequency value.

Syntax

: #AAN[chk](cr)

#

A delimiter character

AA

2-character HEX module address, from 00 to FF

N=0

Channel-0 of counter or frequency

N=1

Channel-1 of counter or frequency

[chk]

2-character checksum. If checksum is disabled, no [chk]

(cr)

0x0D

Response

:

Valid response

[chk](data)(cr)

invalid response

No Response

no response

Syntax error, communication error or address error.

>

A delimiter character indicating a valid response

(data)

8-character data (in HEX format)

[chk]

2-character checksum. If checksum is disabled, no [chk]

(cr)=0x0D

Examples

:

Counter − 0=0x1E=30 (in decimal):

command:

$012(cr)

response:

!01500600(cr)

command:

#010(cr)

response:

>0000001E(cr)

Frequency − 1=0x1E Hz = 30 Hz (in decimal):

command:

$022(cr)

response:

!02510600(cr)

command:

#021(cr)

response:

>0000001E(cr)

Advertising
This manual is related to the following products: