{"id":3339,"date":"2019-02-12T16:09:03","date_gmt":"2019-02-12T16:09:03","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/8-smart-instrument-interfaces\/msgprotocoltest\/"},"modified":"2025-10-14T14:11:37","modified_gmt":"2025-10-14T19:11:37","slug":"msgprotocoltest","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/16-smart-instrument-interfaces\/msgprotocoltest\/","title":{"rendered":"MsgProtocolTest"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Execute MsgProtocol in verbose\u00a0mode with output sent to standard output devices or to file.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>MsgProtocolTest<\/strong> &lt;filename&gt; &lt;device_name&gt; [priority] &lt;arg_option&gt; &lt;output_option&gt;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table style=\"width: 100%;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td style=\"width: 11.1465%;\">\n<p>filename<\/p>\n<\/td>\n<td style=\"width: 88.6412%;\">\n<p>Specify the .ini configuration filename.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 11.1465%;\">\n<p>device_name<\/p>\n<\/td>\n<td style=\"width: 88.6412%;\">\n<p>Specify a unique name for this instance of MsgProtocol.\u00a0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 11.1465%;\">\n<p>priority<\/p>\n<\/td>\n<td style=\"width: 88.6412%;\">\n<p>Optional. Specify the task priority. The default is 20.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 11.1465%;\">\n<p>arg_option<\/p>\n<\/td>\n<td style=\"width: 88.6412%;\">\n<p>Optional. Specify one of the following methods to direct the output result:<\/p>\n<ul>\n<li>v to produce verbose output<\/li>\n<li>o to direct the output to a file<\/li>\n<li>r to repeat the test<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 11.1465%;\">\n<p>output_option<\/p>\n<\/td>\n<td style=\"width: 88.6412%;\">\n<p>If v is the specified arg_option, specify a verbosity level.<\/p>\n<p>If o is the specified arg_option, specify a file to contain the output<\/p>\n<p>If r is the specified arg_option, specify the number of times to repeat the test. The maximum is 65534 times.<\/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>MsgProtocolTest<\/strong> \/specs\/gac.ini GAC\u00a0 15 -o \/tmp\/msg_proto_test<br \/>\nFor the GAC device in the above example, the MsgProtocolTest running at\u00a0priority level 15 sends test output to a file named msg_proto_test in\u00a0the \/tmp\/ folder.<\/p>\n<p><strong>MsgProtocolTest<\/strong> \/specs\/gac.ini GAC\u00a0 15 -r 200<br \/>\nThe above example repeats the test 200 times.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>The program must run as root. Output is directed based on options with verbose mode enabling detailed logging.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Execute MsgProtocol in verbose\u00a0mode with output sent to standard output devices or to file. Enter: MsgProtocolTest &lt;filename&gt; &lt;device_name&gt; [priority] &lt;arg_option&gt; &lt;output_option&gt; Where: filename Specify the .ini configuration filename. device_name Specify a unique name for this instance of MsgProtocol.\u00a0 priority Optional. Specify the task priority. The default is 20. arg_option Optional. Specify one of 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-3339","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3339","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=3339"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3339\/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=3339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}