ADLINK ND-6067 User Manual

Page 201

Advertising
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<CR>

#

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<CR>
or
?(Addr)<CR>

>

Command is valid

?

Command is invalid.

(Addr)

Address ID.

@Example

User command:

#300<CR>

Response:

>0000065535<CR>

30

Address ID

0

Read counter 0 value

0000065535

Return value 65535

User command:

#2F1<CR>

Response:

>0000001234<CR>

2F

Address ID

1

Read Counter 1 Value

0000001234

Return value 1234

(6080)

Advertising
This manual is related to the following products: