From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to send and receive packets between NI cRIO-9039 and my computer on Ethernet interface (UDP)

i am new to LabView previously i was using LabWindows but now due to limited support on cRIO-9039 i had to switch on LabView. uregent help is needed please share sample vi or project as I want to send and receive packets between NI cRIO-9039 and my computer on Ethernet interface (UDP). looking forward for you support. 

0 Kudos
Message 1 of 9
(3,397 Views)

I would not use UDP protocol. Use Network Streams for lossless communication.

http://www.ni.com/white-paper/12267/en/

 

edit: so if you want a two-way comm, you will need to setup two streams for the two directions.

0 Kudos
Message 2 of 9
(3,392 Views)

thanks alot but in my case udp connection would be preferable, kindly guide me with some vi in which pc communicated with crio and there is exchange of data on ethernet interface.

0 Kudos
Message 3 of 9
(3,379 Views)

Here is some comparisions of some protocols:

http://www.ni.com/white-paper/12079/en/

http://digital.ni.com/public.nsf/allkb/65BD9AB0126A8886862575660051B07A

 

UDP examples:

http://www.ni.com/tutorial/4950/en/

https://decibel.ni.com/content/docs/DOC-24143

 

But may I ask what is the reason you do not want to use a lossless communcation? Network streams are just superior over UDP (UDP is not a good choice for RT since not deterministic)...

 

0 Kudos
Message 4 of 9
(3,376 Views)

in my case there are three or four serial ports of crio-9039 from which i have to aquire data then process data then send data to two different computers on network so i guess it is not 1:1 connection , i have to send data on network to two different computers so its 1:2 connection. thanks alot dear for previous answer. can you provide me some vi examples in which i can communicate ni crio-9039 with my computer 0n ethernet interface using Lossless Communication with Network Streams

 

0 Kudos
Message 5 of 9
(3,373 Views)

Open LabVIEW --> Help --> Find examples --> Type into the search field: "Network Streams". Open example project: "Simple Network Streams".

0 Kudos
Message 6 of 9
(3,369 Views)

in my case there are three or four serial ports of crio-9039 from which i have to aquire data then process data then send data to two different computers on network so i guess it is not 1:1 connection , i have to send data on network to two different computers so its 1:2 connection. thanks alot dear for previous answer. can you provide me some vi examples in which i can communicate ni crio-9039 with my computer 0n ethernet interface using Lossless Communication with Network Streams

0 Kudos
Message 7 of 9
(3,366 Views)
I just gave you an example, see my previous post. Did you open that example? Of course you have to alter that project to fulfill your needs (1:2 communication). If you are a complete beginner in LabVIEW, first you should go through some learning material, like the online self paced learning videos (core 1, core 2, LabVIEW RT, etc.).
0 Kudos
Message 8 of 9
(3,361 Views)

Ok thanks alot. Further help will be appriciated.

0 Kudos
Message 9 of 9
(3,353 Views)