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: 

Setting current values as default.

Hi there !

I got a VI that is suspend when called.
I make the right settings, and then I run the VI (settings are written
trough GPIB to a HP4145A)
It would be nice if I can make a checkbox or something, when this box is
checked, that all the current settings are set as default. So when I
call the VI next time, I got the previous setting. I've searched LabVIEW
help and menu's, but didn't find a thing.
Anybody suggestions, tips, ???
0 Kudos
Message 1 of 4
(3,126 Views)
You can save the settings in a file and load them again, if you need.

Kristof Poppe schrieb:

> Hi there !
>
> I got a VI that is suspend when called.
> I make the right settings, and then I run the VI (settings are written
> trough GPIB to a HP4145A)
> It would be nice if I can make a checkbox or something, when this box is
> checked, that all the current settings are set as default. So when I
> call the VI next time, I got the previous setting. I've searched LabVIEW
> help and menu's, but didn't find a thing.
> Anybody suggestions, tips, ???

--
Ingenieurbüro Mencke & Tegtmeyer
Laubbreite 21
D-31789 Hameln
Tel. 0 51 51 / 96 33 68
Fax 0 51 51 / 96 33 69
e-Mail: menckeundtegtmeyer@t-online.de
0 Kudos
Message 2 of 4
(3,126 Views)
you can use the VI Server VIs to make current values default and save the VI.
Stu
0 Kudos
Message 3 of 4
(3,126 Views)
here is an example on how to do that using VI Server
0 Kudos
Message 4 of 4
(3,126 Views)