beautypg.com

ADLINK ND-6067 User Manual

Page 201

background image

199

6.7.4 Read Counter/Frequency Value in DEC Format

@Description

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

@Syntax

#(Addr)(CounterNo)D

#

Command leading code. (1-character)

(Addr)

Address ID (2-character)

(CounterNo)

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

D

Decimal command code.

@Response

>Data
or
?(Addr)

>

Command is valid

?

Command is invalid.

(Addr)

Address ID.

@Example

User command:

#300

Response:

>0000065535

30

Address ID

0

Read counter 0 value

0000065535

Return value 65535

User command:

#2F1

Response:

>0000001234

2F

Address ID

1

Read Counter 1 Value

0000001234

Return value 1234

(6080)