From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I am working on an application that collects an array of data from four IR sensors. I would like to have this application send the data over our LAN to a computer that the operator or engineer will use.
Could someone point me in the right direction? To start just a simple application that sends a small array from one PC and charts it on the second PC.
> I am working on an application that collects an array of data from four IR > sensors. I would like to have this application send the data over our LAN to > a computer that the operator or engineer will use. > > Could someone point me in the right direction? To start just a simple > application that sends a small array from one PC and charts it on the second > PC.
Doug,
Have you checked out the DSReader and DSWriter sample programs? If you run the DataSocket server and then launch those two examples, you'll see an example that is pretty close to what you are doing. The DSWriter is an example of your data collection. In the example, arrays of sine wave data of varying frequency are computed and sent to the DataSocket server. The DSReader example can connect to t he DataSocket server to read those data packets. You can run the examples on your own machine or on two different machines. If you are running on different machines, be sure to adjust the URL so that it points to the right place.