LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what are arguments to OneButtonAlert()

I call my own C-based DLLs using the LV "Call Library Function", in it, I want to prompt the user in a LabView-style popup window. I know that OneButtonAlert() exists in the lvrt DLL, what are the arguments?

I can't simply use the MS MessageBox() call since I want portability to non-Windows environments.

...Dan
0 Kudos
Message 1 of 3
(2,641 Views)
Hello dgholstein,

The lvrt.dll is designed as a support library for LabVIEW and does not provide a public interface.

The best way to get access to LabVIEW's dialog boxes is to call them through LabVIEW's dialog functions available from the function palette under Functions->Time & Dialog.

Please let me know if you have any other questions about this issue.

Regards,

Matt F
0 Kudos
Message 2 of 3
(2,623 Views)
Dan,

If you've got the Application Builder and want to make a LabVIEW-style popup, you could build a minimal LabVIEW VI that calls the LabVIEW One Button Dialog node with message and button name arguments, then build this VI into shared libraries on the target systems of your choice. Then you should be able to call it from your C-based DLLs and have a consistent experience between platforms.

--John
0 Kudos
Message 3 of 3
(2,614 Views)