mettler
Purpose:
-
Interface with a Mettler electronic scale to collect and process weight data in a CyFlex system.
Enter:
-
mettler <device_name> <weight_label>
Where:
-
device_name
Specify the base filename of a configuration file in the /specs directory with the ‘.cfg’ extension. This file is a 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
weight_label
Specify the variable where the weight value will be stored.
Example:
-
mettler mettler urea_weight &
The above command launches the mettler task and places the weight value into ‘urea_weight’ whenever it is broadcast by the scale.The broadcast value from the scale is assumed to be in units of LBM.
Notes:
-
The program operates as a background service and requires at least two arguments for proper functionality.
See Also:
-
Device Communication User Guide
See cyflex/specs.def/pf.cfg for a device configuration file.