From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-28-2017 02:26 AM
I have an old, complex DLL written in LabWindows CVI which carries out a string intensive process on a bit of hardware. The process performed by the DLL takes several minutes to complete, so it contains a progress UIR popup box to show progress.
Problem is when I call the DLL from LabVIEW the UIR is not being displayed. The DLL runs and performs its task but there is no indication to the user that something is happening. We don’t have the time or the budget to re-code the DLL in LabVIEW.
The UIR is loaded with: “LoadPanelEx” and “InstallPopup”. When the DLL function is called from TestStand the UIR is displayed (this is how it was used in the past).
The LabVIEW calling it has a full GUI and its window behaviour is set to floating.
Is there any reason why the DLL is not displaying the progress UIR when call from LabVIEW? How can I fix it?
Thanks.
Solved! Go to Solution.
12-01-2017 08:24 AM
Hi Christopher,
From the Rules for Accessing .uir, Image, and Panel State Files it looks as though you are accessing the file correctly. I have had a search through some NI documentation and see that there are different compatibility with varying versions of LabWindows and CVI.
I have a few questions regarding the code itself,
Thanks,
Amy
12-01-2017 10:52 AM
When you build the dll, did you include the .uir in it?
Did you test the dll with other programming language?
12-04-2017 12:53 AM
Yes the UIR was built into the DLL.
I did more investigation and found that both the DLL and LabVIEW Panel were configured as Floating. I changed the DLL to always be on top and the calling LabVIEW VI to change to Default while it was running the DLL and it appeared. 🙂