emcon_comm
Purpose:
- Communicate with an AVL EMCON6 system to manage dyno control, handling data exchange via sockets, parsing configuration files, and processing input and output variables.
Enter:
-
emcon_comm <priority> [s=specfile] [i=ip_address] [p=port] [t] [u] [+c]
Where:
priority |
Specify the task priority. |
specfile |
Optional. Specify a specification filename. The default is /specs/emcon_specs. |
ip_address |
Optional. Specify the IP address of the EMCON system to communicate through. The default is 10.1.1.2. |
port |
Optional. Specify the port for communication. The default is 4753. |
t |
Optional. Specify this flag to use TCP protocol. The default is UDP if neither t or u is specified. |
u |
Optional. Specify this flag to use UDP protocol. The default is UDP if neither t or u is specified. |
+c | Optional. Specify this flag to indicate this is a critical task to be monitored by the master scheduler. |
Example:
- emcon_comm 20 &
The above uses the default specfile /specs/emcon_specs, default IP 10.1.1.2, default port 4753, using the UDP protocol, and has priority 20.
emcon_comm 20 s=/specs/ERIC_specs i=10.1.1.100 p=5478 tcp &
The above uses the specfile /specs/ERIC_specs, IP 10.1.1.100, port 5478, using the TCP protocol.
emcon_comm 20 +c &
This above uses the default specfile /specs/emcon_specs, default IP 10.1.1.2, default port 4753, using the UDP protocol. This task will also be monitored by the scheduler, and if this task dies, the watch_dog will die.
Notes:
- The ‘+c’ argument must be the final argument if it is used.