LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Real-time OpenMP LabWindows CVI support

Solved!
Go to solution

It appears that LabWindows CVI does not support OpenMP when using a real-time target.

 

When I change to a real-time target:

Build -> Configuration -> Manage Configurations... --> Edit... --> Target Settings --> Run-time support: --> Real-time only

 

This checkbox is grayed out:

Build -> Configuration -> Manage Configurations... --> Edit... --> Build Options... --> Enable OpenMP Support

 

I could not find any documentation stating that OpenMP is not supported on the RT target. Is the RT target explicitly not supported, or is there another setting I need to change?

 

0 Kudos
Message 1 of 3
(3,058 Views)
Solution
Accepted by topic author jkonkle

Hi,

 

Unfortunately OpenMP is not supported by CVI in RT environments. You'll need to use thread pools in order to multithread in CVI:

 

Multithreading in LabWindows™/CVI

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

 

Regards,

 

B. Poteet

Applications Engineer

 

0 Kudos
Message 2 of 3
(3,006 Views)

Thank you for your response.

Justin

0 Kudos
Message 3 of 3
(2,995 Views)