LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

UDP multicast subscriber for RT using CVI 8.5

Solved!
Go to solution

Does anyone know of a way to implement a UDP multicast subscriber on an RT system using CVI 8.5?  I know that CVI 2009 supports UDPMulticastSubscribe/UDPMulticastUnsubscribe functions, but I'd rather not upgrade if I can avoid it.  

 

Can this be done using the Windows SDK?  Is it even possible?

 

--NDo

0 Kudos
Message 1 of 6
(4,409 Views)

The reason that the CVI library multicast functions weren't supported until version 2009 is that the underlying Windows SDK implementation provided by LabVIEW Real-Time did not support UDP multicast. This means that unless you have LabVIEW Real-Time 2009 on the system, multicast is impossible. It might be possible to install LVRT 2009 and use the Windows SDK directly, without upgrading to CVI RT 2009. I have not tried this, though, so I can't guarantee you won't run into problems.

 

Mert A.

National Instruments

0 Kudos
Message 2 of 6
(4,403 Views)
I saw that the winsock library does support UDP multicast.  Is the Phar Lap RT OS based on a subset of the windows SDK?  If this is the case, then it is truly impossible to implement multicasting in any LVRT OS that is below 2009.
0 Kudos
Message 3 of 6
(4,396 Views)

Yes, that is correct. The Windows SDK (specifically winsock) does provide for UDP functionality, but that functionality was not implemented at the system level until version 2009 of LVRT.

 

Mert A.

National Instruments

0 Kudos
Message 4 of 6
(4,355 Views)
Solution
Accepted by ndo

Mert A. wrote:

Yes, that is correct. The Windows SDK (specifically winsock) does provide for UDP functionality, but that functionality was not implemented at the system level until version 2009 of LVRT.

 

Mert A.

National Instruments


I assume you meant that "multicast" functionality was not implemented until 2009?

0 Kudos
Message 5 of 6
(4,350 Views)
Yes. My mistake.
0 Kudos
Message 6 of 6
(4,348 Views)