Terminating characters, Error messages – Fluke Biomedical Cufflink User Manual

Page 79

Advertising
background image

Remote Operation

Remote Command Syntax

3

3-5

Exercise at the Controlling Device

The RESET command can be used to set values to default. The following exercise shows

how the Analyzer retains current parameter values until new values are assigned:
1. Enter the command makeann:bp=adams-150/100. This simulates a blood pressure of

150/100. The Analyzer uses default values for all other parameters.

2. Enter the command makearm. Blood pressure is still set at 150/100 from the previous

command.

3. Enter the command makearm:bp=adams-80/50. A new blood pressure of 80/50

replaces the blood pressure of 150/100.

4. Enter the command reset. The Analyzer is reset to default values. All succeeding

commands will have parameters set to the default until other values are specified.

Terminating Characters

When writing programs to control the Analyzer, place a terminating character after the

command line to mark the end of the command line. Terminate commands with any of

the following characters.

CR – Carriage Return

LF – Line Feed

CR LF – Carriage Return and Line Feed

LF CR – Line Feed and Carriage Return

If the Analyzer receives a terminating character that is not preceded by a remote

command, it sends a question mark (?) back to the controller. Use this feature to do a

communication check and verify that the Analyzer is properly connected to the

controller. After sending the terminating character to the Analyzer, wait five seconds for

the Analyzer to send a "?" back to the controller. If, after the third time, a question mark

does not appear on the controller's display, assume that the Analyzer is not correctly

connected to the controller, a cable wiring error exists, or the setup (baud rate, parity,

etc.) is wrong.
After selecting a terminating character, use the same one to terminate all commands. For

example, do not start writing a program using LF as the terminating character and then

switch to CR. If starting with LF, use it throughout the entire program.

Error Messages

The Analyzer evaluates all remote commands for validity. If a command generates an

error, an error message displays. Table 3-2 lists available error messages.

Advertising