MsgProtocolTest

Purpose:

Execute MsgProtocol in verbose mode with output sent to standard output devices or to file.

Enter:

MsgProtocolTest <filename> <device_name> [priority] <arg_option> <output_option>

Where:

filename

Specify the .ini configuration filename.

device_name

Specify a unique name for this instance of MsgProtocol. The name must be same name used for the comm layer task that MsgProtocal interfaces.

priority

Optional. Specify the task priority. The default is 20.

arg_option

Specify one of the following methods to direct the output result:

  • v to produce verbose output
  • o to direct the output to a file
  • r to repeat the test

output_option

If v is the specified arg_option, specify a verbosity level.

If o is the specified arg_option, specify a file to contain the output

If r is the specified arg_option, specify the number of times to repeat the test. The maximum is 65534 times.

Example:

MsgProtocolTest /specs/gac.ini GAC  15 -o /tmp/msg_proto_test
For the GAC device in the above example, the MsgProtocolTest running at priority level 15 sends test output to a file named msg_proto_test in the /tmp/ folder.

MsgProtocolTest /specs/gac.ini GAC  15 -r 200
The above example, repeats the test 200 times.

Notes:

 

See Also: