01-26-2026 07:04 AM
- configurable buttons (OK, OK/Cancel, Yes/No, Yes/No/Cancel...)
01-26-2026 10:22 AM
I made an Express VI that's a "Universal Dialog Box", but the available configurations are different from yours.
01-26-2026 10:27 AM
@paul_a_cardinale a écrit :
I made an Express VI that's a "Universal Dialog Box", but the available configurations are different from yours.
Thank you for your answer.
01-26-2026 10:38 AM - edited 01-26-2026 10:39 AM
@JB wrote:
@paul_a_cardinale a écrit :
I made an Express VI that's a "Universal Dialog Box", but the available configurations are different from yours.
Thank you for your answer.
Which configurations are supported?Would you be willing to provide it to me (via private message)?
Maybe he is referring to
https://forums.ni.com/t5/LabVIEW/Universal-Dialog-Box/m-p/4205270#M1218026
or
https://forums.ni.com/t5/Example-Code/Universal-Dialog-Box/ta-p/4375400
01-26-2026 11:16 AM
@UliB wrote:
@JB wrote:
@paul_a_cardinale a écrit :
I made an Express VI that's a "Universal Dialog Box", but the available configurations are different from yours.
Thank you for your answer.
Which configurations are supported?Would you be willing to provide it to me (via private message)?Maybe he is referring to
https://forums.ni.com/t5/LabVIEW/Universal-Dialog-Box/m-p/4205270#M1218026
or
https://forums.ni.com/t5/Example-Code/Universal-Dialog-Box/ta-p/4375400
Those are old. I have a newer version. I'll post it later today.
01-26-2026 12:12 PM
@JB wrote:
I’m looking for a VI that implements a dialog box with these options :- configurable buttons (OK, OK/Cancel, Yes/No, Yes/No/Cancel...)
- selectable dialog appearance (Standard, Critical, Question, Exclamation, Information)- modal or non‑modal execution- synchronous or asynchronous call- optional automatic closing after a configurable timeout- compatibility with both 32‑bit and 64‑bit versions of Windows and LabVIEW
Any suggestions or shared VIs would be greatly appreciated.
Thanks in advance!
Paul might just provide a good solution for a reasonable subset of your requirements.
I assume you are looking for a dialog subVI that has these options as inputs.
Synchronous vs. asynchronous has to be decided by the caller, so you would need an additional wrapper, especially also if you want it asynchronous and disappear after a given amount of time. How are you planning to get the return value in the asynchronous case?
Should it be reentrant so you can use multiple instances? If not, it could be implemented as an action engine that can show/hide its panel based on inputs, return immediately, but keep the panel open if needed. It would remain open until the next call where it would act according to the new inputs. It could even display a timestamped log of the last few calls to it.
Note that the stock 3-button dialog is actually a set of VIs that you could use as a starting point.
(as long as you do it all in LabVIEW, bitness is irrelevant)
01-26-2026 06:47 PM
@altenbach wrote:
@JB wrote:
I’m looking for a VI that implements a dialog box with these options :- configurable buttons (OK, OK/Cancel, Yes/No, Yes/No/Cancel...)
- selectable dialog appearance (Standard, Critical, Question, Exclamation, Information)- modal or non‑modal execution- synchronous or asynchronous call- optional automatic closing after a configurable timeout- compatibility with both 32‑bit and 64‑bit versions of Windows and LabVIEW
Any suggestions or shared VIs would be greatly appreciated.
Thanks in advance!
Paul might just provide a good solution for a reasonable subset of your requirements.
I assume you are looking for a dialog subVI that has these options as inputs.
Synchronous vs. asynchronous has to be decided by the caller, so you would need an additional wrapper, especially also if you want it asynchronous and disappear after a given amount of time. How are you planning to get the return value in the asynchronous case?
Should it be reentrant so you can use multiple instances? If not, it could be implemented as an action engine that can show/hide its panel based on inputs, return immediately, but keep the panel open if needed. It would remain open until the next call where it would act according to the new inputs. It could even display a timestamped log of the last few calls to it.
Note that the stock 3-button dialog is actually a set of VIs that you could use as a starting point.
(as long as you do it all in LabVIEW, bitness is irrelevant)
Reentrancy shouldn't be a problem. Each instance of a call to an Express VI is inlined:
When you drop an instance of an Express VI, a copy of the original instance is placed inside the SubVI object that's on the BD. Then the configuration VI runs and modifies that hidden copy.
01-26-2026 06:59 PM
Well, for what it's worth, here are versions 3.1 and 3.2.
3.2 is broken because I haven't finished the localization support.
01-26-2026 09:22 PM
I meant that a non-reentrant might be a good solution, e.g. if a single instance would popup, adding to a list of recent alerts, each call behaving as wired and return a button or just keep the panel open.