psi_bar

Purpose:

Communicate with a barometer through a serial port.

Enter:

psi_bar <device> <output_variable> <serial_num_label> &

Where:

device

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

output_variable

Specify the variable label where the results will be placed.

serial_number_label

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

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 ASC commands sent to and received from the device. The data read from the device will be stored within the barometer variable.  The device serial number will be stored within the baro_SN variable.

Notes:

 

See Also:

druck_bar, get_asc, GenEast_E4