01-19-2018 11:37 AM - edited 01-19-2018 11:39 AM
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?
Solved! Go to Solution.
01-22-2018 05:13 PM
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
01-23-2018 09:43 AM
Thank you for your response.
Justin