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: 

Prompt User for Input - Limit String Length

I am currently using the "Prompt User for Input" function to allow the user to define the path to save the file.  In order to control the length of the file name, I want to be able to put a limit on the amount of charcters the user can input when the Prompt is shown.  Is there an easy way to do this?

0 Kudos
Message 1 of 2
(3,745 Views)

You have to spin your own dialog. You can convert that Express VI into a regular VI by right-clicking and select "Open Front Panel" (or something like that). It will give you a dialog and you can then save it as a regular VI. You can then modify it to limit the string length.

 

P.S. This question has come up several times before.

0 Kudos
Message 2 of 2
(3,730 Views)