beautypg.com

Examples of external control strings – Extron Electronics VN-COMMANDER User Manual

Page 136

background image

Appendix B: Serial Commands

VN-COMMANDER User Guide

126

I456GB issue 8

Examples of External Control Strings

Example 1

AUXB12^M

This will transmit AUXB12 out of the serial port, and will
terminate with a ^M (carriage return).

Example 2

^@C0^@00^@02^@00^@15^,^,^,2!^C

This will transmit the hex characters C0 00 02 00 15, pause
for 300 milliseconds, and then send the ASCII characters
2! followed by a control-C (break).

NOTES:

• Most devices expect some kind of ‘termination

character’ at the end of a control string. Control-C ^C
(break) or control-M ^M (carriage return) are used
most frequently; however, this is totally dependant on
the hardware you are controlling. There is no
‘standard’ for termination characters.

• Any spaces entered within the data string will be

transmitted just like any other character. You should,
therefore, avoid entering or leaving spaces in a data
string, unless they are specifically required by the
receiving device.