LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can a LabVIEW-built Dll have front end ?!

Hi All,
 
Can a Dll built using a VI be popped-up as usual as a SubVI, when called from a Main VI ?
 
I m trying to do this in LV 7.1 & getting the attached error message.
 
All the connector pane IOs are correctly configured in the Dll, inside the Main VI code, when it is invoked in its corresponding button value change.
 
Please clarify & guide me.
- Partha ( CLD until Oct 2027 🙂 )
Message 1 of 3
(2,641 Views)
This is possible.


I've created a VI called Popup.vi with a while loop, a ms wait and a boolean in it. I've set the front panel appearance , so it shows front panel when called, and hides afterwards. If you don't (want to) set the "show front panel when called" property, you might get errors. You need to go to VI Settings, and select the VI. Then, Use Edit Build Settings, and set Remove Panel to No.


I've build a dll with one function, popup. No input or output parameters.


This worked without any problems. Try this first. Perhaps something else causes this problem.


Regards,


Wiebe.
0 Kudos
Message 2 of 3
(2,612 Views)
I agree with Wiebe, I am running DLLs on my production test system.  Windows appear.  The only two issues that I have had is:
  1. does not always come to the front, even with the attribute set.  But this may be an issue with a modal window in the caller.  The easiest thing for me to do was place the window where I know it will always be seen.
  2. can not change the icon in the upper left corner.
As to your error, I typically see that when I have called the DLL wrong.  Passed a value instead of a pointer or something else dippy. 

Paul
0 Kudos
Message 3 of 3
(2,604 Views)