STM is an application-layer communication protocol, built on top of a transport-layer protocol (e.g. TCP), to simplify the process of sending and receiving messages and data packets between different systems in an application. The list of messages and data items used in a communication link are defined as part of the application and exchanged between the two end points of the communication link when the connection is established.
Simple Messaging was originally called Simple TCP Messaging, therefore the STM moniker, however over time support for UDP as well as serial communication was added to the library.
The STM code contains a set of simple VIs which implement the API and currently VIs are provided for TCP, UDP and RS-232 as the transport layer. Due to its simple nature it can be easily implemented on other transport layers. For example if you want to send various messages or data items between a LabVIEW FPGA target and its host, you can implement STM using the DMA transfer as the transport layer.
We welcome developers to participate and contribute to the open source development of STM, but submitting issues, implementing issues, and submitting pull requests to the STM source code trunk .
authored by Christian L, CLA Principal Systems Engineer - Partner and Ecosystem Development - National Instruments
Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system, or for use in hazardous environments. You assume all risks for use of the Code, and use of the Code is subject to the Sample Code License.