Delimiter characters, General commands, Frequency commands – Measurement Computing CB-7080 User Manual
Page 16: General counter commands, General commands -2, Frequency commands -2, General counter commands -2, Table 2-1, Table 2-2, Table 2-3

CB-7080 & CB-7080D Counter/Timer User's Guide
General syntax format
2-2
Delimiter characters
The characters %, #, ~, %, $, @ are used as the leading character in a command. These characters indicate the
type of command to execute.
Delimiter Character
Usage
%
Set the configuration of a module.
#
~
Reset the data.
$
Get/set (read/write) module information.
[ ]
Characters inside [ ] indicate an optional task, such as [chk]
(cr)
Indicates the end of the command.
!
Always the leading character in the response to a command.
General Commands
Table 2-1. General Command Set
Command
Response
Description
Reference
%AANNTTCCFF
!AA
Set the module configuration
Page 2-4
#AAN
>(data)
Read the counter or frequency
Page 2-1
~**
No Response
Host OK
Page 2-2
~AA0
!AASS
Read the module status
Page 2-3
~AA1
!AA
Reset the module status
Page 2-4
~AA2
!AATT
Read the Host Watchdog Timer
Page 2-5
~AA3ETT
!AA
Enable the Host Watchdog Timer
Page 2-6
~AAO(name)
!AA
Set the module name
Page 2-8
$AA2
!AATTCCFF
Read the module configuration
Page 2-17
$AAF
!AA(data)
Read the firmware number
Page 2-33
$AAI
!AAS
Read the value of INIT* pin
Page 2-34
$AAM
!AA(data)
Read the module name
Page 2-35
Frequency commands
Table 2-2. Frequency Command Set
Command
Response
Description
Reference
$AAB
!AAS
Read the input mode
Page 2-31
$AABS
!AA
Set the input mode
Page 2-32
$AA1H
!AA(data)
Read the high trigger level
Page 2-13
$AA1H(data)
!AA
Set the high trigger level
Page 2-14
$AA1L
!AA(data)
Read the low trigger level
Page 2-15
$AA1L(data)
!AA
Set the low trigger level
Page 2-16
General counter commands
Table 2-3. General Counter Command Set
Command
Response
Description
Reference
~AAAS
!AA
Set the counter alarm mode
Page 2-7
$AA0H
!AA(data)
Read the minimum width of High
Page 2-9
$AA0H(data)
!AA
Set the minimum width of High
Page 2-10
$AA0L
!AA(data)
Read the minimum width of High
Page 2-11
$AA0L(data)
!AA
Set the minimum width of High
Page 2-16
$AA1H
!AA(data)
Read the high trigger level
Page 2-13
$AA1H(data)
!AA
Set the high trigger level
Page 2-14