<?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: Simple TCP Messaging (STM) in Components</title>
    <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/1233257#M484</link>
    <description>&lt;P&gt;I have used the STM library on many ocassions with LabVIEW 2010 without any problems.&amp;nbsp; I have seen disconnect issues however during deployment if the LV version on RT doesn't match the LV version on your development machine.&amp;nbsp; That is all I can think of.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeff Tipps&lt;/P&gt;
&lt;P&gt;S&amp;amp;V Systems Engineer&lt;/P&gt;</description>
    <pubDate>Tue, 31 Aug 2010 16:14:45 GMT</pubDate>
    <dc:creator>Jeff_T.</dc:creator>
    <dc:date>2010-08-31T16:14:45Z</dc:date>
    <item>
      <title>Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/583438#M5</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;Post your questions or feedback on the &lt;A href="http://zone.ni.com/devzone/cda/epd/p/id/2739" target="_blank"&gt;Simple TCP Messaging (STM)&lt;/A&gt; &amp;nbsp;component here.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Sep 2007 16:23:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/583438#M5</guid>
      <dc:creator>Doug_S</dc:creator>
      <dc:date>2007-09-20T16:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/583489#M9</link>
      <description>&lt;DIV&gt;I have a question:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I have a setup where I am going to be using an NI cRIO-9012 controller, which will be the server.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;The controller is to receive TCP/IP messages via the ethernet port from a computer that will NOT use LabVIEW or have anything to do with LabVIEW.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;can a VI using STM be used as a TCP/IP server when the client computer does not use STM but jsut the "standard" TCP/IP?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Any tutorial or example you may be able to point me to?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Much thanks&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Sep 2007 17:49:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/583489#M9</guid>
      <dc:creator>Auden</dc:creator>
      <dc:date>2007-09-20T17:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/583545#M10</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;This is a question that comes up occasionally.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;The two main issues are &lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Converting LabVIEW data structures to C (or whatever) format&lt;/LI&gt;
&lt;LI&gt;Implementing the STM protocol in a text based language&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;We have put some effort into solutions for this use case. For example, there was an early version of the simple messaging protocol for Windows and LVRT for PXI and 900x controllers that converted LV data structures to XML for compatibility with non-LV targets.&amp;nbsp; This approach had some challenges, however.&amp;nbsp; It required the user to build an&amp;nbsp;XML-capable&amp;nbsp;client or server component.&amp;nbsp; Over time, new LV targets (PDA, Linux and VxWorks,including the 9012) have been released that do not support XML, so it has been replaced in STM with LV&amp;nbsp;"flatten to string", which is more widely supported.&lt;/P&gt;
&lt;P&gt;We do not have a C version of STM, but that would be a nice project for someone when we agree to a solution to the first problem.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;In the meantime, here is a white paper we wrote several&amp;nbsp;years ago&amp;nbsp;that discusses the low-level issues and provides some examples for implementing a messaging protocol directly on top of TCP/IP for heterogeneous systems.&amp;nbsp; The examples are for LV &amp;lt;=&amp;gt; LW/CVI, but it should cover most of the issues with other targets.&amp;nbsp; As of this writing, the code download and reference links are live.&lt;/P&gt;
&lt;P&gt;Doug&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message Edited by Doug S on &lt;SPAN class="date_text"&gt;09-20-2007&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;02:48 PM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2007 19:29:26 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/583545#M10</guid>
      <dc:creator>Doug_S</dc:creator>
      <dc:date>2007-09-20T19:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/597986#M11</link>
      <description>&lt;DIV&gt;This is a good library, and should be LabVIEW "standard equipment". &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;One thing that is missing is more documentation. I see the connections for "Properties" to the connection manager vi (and others) but...don't...quite...get...it...&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;There is also (I believe) a bug in STM Multi-client Example - Server.vi: In my application, if I let one of the loops write when there are no connections, it never worked again.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;David&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Oct 2007 22:52:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/597986#M11</guid>
      <dc:creator>dtraxler</dc:creator>
      <dc:date>2007-10-18T22:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/598584#M12</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;David&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;The connection properties feature allows you to store persistent state information (active channel, for example) or other connection properties in the Connection Manager VI.&amp;nbsp; In the Multi-client Example VI, the Active Channel property is&amp;nbsp;used to select the data that is returned to each client.&amp;nbsp; Connection properties work&amp;nbsp;by storing one or more properties in the connection manager along with each connection reference.&amp;nbsp; Each client can send a command to set its own properties.&amp;nbsp; The server Command Parser loop stores the property value&amp;nbsp;&amp;nbsp;(the Active Channel number in this case) in the connection manager VI.&amp;nbsp; The medium priority tasks loop retrieves the properties for all connections from the connection manager and uses them to decide how to service each connection.&amp;nbsp; In the example, it uses the active channel values to index the data to be sent to each connected client.&amp;nbsp; The properties data type is a cluster typedef, so you can customize it according to your application requirements.&amp;nbsp; &lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I was not able to recreate the server behavior that you described.&amp;nbsp; If you run the example client VI without first running the server, TCP Open Connection will return an error, which causes the client to terminate.&amp;nbsp; In the server, all STM writes are done in the Medium Priority Tasks loop.&amp;nbsp;The&amp;nbsp;Medium Priority loop is designed to only service active connections, which should prevent any writes from happening until a client connection exists.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Doug&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Oct 2007 21:46:09 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/598584#M12</guid>
      <dc:creator>Doug_S</dc:creator>
      <dc:date>2007-10-19T21:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/599710#M13</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Got it.&lt;/P&gt;
