LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Read/Write Between Computers using DataSocket & LabWindows

I'm trying to put together a rather simple read/write between computers utilizing DataSocket and LabWindows. The sample programs and a thousand forum/internet searches have not revealed my issue(s). I put together a very basic set of programs to capure a number (the "minutes" of a GetSystemTime() call) and send it to the second computer, using the IP addresses of the computers as references in the DataSocket transfer. No luck! My goal is to eventually transfer data in both directions, but I can't even get data to flow in one direction. Any ideas as to where the error(s) in my logic are? My simplified programs are attached...
0 Kudos
Message 1 of 2
(3,042 Views)
The best way to get started with DataSocket is to check out the example programs "Reader" and "Writer" available in your cvi directory's example programs (CVI\samples\datasocket) and build off of these examples. They give you a good starting place for writing and reading via DataSocket and LabWindows.

Brandon Vasquez
Applications Engineer
National Instruments

Brandon Vasquez | Software Engineer | Integration Services | National Instruments
0 Kudos
Message 2 of 2
(3,012 Views)