Nvision communication format, Chassis communication, Module communication – Crystal nVision Lab Reference User Manual

Page 4: Query and command responses

Advertising
background image

nVision Communication Format

2

nVision Programming Instructions

nVision Communication Format

2

nVISIon communIcatIon Format

The nVision is a sophisticated instrument that may allow the use of any number of modules in either bay. Therefore all communication must include all the
relevant information to either communicate with the chassis or all the way down to the specific module.

All queries end with a question mark (

?

) and all commands end with an exclamation mark (

!

). Input is case-sensitive; all instructions should be sent in UPPER-

CASE. Instructions must be terminated with a single carriage return (CR) character followed by an optional linefeed (LF) character. Note that while the nVision
expects either CR or CR/LF as command termination on its input, it always appends a CR/LF pair to its output. For reference, CR is ASCII value 13 decimal, while
LF is ASCII character 10 decimal.

chassis communication:

The chassis allows you to query (

?

) or command (

!

) such items as: AutoOff feature, firmware version, the stored chassis message, model, the available

modules, and the serial number.

The chassis communication format takes the following form:

Query: [

Query?

]

Command: [

Command!

] [command parameter if applicable]

module communication:

The module reports items such as the firmware versions, full scale ranges, module message stores, models, readings, serial numbers, units, and water
references (pressure module).

Query:

MOD:

[

Query?

] [

module number

]

Command:

MOD:

[

Command!

] [

module number

] [

command parameter

(if applicable)]

Where the lower module number is 1, the upper module number is 2, and the BARO module is 3. A space is required in front of the module number.

Query and command responses:

The nVision always returns some indication to let you know a query or command was received and acted on. See the Acknowledgement of a Command
section for details.

Advertising
This manual is related to the following products: