Communicate with the MC system.


asam3cli <name> <priority> [streamtype] [startstream] [-m#f=#] &



Required. Specify the registered name.


Required. Specify the task priority.


Optional. Specify either UDP or TCP. The default is UDP.


Optional. Specify ON or OFF. The default is ON.


Optional. Specify the first # to indicate which section of the asam3_specs file to monitor.
Specify the second # to indicate maximum number of consecutive reads that must occur outside the interval defined in asam3_specs.
After#2 bad-reads Reals and ints within the first #, the block will be set to -99999.99 and -999999 respectively. Until a read from the ECM is within the time defined interval in the asam3_specs file,  good-reads reset the count to 0 and set the date to ECM values on the next read.


asam3cli asam3_1 12 &
The above command starts the task at priority 12.

asam3cli asam3_1 12 UDP OFF
The above command starts the task at priority 12 using UDP streaming but would not start streaming until sending a separate command.

asam3cli asam3_1 21 -m1f=55 -m4f=21
The above command starts the task at priority 21 and tells asam3cli that if data collection for all of block 1 variables fails to occur in the asam3_specs defined interval 55 times in a row, change all of the real and int values to -99999.99 and 99999 until a read occurs within the defined interval. For block 4 of asam3specs, if 21 reads of all of the variables in block 4 fail to occur in the time specified by asam3_specs, then mark the data with -99999.99 and -99999.

NOTE Section 2 and 3 are NOT listed in this example and will never have all of their data changed by this instance of asam3cli.


asam3cli handles up to 256 variables.

See Also:

ASAM3 MC Interface Setup