CueServer allows external CueScript commands to be sent to it via RS-232 and/or RS-485 serial strings.
A serial port on CueServer is configured by going into the Stations section and then editing the Built-In Station (Station 0). The serial ports available to CueServer will appear in the list of Ports.
Other external station types that include serial ports would also be configured by choosing them in the Stations list and then clicking on one of the Ports that appears.
From the Port Configuration panel that appears there are two protocols that can be chosen that allow CueScript commands to be sent to the CueServer via a serial port:
- CueScript in [Brackets]: When this protocol is chosen, a CueScript string can be sent to this serial port as long as it is enclosed by “square brackets”. For example,
[Cue 1 Go]. Any characters received outside of the brackets will be ignored. After the opening bracket, the command is received and buffered until a closing bracket is received. As soon as the closing bracket is received, the command string is executed. If a command is being received and then another open-bracket is received, then any accumulated characters in the receive buffer are cleared and a new string will begin to be received.
- CueScript with CR/LF: When this protocol is chosen, a CueScript string can be sent to this serial port with a terminating carriage-return (0×0D) and/or line-feed (0×0A). For example,
Cue 1 Go, followed by either a 0×0D or 0×0A (or both) characters. All characters received on the serial port will be accumulated until a carriage-return or line feed is received. As soon as one of those terminating characters are received, the command string is executed.
The Baud Rate and Data Format selected for the serial port must match that of the transmitting device for the CueScript commands to be received properly.
If the “Echo Received Characters” box is checked, then every character received by the port will be re-transmitted (“echoed”) back to the sender.
If the “Reply with CueScript result” box is checked, then the result of the CueScript string will be transmitted back to the sender.