beautypg.com

ADLINK ND-6067 User Manual

Page 200

background image

198

6.7.3 Read Counter/Frequency Value in HEX Format

@Description

Read the Counter/Frequency module of counter 0 or 1 and return
the acquired data in hexadecimal format.

@Syntax

#(Addr)(CounterNo)

#

Command leading code. (1-character)

(Addr)

Address ID (2-character)

(CounterNo)

0: Counter 0.
1: Counter 1. (1-character)

@Response

>Data
or
?(Addr)

>

Command is valid

?

Command is invalid.

(Addr)

Address ID.

@Example

User command:

#300

Response:

>0000FFFF

30

Address ID

0

Read counter 0 value

0000FFFF

Return value 0x0000FFFF = 65,535

User command:

#2F1

Response:

>00001234

2F

Address ID

1

Read Counter 1 Value

00001234

Return value 0x00001234 = 4,660

(6080)