Summary: This Example project demonstrates how to set up communication with multiple STM server on one host client. The user has the option to programmatically find all of their targets on the local subnet or input the IP adresses of their targets manually.
Instructions for Use: Open the 2 Servers 1 Client project and configure your remote devices. The remote devices in the project are simulated devices and they will need to be changed in order to deploy code to the servers. Once you have configured your servers, deploy and run the Basic Server VIs to all of your real-time devices. The VI will wait for the client to connect to them before they start streaming data.
Once the VIs are running on the servers, either input the IP addresses manually or select Auto-Detect on the client VI. Run the client VI and and data will start streaming fromt the servers to the host. If you have more than four servers, you must add additional cases to the case structure on the client.
Requirements: This example was written in LabVIEW 2009 SP1, so that is required to run this example. You must also have the STM reference library, which is a free download available at: Simple Messaging Reference Library (STM)
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.