ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement two button dialog box

I have a program to ramp voltage current, and in the display were you enter the voltage current I made it so that if you enter a value greater then 3 ( using a comparison vi > 3 connected to a case box with a text message
that pops up when the value is true) it asks you if you are sure, but i want to make it so that it doesn't ramp the volatage until you click okay How would I do taht
0 Kudos
Message 1 of 3
(2,961 Views)
Hi Eugene,

I am not sure I understood your question fully but there is a two button dialog in LabVIEW already. You can find it under Time & Dialog. This function outputs the outcome of the users answer and all you have to do is check for a true on this output before you ramp your voltage/current. Hope this helps./Mikael
0 Kudos
Message 2 of 3
(2,961 Views)
Eugene,
Try modifying the attached to fit your need.
Run without the Continuous mode, as I did not set in a break option.
Good Luck, Doug
0 Kudos
Message 3 of 3
(2,961 Views)