&lt;P&gt;Modify the typedef then it can contain anything appropriate for the application. Very handy.&lt;/P&gt;
&lt;P&gt;As for the problem I mentioned, it may be related to another issue that came up at the same time.&lt;/P&gt;
&lt;P&gt;The application I am working on runs on a PXI system,&amp;nbsp;running LVRT, and I noticed that with my project open, and the STM examples open and running, occasionally LV would lose contact with with the PXI. Don't have any more information on that.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2007 12:52:42 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/599710#M13</guid>
      <dc:creator>dtraxler</dc:creator>
      <dc:date>2007-10-23T12:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/602570#M14</link>
      <description>&lt;DIV&gt;I'm converting to this method from network published Shared Variables mainly because my CRIO systems will be deployed around the world and&amp;nbsp;I am not happy that I will be able to deploy the variables remotely without Labview Project Explorer installed on the local PC.&amp;nbsp; I'll be supporting the systems remotely by taking control of the local PC (system GUI) &amp;nbsp;through a modem or network link. Also I don't have much space left on my 9012 so need to remove the Shared Variable Engine from the CRIO. I am already handshaking &amp;amp; compressing the data to get the bandwidth I need.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;My question&amp;nbsp;is that the latest&amp;nbsp;Command Based Architecture&amp;nbsp;example uses shared variable instead of globals. These are not network&amp;nbsp;published, and configured as target relative with RT fifo option. Can I leave these shared variables in or will they still need to be deployed the same as the network published? Would it be safer too use traditional globals and RT fifo vi's.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;I found the multi-client server design&amp;nbsp;document easy to follow, but cannot find the examples.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thanks&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Lucy&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Oct 2007 10:42:53 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/602570#M14</guid>
      <dc:creator>Lucy</dc:creator>
      <dc:date>2007-10-29T10:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/602681#M15</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;I don't believe that any of the examples included with&amp;nbsp;the STM component use shared variables.&amp;nbsp; The command-based architecture as been around for several years and has been adapted by a number of content authors for other use cases.&amp;nbsp; If you can point me to the shared variable example I may be able to clarify what you are seeing.&lt;/P&gt;
&lt;DIV&gt;Component examples install to the &amp;lt;lvdir&amp;gt;\examples folder.&amp;nbsp; The multi-client/server example can be found in &amp;lt;lvdir&amp;gt;\STM\Multi-clientServer
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Doug&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Oct 2007 14:32:57 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/602681#M15</guid>
      <dc:creator>Doug_S</dc:creator>
      <dc:date>2007-10-29T14:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/602718#M16</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;The example I found was in the shipped RT examples -&amp;nbsp; \LabVIEW 8.5\examples\Real-Time\RT Network Communication\Command Based Architecture&amp;nbsp; The RT part uses local shared variables.&lt;/P&gt;
