{"id":3580,"date":"2019-02-12T16:09:26","date_gmt":"2019-02-12T16:09:26","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/8-smart-instrument-interfaces\/druck_bar\/"},"modified":"2025-08-26T11:20:57","modified_gmt":"2025-08-26T16:20:57","slug":"druck_bar","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/16-smart-instrument-interfaces\/druck_bar\/","title":{"rendered":"druck_bar"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Monitor a Druck RPT301 transducer by initializing tasks, handling events, and updating a shared variable with measurements.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>druck_bar<\/strong> &lt;device_name&gt; &lt;real_variable_label&gt;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table style=\"width: 100%; height: 136px;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr style=\"height: 80px;\">\n<td style=\"height: 80px;\">\n<p>device_name<\/p>\n<\/td>\n<td style=\"height: 80px;\">\n<p>Specify the base filename of a configuration file in the \/specs directory with the &#8216;.cfg&#8217; extension, defining serial communications and device responses. NOTE: do not include the &#8216;.cfg&#8217; extender in the device name.<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"height: 56px;\">\n<p>real_variable_label<\/p>\n<\/td>\n<td style=\"height: 56px;\">\n<p>Specify the variable where the measurement results 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>druck_bar<\/strong> druck barometer &amp;<br \/>\nThe above command launches the druck_bar task, configures the RPT301 to transmit measurements every second and places the results into the &#8216;barometer&#8217; variable.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>This process performs units conversion based on the units description string included in the transmission from the RPT301.<\/p>\n<p>The expected message string from the RPT301 will look like this:<\/p>\n<p>&#8220;998.12 mbar&#8221;<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p>See cyflex\/specs.def\/druck.cfg for a RPT301 device configuration file.<\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Monitor a Druck RPT301 transducer by initializing tasks, handling events, and updating a shared variable with measurements. Enter: druck_bar &lt;device_name&gt; &lt;real_variable_label&gt; Where: device_name Specify the base filename of a configuration file in the \/specs directory with the &#8216;.cfg&#8217; extension, defining serial communications and device responses. NOTE: do not include the &#8216;.cfg&#8217; extender in the [&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-3580","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3580","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=3580"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3580\/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=3580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}