{"id":9977,"date":"2020-07-30T19:49:07","date_gmt":"2020-07-30T19:49:07","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/?page_id=9977"},"modified":"2025-11-06T14:06:52","modified_gmt":"2025-11-06T19:06:52","slug":"eblox_sim","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/14-i-o-systems\/eblox_sim\/","title":{"rendered":"eblox_sim"},"content":{"rendered":"<h3>Purpose:<\/h3>\n<dl>\n<dd>Simulate a device by parsing specification files, setting up network connections, transferring files, and streaming data to mimic hardware behavior.<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd><strong>eblox_sim<\/strong> &lt;specfile&gt; &lt;num_device&gt; &lt;time&gt;<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table style=\"width: 80.86%; height: 120px;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/><\/colgroup>\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">\/specfile\u00a0<\/td>\n<td style=\"height: 24px;\">Specify the file containing variables for analog input, analog output, digital input, digital output, and internal variables.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">num_device<\/td>\n<td style=\"height: 24px;\">Specify the number of devices to simulate.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"height: 24px;\">time<\/td>\n<td style=\"height: 24px;\">Optional. Specify the time interval in milliseconds between data sends. If not specified, no sleep interval will occur.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>eblox_sim<\/strong> specs\/eblox_sim.spec 1<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>The number of devices argument is not fully implemented. Variable types in the spec file are defined as 0 for analog input, 1 for analog output, 2 for digital input, 3 for digital output, and 4 for internal variables.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Simulate a device by parsing specification files, setting up network connections, transferring files, and streaming data to mimic hardware behavior. Enter: eblox_sim &lt;specfile&gt; &lt;num_device&gt; &lt;time&gt; Where: \/specfile\u00a0 Specify the file containing variables for analog input, analog output, digital input, digital output, and internal variables. num_device Specify the number of devices to simulate. time Optional. [&hellip;]<\/p>\n","protected":false},"author":35,"featured_media":0,"parent":1964,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9977","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/9977","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\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=9977"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/9977\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1964"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=9977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}