{"id":3343,"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\/msgudpin\/"},"modified":"2025-10-14T15:11:01","modified_gmt":"2025-10-14T20:11:01","slug":"msgudpin","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/16-smart-instrument-interfaces\/msgudpin\/","title":{"rendered":"MsgUdpIn"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Process incoming UDP datagrams for CyFlex, processing frames based on start and end delimiters and setting events for received messages.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>MsgUdpIn<\/strong> [pri=priority] &lt;d=device_name&gt; &lt;port=port&gt; [to=time_out] [v=verbose_file] [sof=sof_str] [eof=eof_str]\u00a0<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<table style=\"width: 80.98%;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td style=\"width: 9.86%;\">\n<p>pri<\/p>\n<\/td>\n<td style=\"width: 195.54%;\">\n<p>Optional. Specify the task priority. The default value is 15.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 9.86%;\">\n<p>d<\/p>\n<\/td>\n<td style=\"width: 195.54%;\">\n<p>Specify the remote device name.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 9.86%;\">\n<p>port<\/p>\n<\/td>\n<td style=\"width: 195.54%;\">\n<p>Specify the port on the local machine to serve.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 9.86%;\">\n<p>to<\/p>\n<\/td>\n<td style=\"width: 195.54%;\">\n<p>Optional. Specify a time out value in seconds. A time out causes an error log.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 9.86%;\">\n<p>v<\/p>\n<\/td>\n<td style=\"width: 195.54%;\">\n<p>Optional. Specify stdout or a report filename. The default is None.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 9.86%;\">\n<p>sof<\/p>\n<\/td>\n<td style=\"width: 195.54%;\">\n<p>Optional. Specify a start of frame string. The default is None.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 9.86%;\">\n<p>eof<\/p>\n<\/td>\n<td style=\"width: 195.54%;\">\n<p>Optional. Specify an end of frame string. The default is &#8220;rn&#8221;.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <br \/>\n<strong>MsgUdpIn<\/strong>\u00a0 pri=16\u00a0 d=CTC_MEXA\u00a0 port=7701 v=\/tmp\/udpIn_report eof=&#8221;rn&#8221;<\/p>\n<p>The execution in this example uses default sof, a priority of 16, a CTC_MEXA device, port number 7701, end of frame string specified by &#8220;rn&#8221;, and a report file named udpIn_report<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>1. There must be a corresponding test interface and TCP task (i.e. for the same device_name) for this to work. <br \/>\n2. The port must be unique to this device_name,\u00a0i.e., the same port cannot be used for more than one remote device.<\/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: Process incoming UDP datagrams for CyFlex, processing frames based on start and end delimiters and setting events for received messages. Enter: MsgUdpIn [pri=priority] &lt;d=device_name&gt; &lt;port=port&gt; [to=time_out] [v=verbose_file] [sof=sof_str] [eof=eof_str]\u00a0 Where: pri Optional. Specify the task priority. The default value is 15. d Specify the remote device name. port Specify the port on the local [&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-3343","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3343","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=3343"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3343\/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=3343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}