LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

setting default values of numeric control

hi,
i am creating an application where the user enters some values say values for voltages in a numeric control.once he logs out and reenters i want the same values to appear in the numeric control.how should i go abt it.

Regards
sithara
0 Kudos
Message 1 of 4
(2,935 Views)
If this is going to be a built application then save the data to a file when the user exits and then read that file and initialize the control values upon startup...

If it's going to be a VI then you can programatically make current values default and save the VI when the user exits by opening a reference to the VI and an invoke node.

Check out the following:

http://www.ltrpub.com/insideltr/articles/article_17/article_17.htm


http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3E4C756A4E034080020E74861&p_node=DZ52036&p_submitted=N&p_rank=&p_answer=&p_source=External
0 Kudos
Message 2 of 4
(2,934 Views)
I ran across a web page that explains how to do this. You generate the VIs he is showing and then you add them as a subVI. Here is the web page:
http://www.originalcode.com/SavDef.htm
0 Kudos
Message 3 of 4
(2,934 Views)
Hi,
take also a look at this previous post:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000DF730000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
0 Kudos
Message 4 of 4
(2,934 Views)