07-21-2016 11:33 PM
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.
07-22-2016 12:45 AM - edited 07-22-2016 12:49 AM
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.
07-22-2016 01:23 AM
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.
07-22-2016 01:34 AM
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)...
07-22-2016 01:48 AM - edited 07-22-2016 02:03 AM
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
07-22-2016 01:57 AM
Open LabVIEW --> Help --> Find examples --> Type into the search field: "Network Streams". Open example project: "Simple Network Streams".
07-22-2016 02:04 AM
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
07-22-2016 02:35 AM
07-22-2016 03:00 AM
Ok thanks alot. Further help will be appriciated.