LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set the default values for "Write Text String"

I need to set a default value for several Wite Text String entry fields.   (Being new to Labview I do not know much of the accepted nomeclature.) For example when selecting "Properties" on the "Baud Rate" entry filed (I understand this is a number and not text) the user may enter a default value.  When selecting "Properties" on the "Decrease PItch" entry field there is no place to enter a default value.  I can create the text string I wish to send however the entry is lost when the Labview session is closed.  I'd like to be able to create default text strings and maintain the ability to edit the string during the session.    See attacehd screen shots.
 
Any help appreciated.  -Chris-  
 
 
 
0 Kudos
Message 1 of 4
(3,741 Views)
To make a front panel control value the default (strings, numbers, etc.), all you have to do is enter the value, right click on the control, and select Data Operations>Make Current Value Default. You can set all controls to a default value from the Operate menu. When you change the default values, you have to save the VI.
0 Kudos
Message 2 of 4
(3,734 Views)

Dennis,

That couldn't be easier, but I spent an hour looking for it.  Are these basics covered in a manual or tutorial?  I'm having great trouble finding these types of examples and/or information.

Thanks,

Chris

0 Kudos
Message 3 of 4
(3,730 Views)
If you search the on-line help for "default", you will see an entry called "Default values, setting". I havne't done any of the tutorials you can find at http://www.ni.com/devzone/lvzone/fundamentals.htm but my guess would be that at least one covers this.
0 Kudos
Message 4 of 4
(3,725 Views)