Sends TdvCmdProtocol commands to external systems. The parameters are
equal to IMCmd and RS232Cmd, but the response is sent to origin requester,
either the RS232 port or to an tcp/ip address. Syntax :
ResponseCmd;<command>
Example 1: ResponseCmd with parameter substibution
ResponseCmd
Setup;Lowtolerance=%.1fLowtolerance sends
the value of parameter back to requester ResponseCmd
%sRobot.Text sends the
value of Robot.Text back to requester
Note: This command is used as a a general method for sending
response to any RS232 or tcp/ip requester. Important: Execute on
this command will fail - the command is sent as a response to a command.
Speed considerations sending large command-strings
To avoid parsing for parameter substitution, the
command may be prefixed with 'NoParse:'.
This will send
the data 'as is' and will reduce the overhead of parsing for formatting
strings. For large commands the parsing overhead may be
an important issue. Example 2: Faster with NoParse option
without the possibility to do parameter substibution
NoParse:ResponseCmd
Alias=12;Mode=1
|