LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

In Labview, is there an easy way to implement a string input from the operator with a dialog box?

I have a production test system that I want the operator to enter the serial number through a dialog box. As I've currently done it, there's a string control on the front panel to enter the serial number, but the program will run without it. Any helpful hints would be greatly appreciated.
0 Kudos
Message 1 of 3
(2,349 Views)
make a special vi with only the string as a control and a second string as an indicator connected to it. This string might be hidden after you connect this indicator to the connector. In the vi-properties select dialog and off you go.
greetings from the Netherlands
0 Kudos
Message 2 of 3
(2,349 Views)
Put the string control inside of a while loop. Set the while loop to terminate only when a valid string is received or when a cancel button is clicked. You also need to set the VI properties to Show Front Panel When Closed and Close Afterwards. You should also make the modal so that the operator can't accidently send the window to the background.
Message 3 of 3
(2,349 Views)