{"id":3767,"date":"2019-02-12T16:09:52","date_gmt":"2019-02-12T16:09:52","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/8-smart-instrument-interfaces\/mettler\/"},"modified":"2025-08-26T10:29:28","modified_gmt":"2025-08-26T15:29:28","slug":"mettler","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/16-smart-instrument-interfaces\/mettler\/","title":{"rendered":"mettler"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Interface with a Mettler electronic scale to collect and process weight data in a CyFlex system.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>mettler<\/strong> &lt;device_name&gt; &lt;weight_label&gt;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td>\n<p>device_name<\/p>\n<\/td>\n<td>\n<p>Specify the base filename of a configuration file in the \/specs directory with the &#8216;.cfg&#8217; extension. This file is a configuration file defining the serial communications interface and the expected commands and responses for the device.<\/p>\n<p>NOTE: do not include the &#8216;.cfg&#8217; extender in the device name<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>weight_label<\/p>\n<\/td>\n<td>\n<p>Specify the variable where the weight value will be stored.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>mettler<\/strong> mettler urea_weight &amp;<br \/>\nThe above command launches the mettler task and places the weight value into &#8216;urea_weight&#8217; whenever it is broadcast by the scale.<\/p>\n<p>The broadcast value from the scale is assumed to be in units of LBM.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>The program operates as a background service and requires at least two arguments for proper functionality.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"\/wp-content\/uploads\/Device-Communication-User-Guide.pdf\">Device Communication User Guide<\/a><\/p>\n<p>See cyflex\/specs.def\/pf.cfg for a device configuration file.<\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Interface with a Mettler electronic scale to collect and process weight data in a CyFlex system. Enter: mettler &lt;device_name&gt; &lt;weight_label&gt; Where: device_name Specify the base filename of a configuration file in the \/specs directory with the &#8216;.cfg&#8217; extension. This file is a configuration file defining the serial communications interface and the expected commands and [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1955,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3767","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3767","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=3767"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3767\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1955"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}