LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use UDP in CVI?

I have found an oldish example (v4.0.1) on the NI web site but the link is broken. Are there any other up to date examples?
0 Kudos
Message 1 of 5
(3,879 Views)
I was able to download the examples successfully from the following link
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DDAB56A4E034080020E74861&p_node=DZ52164&p_source=External

Did you have errors while trying to download the example or when trying to build it? You would need to install the Windows SDK that is included with CVI in order to run this example since this example makes use of the wsock32.lib library. This library is part of the Windows SDK.
Hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 5
(3,879 Views)
The error was trying to download the example, but some kind NI person, Efrat Strassberg, emailed the example to me. It built first time. So thanks heaps to all.
0 Kudos
Message 3 of 5
(3,879 Views)
I'm looking for a UDP example as well, could you email me the example? Thanks
0 Kudos
Message 4 of 5
(3,879 Views)
Here's an example program that shows how to implement UDP with TCP/IP Winsock layer. CVI 5.0.1 and earlier do not implement the UDP protocol. There is a simple instrument driver that implements UDP using the Windows SDK Winsock functions. If you have the Full Development System of CVI, and have installed the SDK package (by doing a custom install), you can use the instrument driver to create UDP applications

Enjoy!

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 5 of 5
(3,879 Views)