LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Mac prompting me for dll's in conditional disable structure

Solved!
Go to solution

I'm using LabVIEW 2014 Mac and I have several conditional disable structures which call user32.dll but only in the Default case whereas they do nothing in the TARGET_TYPE=Mac case.  When loading my source code in LV Mac I get prompted to find "user32" and I have to Ignore All.  Afterwords the code is open with no errors.

 

It seems to be a bug that this prompt is occuring?  Is there a way to supress it?

0 Kudos
Message 1 of 3
(1,444 Views)
Solution
Accepted by topic author Thomas_robertson

Hello Thomas,

 

It sounds like the user32.dll is being loaded along with your LabVIEW code on launch instead of being loaded when called. What you can do is encapsulate the function that is making the user32.dll call in a subVI (if you haven't already done this), right-click the subVI and go to Call Setup. From this window, choose Load and Retain on First Call. This should make sure the user32.dll is only loaded when you reach the Default case in your Conditional Disable structure, and not search for it every time the code is loaded into LabVIEW.

 

Hope this helps,

0 Kudos
Message 2 of 3
(1,386 Views)

That did the trick, thank you

0 Kudos
Message 3 of 3
(1,326 Views)