writeCommand

writeCommand — sends a command to the Cascade DataHub (Java and C# only).

Syntax

For Java and C#:

Exception writeCommand(String command);

Parameters

command

A concatenation of escapedStrings whose original format was a Lisp command.

Returns

This has not yet been documented.

Description

This method is used to send formatted commands to the Cascade DataHub, and should only be used by those very familiar with the operation of the DataHub. The DataHub command set is described in both of the Casade DataHub manuals: for Cascade DataHub, for OPC DataHub and for Cascade DataHub for Linux and QNX. To send a command to the DataHub, it must be formatted such that strings and control characters are preserved through the message transfer and delivery process. You must concatenate together the necessary command string, using the escapedString method to provide the necessary protection of strings.

[Note]

The sendLispMessage method gives a similar functionality for C++.

See Also

escapedString