&lt;P&gt;I still need an answer to the shared variable question - moving to this method and removing network shared variables - should I stop using shared variables completely because of engine size/ deployment issues? Its not just the ones in the example, I was using them already. Perhaps I should post on a different thread?&lt;/P&gt;
&lt;P&gt;Thanks I found the&amp;nbsp;STM examples within minutes of posting. Like the previous discussion in this thread, I've puzzled a bit about the properties, but can see they would be useful for controlling data streams. Also I've been thinking about the Meta-data. I understand about naming the comms, but is it necessary to dynamically set the metadata&amp;nbsp;upon connection&amp;nbsp;as&amp;nbsp;this bit is already specific to the&amp;nbsp;project&amp;nbsp;and not generic. &lt;/P&gt;
&lt;P&gt;Yet another sub-question: Are examples available using added security and performance measurements with this architecture. The systems are monitoring production continuously and I cannot afford for the comms to fall over! I need to balance good GUI refresh rate with a balanced TCP/IP&amp;nbsp;data flow.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Lucy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2007 15:18:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/602718#M16</guid>
      <dc:creator>Lucy</dc:creator>
      <dc:date>2007-10-29T15:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/603092#M18</link>
      <description>&lt;DIV&gt;That shipping example appears to be based on an earlier version of the STM example code that was included with the shipping examples for LV 7.x.&amp;nbsp; The SVs were probably added to the shipping example when they were introduced in LV 8.0.&amp;nbsp; The latest STM examples do not use shared variables.&amp;nbsp; Sorry about the confusion.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;The general rule is to use SVs wherever they make sense.&amp;nbsp; STM was created as a high-performance TCP/IP protocol (before SVs existed), and continues to be used as an alternative to SVs in applications that require performance over ease of use.&amp;nbsp; FYI-&amp;nbsp; It is possible to create applications (even executables) that deploy SVs programatically.&amp;nbsp;&amp;nbsp; Specific questions about SVs should probably be posted to a SV-related thread.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Were you thinking about secure sockets, encryption, or some other method of security?&amp;nbsp; If you could also elaborate on performance metrics that are important (throughput, latency, . .. ) , that would be helpful.&amp;nbsp; The STM examples do not include either of these capabilities.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Doug.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Oct 2007 04:37:01 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/603092#M18</guid>
      <dc:creator>Doug_S</dc:creator>
      <dc:date>2007-10-30T04:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/633411#M26</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;I am developing a DAQ application (just streaming for a fixed period of time since a trigger arrives) that will run in a PXI-8105 embedded controller and use a PXI-6115 DAQ card. The application will operate in a headless configuration receiving commands remotely thorugh a TCP/IP connection to the PXI8105 using a HTTP based protocol. &lt;/P&gt;
&lt;P&gt;Someone will develop the remote (client) side in someother language (not LabVIEW), but I have to develop the server side in my application to receive the commands, act as ordered and respond with the data&lt;/P&gt;
&lt;P&gt;I wonder if STM can be of any help to develop this HTTP Server or if I should start from zero and use the TCP/IP functions provided with LabVIEW. I am using LabVIEW 8.5&lt;/P&gt;
&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2008 16:04:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/633411#M26</guid>
      <dc:creator>Garcas</dc:creator>
      <dc:date>2008-01-04T16:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/634067#M27</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Garcas,&lt;/P&gt;
