LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

communicating with microcontroller using ethernet (tcp/ip protocol)

Hello to All,

We are starting a project trying to make a microcontroller (uc) communicate with  a PC  using  ethernet (the uc is connected  with a ethernet cable directly to a nic card in the pc).   My concern is could we use Labview to create a vi that somehow "telnets" into the ip address of the uc?

 Essentially,  what we want is some sort of a GUI interface using labview to retrieve and send data (form of text files) from the PC to the uc.  We can use telnet on a dos prompt to log into the uc and write and send files, but we want to make it more pleasing to the eye so we considered using Labview.

Would the proper process be as follows:

1) create a vi that has tcp/ip components
2) since we know the ip address of the uc, how does one create an object in LV so that it automatically connects to that particular ip and send and retrieve files.

thanks and hope to hear for your responses.
0 Kudos
Message 1 of 2
(4,240 Views)

There are examples ot TCP-IP communication at C:\Program Files\National Instruments\LabVIEW 7.1\examples\comm\TCP.llb (or the equivalent path for your version of LabVIEW and installation location).

Allen

0 Kudos
Message 2 of 2
(4,235 Views)