gas_distribution

Purpose:

Set the values of CyFlex array variables that contain information about emission gases and perform actions based on cylinder states.

Enter:

gas_distribution  <action_file_name> <interval> [data_file_name] &

Where:

action_file_name

Specify the path name of the file that defines the possible states and actions for each line.

interval

Specify the periodic interval in seconds for accessing the database and updating array variables.

data_file_name

Optional. Specify name of a CSV file to use instead of the database for debugging.

Example:

gas_distribution /specs/gas_bottle_actions 5 &

The preceding spawns the gas distribution program in the background. It files ‘gas_bottle_actions’ in the /specs directory and will loop to update the values of the array variables with the contents of the database every 5 seconds.

gas_distribution /specs/gas_bottle_actions 5 /gas_bottle.dat &

The preceding spawns the gas distribution program in the background. It files ‘gas_bottle_actions’ in the /specs directory and will loop to update the values of the array variables with the contents of the file ‘/gas_bottle.dat’ every 5 seconds.

Notes:

This program runs as a background service and is typically used for monitoring and updating gas distribution data.

See Also: