Quantum Quantum Composers Medical Alarms User Manual


 
22
PP CR is a carriage return character (ASCII value 13).
With echo enabled, all characters sent will be echoed back to the sender.
Unidentified commands and most out of range conditions result in the pulse generator ignoring
the command. If the command is properly identified, the pulse generator returns an ok fol-
lowed by a carriage return and a line feed (ASCII 13, ASCII 10), otherwise it returns a ?1 (a
question mark, followed by the number "one", a carriage return and a line feed). A ?2 is sent
if a valid command is received but the parameter is out of range.
Example - send the following command to set the number of cycles:
$CYCLES 100
The pulse generator will return the following:
Echo Enabled: CYCLES 100<cr><lf>
ok<cr><lf>
Echo Disabled: ok<cr><lf>
Only one command will be processed per message. Commands are not processed until the
carriage return is sent. If an error is made and identified prior to sending the carriage return,
sending a new $ will reset the input buffer and allow a corrected command to be sent.
To determine the current value of a parameter the syntax is:
$<name> ?CR
where name = a valid command name.
This will return an integer followed by a space, carriage return, and a line feed character
(ASCII 10).
Example - the following command would retrieve the current Cycles setting:
$CYCLES ?
The pulse generator will return the following:
Echo Enabled: CYCLES ?<cr><lf>
100<cr><lf>
Echo Disabled: 100<cr><lf>