psi_bar

Purpose:

Communicate with a barometer device through a serial port, periodically querying it and storing the results in specified variables.

Enter:

psi_bar <device> <barometer_label> <model_label> &

Where:

device

Specify the root name of a *.cfg file in the /specs/ directory which contains the configuration for the device.

barometer_label

Specify the variable label where the barometer results will be stored.

model_label

Specify the label where the device model number will be stored.

Example:

psi_bar psi_baro_PRI barometer baro_SN &

The preceding example starts the psi_bar program and reads the device configuration information from the  /specs/psi_baro_PRI.cfg file for processing the commands sent to and received from the device. The data read from the device will be stored within the barometer variable.  The device model number will be stored within the baro_SN variable.

Notes:

 

See Also:

druck_bar, get_asc, GenEast_E4