gas_distribution
Purpose:
-
Set the values of CyFlex array variables that contain information about emission gases.
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, actions for each line, and the actions.
interval
Specify the periodic interval in seconds that the program accesses the database and updates the array variables with the contents of the database.
data_file_name
Optional. Specify the name of the data file to read instead of the database. The file is a csv file that has values for all the database fields for each line. This is typically only used 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: