<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: TCP/IP Communication in DASYLab</title>
    <link>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291322#M2467</link>
    <description>&lt;P&gt;Looking at one of the zSeries manuals, this is the relevant section.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You probably need to configure it for a data request command, if it doesn't offer continuous mode.&lt;/P&gt;
&lt;P&gt;The appendix F in the book I'm looking at has the commands, for example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERDG Group ID: 00A - 00D, ALL Get sensor readings of a group / Get readings for all&lt;BR /&gt;*5 groups of sensors group B, ERDG00B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4.5 HTTPget Program&lt;BR /&gt;The HTTPget software is used to send a single HTTP or TCP request to a Coordinator.&lt;BR /&gt;In contrast, the telnet or Hyperterminal programs allow a continuous connection with&lt;BR /&gt;multiple requests to be sent to the Coordinator.&lt;BR /&gt;Generally HTTPget is used for simply programming an IP address to the Coordinator or&lt;BR /&gt;for quickly obtaining a reading from a device.&lt;BR /&gt;The Coordinator must be configured from the configuration web page so that the "TCP&lt;BR /&gt;Connections" indicates any number between 1 and 5. Make sure that the Port Field&lt;BR /&gt;number indicates 2000.&lt;BR /&gt;&lt;BR /&gt;Whenever Terminal Server service (using Port 2000 by default) is required, the # of&lt;BR /&gt;connections must be set to a value from 1 to 5. The Terminal Server mode is the&lt;BR /&gt;recommended mode for the most reliable connection when operating with NEWPORT&lt;BR /&gt;software or with other programs supporting TCP/IP communications. The Port 2000&lt;BR /&gt;access can be used with NEWPORT software and may be needed with some zSeries&lt;BR /&gt;wireless system products when you need to view readings from the web page while&lt;BR /&gt;simultaneously collecting data through TCP/IP communications.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jan 2013 17:37:41 GMT</pubDate>
    <dc:creator>CJ_Butler__DASYLab_Pro</dc:creator>
    <dc:date>2013-01-24T17:37:41Z</dc:date>
    <item>
      <title>TCP/IP Communication</title>
      <link>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291272#M2465</link>
      <description>&lt;P&gt;I am trying to use DASYLab v12 to communicate with a Newport z-series device. &amp;nbsp;I am using the IComm module and have configured the IP and port section to match those listed on my z-series. &amp;nbsp;When I check the connection using the IComm monitor no information appears in the lower portion of the screen. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have seen a previous post regarding the set up of Newport devices but there is some conflicting information. &amp;nbsp;The instructions from the previous post&amp;nbsp;suggest using &amp;nbsp;between 2-5&amp;nbsp;TCP Connections&amp;nbsp;and to set the server to continue. The conflict is &lt;SPAN&gt;Newport said to set the TCP Connections to 0 and my device does not provide me the ability to set the server type.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have tried setting the TCP Connections to everything from 0-5 with no success. &amp;nbsp;I know the z-series device is transmitting data because I can use the Newport logging software to record the data.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any thoughts or help would be much appreciated.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 17:11:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291272#M2465</guid>
      <dc:creator>Q-LabAZ</dc:creator>
      <dc:date>2013-01-24T17:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Communication</title>
      <link>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291292#M2466</link>
      <description>&lt;P&gt;It's likely that they have modified the firmware for your device from the ones that I tested with a few years ago.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You're going to have to talk to Newport directly to get assistance, since I only have access to older devices.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They can always call me directly and we can figure it out.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 17:18:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291292#M2466</guid>
      <dc:creator>CJ_Butler__DASYLab_Pro</dc:creator>
      <dc:date>2013-01-24T17:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Communication</title>
      <link>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291322#M2467</link>
      <description>&lt;P&gt;Looking at one of the zSeries manuals, this is the relevant section.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You probably need to configure it for a data request command, if it doesn't offer continuous mode.&lt;/P&gt;
&lt;P&gt;The appendix F in the book I'm looking at has the commands, for example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERDG Group ID: 00A - 00D, ALL Get sensor readings of a group / Get readings for all&lt;BR /&gt;*5 groups of sensors group B, ERDG00B&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4.5 HTTPget Program&lt;BR /&gt;The HTTPget software is used to send a single HTTP or TCP request to a Coordinator.&lt;BR /&gt;In contrast, the telnet or Hyperterminal programs allow a continuous connection with&lt;BR /&gt;multiple requests to be sent to the Coordinator.&lt;BR /&gt;Generally HTTPget is used for simply programming an IP address to the Coordinator or&lt;BR /&gt;for quickly obtaining a reading from a device.&lt;BR /&gt;The Coordinator must be configured from the configuration web page so that the "TCP&lt;BR /&gt;Connections" indicates any number between 1 and 5. Make sure that the Port Field&lt;BR /&gt;number indicates 2000.&lt;BR /&gt;&lt;BR /&gt;Whenever Terminal Server service (using Port 2000 by default) is required, the # of&lt;BR /&gt;connections must be set to a value from 1 to 5. The Terminal Server mode is the&lt;BR /&gt;recommended mode for the most reliable connection when operating with NEWPORT&lt;BR /&gt;software or with other programs supporting TCP/IP communications. The Port 2000&lt;BR /&gt;access can be used with NEWPORT software and may be needed with some zSeries&lt;BR /&gt;wireless system products when you need to view readings from the web page while&lt;BR /&gt;simultaneously collecting data through TCP/IP communications.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 17:37:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291322#M2467</guid>
      <dc:creator>CJ_Butler__DASYLab_Pro</dc:creator>
      <dc:date>2013-01-24T17:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Communication</title>
      <link>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291418#M2468</link>
      <description>&lt;P&gt;Thanks for following up; I&amp;nbsp;saw your response after having found the same information. Its good to know I was on the right track. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So now I have been able to get DASYLab to communicate with the sensor my next task is to parse the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting the following string:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1 74 20 24.3 C 24.3 C &amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;&lt;BR /&gt;&amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1 tells me the&amp;nbsp;transmitter/sensor number&lt;/P&gt;
&lt;P&gt;74 is the sequence number for the reading and is a 2-3 digit number&lt;/P&gt;
&lt;P&gt;20 tells me the type of sensor&lt;/P&gt;
&lt;P&gt;24.3 C is the temperature and measurement unit. &amp;nbsp;This appears twice because I have&amp;nbsp;2&amp;nbsp;thermocouples attached to one transmitter. The temperatures can be from 0.0 to 150.0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is how to break this into two channels; one for each thermocouple.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 19:07:04 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291418#M2468</guid>
      <dc:creator>Q-LabAZ</dc:creator>
      <dc:date>2013-01-24T19:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Communication</title>
      <link>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291468#M2469</link>
      <description>&lt;P&gt;1 74 20 24.3 C 24.3 C &amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;&lt;BR /&gt;&amp;lt;CR&amp;gt;&amp;lt;LF&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1 tells me the&amp;nbsp;transmitter/sensor number&lt;/P&gt;
&lt;P&gt;74 is the sequence number for the reading and is a 2-3 digit number&lt;/P&gt;
&lt;P&gt;20 tells me the type of sensor&lt;/P&gt;
&lt;P&gt;24.3 C is the temperature and measurement unit&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would do it as multiple channels, and then ignore the channels that you're not using&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Channel 0: a\x20&lt;/P&gt;
&lt;P&gt;Channel 1: a\x20&lt;/P&gt;
&lt;P&gt;Channel 2: a\x20&lt;/P&gt;
&lt;P&gt;Channel 3: a\x20&lt;/P&gt;
&lt;P&gt;Channel 4: $1\x20&lt;/P&gt;
&lt;P&gt;Channel 5: a\x20&lt;/P&gt;
&lt;P&gt;Channel 6: $2\x20\r\n&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the values are delimited by spaces, the line by the &amp;lt;CR&amp;gt; &amp;lt;LF&amp;gt;. You cannot ignore any character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Channels 0 and 1 will act as a "check" for you. You can ignore them, or look at channel 1 to verify that you're not skipping numbers in the sequence.&lt;/P&gt;
&lt;P&gt;Ignore Channel 2.&lt;/P&gt;
&lt;P&gt;Channel 3 is a data value&lt;/P&gt;
&lt;P&gt;Channel 4 is a text string, so I stored it in a Global String. You could just skip it. The output on Channel 4 will not have any data.&lt;/P&gt;
&lt;P&gt;Channel 5 is a data value&lt;/P&gt;
&lt;P&gt;Channel 6 is a text string, delimited by the end of line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this works, and if you like, post the finished worksheet so that I can add a section to my technical note.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 19:37:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291468#M2469</guid>
      <dc:creator>CJ_Butler__DASYLab_Pro</dc:creator>
      <dc:date>2013-01-24T19:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Communication</title>
      <link>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291652#M2470</link>
      <description>&lt;P&gt;That Work great, thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So now the problem is that when I try to get the module to repeat the process I just get 0.00 as the value for the channels.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following settings:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Data request enabled, 10s interval, repeat request/reconnect yes, header 0, output measurement values of all character checked.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 22:01:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291652#M2470</guid>
      <dc:creator>Q-LabAZ</dc:creator>
      <dc:date>2013-01-24T22:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Communication</title>
      <link>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291664#M2471</link>
      <description>&lt;P&gt;That suggests that not all characters are being processed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you post a screen shot of the monitor with two or more responses... show both the ASCII and HEX modes, so that I can count characters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 22:11:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291664#M2471</guid>
      <dc:creator>CJ_Butler__DASYLab_Pro</dc:creator>
      <dc:date>2013-01-24T22:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Communication</title>
      <link>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291696#M2472</link>
      <description>&lt;P&gt;I think I may have figured it out. &amp;nbsp;I needed to modify the measurement data request field&amp;nbsp;in the module&amp;nbsp;from the default \r to the command for the external device across all of the channels.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached the module for you if you are interested. &amp;nbsp;If there is a better means to set up the connection I wouldlike&amp;nbsp;to hear your thoughts. &amp;nbsp;Thanks for the help with parsing the data. &amp;nbsp;Are there other resources that explain how to use the commands/terms you gave me?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 22:42:02 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2291696#M2472</guid>
      <dc:creator>Q-LabAZ</dc:creator>
      <dc:date>2013-01-24T22:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Communication</title>
      <link>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2292322#M2475</link>
      <description>&lt;P&gt;Great. Thanks for the update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Resources? Technical notes at &lt;A href="http://www.mccdaq.com," target="_blank"&gt;www.mccdaq.com,&lt;/A&gt; and, of course, the online Help.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 13:51:01 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2292322#M2475</guid>
      <dc:creator>CJ_Butler__DASYLab_Pro</dc:creator>
      <dc:date>2013-01-25T13:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: TCP/IP Communication</title>
      <link>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2292326#M2476</link>
      <description>&lt;P&gt;I think that you only need the measurement request in channel 0. the others should be blank.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 13:56:14 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/DASYLab/TCP-IP-Communication/m-p/2292326#M2476</guid>
      <dc:creator>CJ_Butler__DASYLab_Pro</dc:creator>
      <dc:date>2013-01-25T13:56:14Z</dc:date>
    </item>
  </channel>
</rss>

