LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW DLLs based on VIs using popup message windows

Hello,

I built a DLL based on a VI under LabVIEW 6.1.
This VI is using a popup message window. When I am using the DLL in a VI (calling the function exported by the dll), the labVIEW VI is freezing. When I debug the VI, it appears that the popup message is blocking the application.
I am not seeing the popup message either.
You will find a code example linked with this message.

Does someone has an idea to resolve this problem?

Regards Pascal.
0 Kudos
Message 1 of 7
(3,332 Views)
boucan_canot974;

I experienced that same behavior too. The problem is with LabVIEW's Dialog box (Functions palette -> Time & Dialog).

You can solve that by creating your own dialog box instead. Just make sure you change the option in application builder to keep the front panel.

Enrique
www.vartortech.com
0 Kudos
Message 2 of 7
(3,332 Views)
Hello,
I tried this solution too ... but it is the same problem. May be I am not using the good options to build my dialog box.
Have you got an example?

Regards,
Pascal
0 Kudos
Message 3 of 7
(3,332 Views)
I have also the same problem, with the "Open VI reference" property!!! it's blocking itself!
Is there a solution for this too?

Regards,
Pascal
0 Kudos
Message 4 of 7
(3,332 Views)
Pascal;

In my website, I have an example that includes a Dialog Box for a .dll. You can obtain it from here:

http://www.jyestudio.com/lview.shtml

The example is VIs for DeployMaster. Probably you can modify the Dialog VI for your use.

Regards;
Enrique
www.vartortech.com
0 Kudos
Message 5 of 7
(3,332 Views)
I just wanted to add a quick comment. If you go to create a pop-up VI of your own, you need to make sure that when you build the dll that you include the front panel.
0 Kudos
Message 6 of 7
(3,332 Views)
Hello,

I have still the same problem! 😞
What are your dialog box options when you are building your DLL?
mine are:
Run when opened: yes
User can abort VI: yes
User Can close panel: yes
Panel is dialog box: yes
Panel has a title bar: Yes
Panel has a menu bar: No
Panel has scroll bars: No
Panel is automatically centered: Yes
Panel is automatically resized to fit sceen: No

Regards,
Pascal.
0 Kudos
Message 7 of 7
(3,332 Views)