druck_bar

Purpose:

Monitor a Druck RPT301 transducer.

Enter:

druck_bar <device_name> <real_variable_label>

Where:

device_name

Specify the base filename of a configuration file in the /specs directory with the ‘.cfg’ extension. This file is an ASC configuration file defining the serial communications interface and the expected commands and responses for the device. NOTE: do not include the ‘.cfg’ extender in the device name.

real_variable_label

Specify the variable where the results will be stored.

Example:

druck_bar druck barometer &
The above command launches the druck_bar task, configures the RPT301 to transmit measurements every second and places the results into the ‘barometer’ variable.

Notes:

This process performs units conversion based on the units description string included in the transmission from the RPT301.

The expected message string from the RPT301 will look like this:

“998.12 mbar”

See Also:

See cyflex/specs.def/druck.cfg for a RPT301 device configuration file.