Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Making a data acquisition card talk to labview over ethernet

Hi, I'm so new that I don't even know where to start. I did try searching but did not come up with anything that made sense to me.

So I have a set of sensors that communicate to a linux box (a 133 mhz pentium running linux). I need this linux box sending information over to labview over an ethernet connection. Any tips on where to start looking/reading up would be greatly appreciated.

Thanks a lot.
0 Kudos
Message 1 of 2
(3,098 Views)
I would recommend breaking the problem into two parts:
  1. Data acquisition
  2. Data transfer over tcp/ip

Generally speaking, your system should be composed of one VI running on each machine. The VI on your machine connected to your sensors will acquire the data (data acquisition or DAQ) and will act as the sender in the network communication. The VI on the other machine will act as the receiver in the network communication.

The best starting place for implementing both concepts would be to look over the example VIs that ship with LabVIEW. Simply select Help from the LabVIEW menu bar, and click Find Examples. This will bring up the example finder, in which you can select the Search tab and search for the terms "DAQ" and "TCP" to find examples on each. I would also recommend taking a look at either the "DataSocket" examples (if you're using LabVIEW 7.1 or older) or "Shared Variable" examples (if you're using LabVIEW 8.0), which are both easier ways of implementing network communication. You can then use these examples as templates for your own VI or use them as training to build your own VI from scratch. And of course, if you have any questions along the way, these forums are a great way to get them answered! Just remember to post topics specific to data acquisition to this forum and to post topics specific to TCP communication to the LabVIEW forum.

Kind Regards,

E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,080 Views)