&lt;P&gt;If you need to develop an HTTP server you should use the low level TCP/IP functions, and not use STM. STM is a higher level&amp;nbsp;protocol based on TCP/IP, designed to transfer packets of data or commands between two systems. It includes specific header information in each packet that identifies the contents of the packet. Because of this protocol specific content,&amp;nbsp;you can not use it to create&amp;nbsp;the HTTP protocol. In effect STM is in parallel to HTTP, as both protocols are based on TCP/IP.&lt;/P&gt;
&lt;P&gt;However, STM is designed specifically for&amp;nbsp;applications like you describe. So if possible, you may want to consider using STM instead of HTTP for your solution. STM is an open protocol and you can implement an STM client in any programming language that supports TCP/IP communication.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jan 2008 15:10:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/634067#M27</guid>
      <dc:creator>Christian_L</dc:creator>
      <dc:date>2008-01-07T15:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/634132#M28</link>
      <description>&lt;DIV&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang="EN-US" style="mso-ansi-language: EN-US"&gt;&lt;NAMESPACE prefix="o" ns="urn:schemas-microsoft-com:office:office"&gt;&lt;/NAMESPACE&gt;&lt;P&gt;&lt;FONT face="Times New Roman" color="#000000" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #666666; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;Thanks Christian, it's what it looked to me but I wanted to be sure I wasn't missing something before starting from scratch. My problem is that using HTTP is an application&amp;nbsp;requirement, so I cannot do anything. Is there anything around so I don't have to start from 0? I read some threads that in the "old" Internet Toolkit there was an HTTP server, but I guess it didn't come with the complete code so I could modify it to my specific needs&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #666666; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;&amp;nbsp;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #666666; FONT-FAMILY: Arial; mso-ansi-language: EN-US"&gt;Anyhow I think STM it's a great tool... and free ! So congratulations to the authors. I'll definitively copy some ideas&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Jan 2008 16:24:35 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/634132#M28</guid>
      <dc:creator>Garcas</dc:creator>
      <dc:date>2008-01-07T16:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/714580#M33</link>
      <description>I know this question was posted in September 2007, but:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="noindex"&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/84271"&gt;@Auden&lt;/a&gt; wrote:&lt;BR /&gt;can a VI using STM be used as a TCP/IP server when the client computer does not use STM but jsut the "standard" TCP/IP?
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Any tutorial or example you may be able to point me to?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Much thanks&lt;/DIV&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;I have an example of how to implment a STM client in CVI (ANSI C).&amp;nbsp; It is attached below.&amp;nbsp; What you do is open "STM Example.lvproj" and run the STM Server Example.VI on a real-time target (you will need to change the IP address in the project).&amp;nbsp; Then open the STM for CVI client.cws.&amp;nbsp; Run that example.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Even if you are not using CVI, the STM_Comm.c and STM_Convert.c should be&amp;nbsp; a good starting point. &lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 28 May 2008 18:33:30 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/714580#M33</guid>
      <dc:creator>Brian_K.</dc:creator>
      <dc:date>2008-05-28T18:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/800695#M69</link>
      <description>&lt;P&gt;I have a problem with&amp;nbsp; STM to work in my startup EXE running on a cFP 2120 controller. I do not get connection to this EXE. Everything works fine and as expected if i start and deploy it from my LabVIEW development environment. What is the problem with the Executable? Is there anything I need to install on my target system, that is not coming with the Executable?&lt;/P&gt;&lt;P&gt;Any comment is highly appreciated. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DirkW &lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2008 17:43:12 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/800695#M69</guid>
      <dc:creator>DirkW</dc:creator>
      <dc:date>2008-10-29T17:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/803569#M73</link>
      <description>&lt;P&gt;Dirk,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;STM does not require anything special to run in an executbale as it is completely based on TCP and written in LV code. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It sounds like there is an issue establishing a TCP connection to your executable or some other fundamental issue. Can you ping the cFP controller at the IP address that you are using for your TCP connection? &lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2008 23:10:43 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/803569#M73</guid>
      <dc:creator>Christian_L</dc:creator>
      <dc:date>2008-11-04T23:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/825814#M90</link>
      <description>&lt;P&gt;I am posting a beta version of the next revision of the STM library.&amp;nbsp; Attached below is a .zip file which can be unzipped to the user.lib directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The major changes in this version of STM are the additon of serial and UDP as communication mechanisms along with TCP/IP.&amp;nbsp; There are also changes to the API to make the VIs easier to use.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We would like to hear your feedback (regarding either features or bugs) with this version of STM.&amp;nbsp; Please post any feedback on this forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that the documentation and examples are not yet finished.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jack&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2008 21:07:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/825814#M90</guid>
      <dc:creator>Jack_A.</dc:creator>
      <dc:date>2008-12-17T21:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/837833#M96</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;funny thing you posting a beta of a new version of the STM tools, since I just did some small optimizations over christmas on the published STM tools. Some things you changed already, but I have two remarks on the code (s. attachment).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A question: is this version of STM only for LabVIEW 8.5 and newer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your great work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jan 2009 15:30:32 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/837833#M96</guid>
      <dc:creator>Marc Blumentritt</dc:creator>
      <dc:date>2009-01-19T15:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/840830#M97</link>
      <description>&lt;P&gt;Hey Marc -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the feedback....I've already implemented your recommendations into the next build of STM.&amp;nbsp; It should be on the web soon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, STM 2.0 will only be supported in LabVIEW 8.5 or later.&amp;nbsp; We will keep the current version of STM on the web if you need to use a previous version of LabVIEW.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Jack&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2009 19:46:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/840830#M97</guid>
      <dc:creator>Jack_A.</dc:creator>
      <dc:date>2009-01-23T19:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Simple TCP Messaging (STM)</title>
      <link>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/841889#M98</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Jack A. wrote: &lt;BR /&gt;&lt;P&gt;Yes, STM 2.0 will only be supported in LabVIEW 8.5 or later.&amp;nbsp; We will keep the current version of STM on the web if you need to use a previous version of LabVIEW.&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;OK, than I do have one more small patch (s. attachment).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh, and one more&amp;nbsp;idea for you. I would recommend using LabVIEW classes for&amp;nbsp;supporting different communication protocols like TCP, UDP or seriel. I think classes would be more flexible and could be easier extended to other communication methods. Well, just an idea.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for STM. While it is very simple, it is a powerful tool and I would have never thought about it doing communication this way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2009 07:40:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/Components/Simple-TCP-Messaging-STM/m-p/841889#M98</guid>
      <dc:creator>Marc Blumentritt</dc:creator>
      <dc:date>2009-01-27T07:40:24Z</dc:date>
    </item>
  </channel>
</rss>

