Command String

image\CommandStringDialog.gif

Command String blocks allow RS-232 control of external devices via NEXIA's Serial port. Control input nodes along the top of the block produce corresponding serial commands, when triggered by control output nodes on other components within the design. Commands can also be initiated using the command button which appears within the control dialog box. Command ID allows the command/button to be named. Command String allows the appropriate character string to be entered. Update sends the character string to be stored in NEXIA device memory.

 

 

image\CommandString_block.gif

Unlike most other blocks, multiple control output nodes may be connected to a single control input node on a Command String block. Control Dialog Boxes for Command String components can be minimized to create user control surfaces (see Customizing Component Objects).

 

NOTE: Some command strings may need to output nonprintable characters.  The strings themselves must be printable, so this is done by including three-character sequences in the command string. The first will be a tilde, the second and third hex digits.  To include a carriage return and line feed pair, for example, in the string, include the text ~0d~0a (either case may be used).  A tilde may only be included by using the sequence ~7E (or ~7e) for the tilde character itself.