LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I save the front panel information for later retrieval?

I have a front panel that get populated with information (arrays,indicators,strings,nemeric, etc.) throughout a test sequence. When the test is finished, and before the next one runs, I would like to "capture" this information and store it, and then later reproduce this information in it's same format. What is the best way for doing this?

Thanks!
0 Kudos
Message 1 of 6
(3,199 Views)
VI server, there also was an article on zone.ni.com about how to do it.

kanders

"sal" wrote in message
news:101-50650000000800000072150000-982303670000@quiq.com...
> I have a front panel that get populated with information
> (arrays,indicators,strings,nemeric, etc.) throughout a test sequence.
> When the test is finished, and before the next one runs, I would like
> to "capture" this information and store it, and then later reproduce
> this information in it's same format. What is the best way for doing
> this?
>
> Thanks!
0 Kudos
Message 2 of 6
(3,199 Views)
I second that initial response, but here's some more help if you can't find the info on Developer Zone.

One article on this topic can be found at the following URL:

http://zone.ni.com/devzone/conceptd.nsf/webmain/1C98B128C80E52BE8625692E0055D456?OpenDocument

That first one wasn't coming up in the search. You can also Search for "labview current values default" and you should find an example program that demonstrates some of the topics using VI server.

Regards,
John Lum
National Instruments
0 Kudos
Message 3 of 6
(3,199 Views)
You may also want to check out the "log at completion" option under the operation menu and the rest of the data logging operations.
Stu
0 Kudos
Message 4 of 6
(3,199 Views)
Sal,

There are number of examples on different aspects of what you are reffering to, using VI Server in the Resource Library of NI Develpoer Zone: http://zone.ni.com/libraries/

If you go to LabVIEW -> Connectvity -> VI Server you should find a couple of useful examples including:
1) Get/Set control values using VI Server
2) Making Current Values Default with VI Server

Regards,
Kamran
An
0 Kudos
Message 5 of 6
(3,199 Views)

Hi all
It seems the best solution for saving last changes of a front panel controls and indicators value when a VI is going to close is checking "Log at completion" and giving Log file path. But there are not any option to load VI with the last record number automatically, and you should choose record number manually by clicking Operate>> Data Logging>> Retrieve and choosing last record number !!!!

Retrieving.png

 

I need an option which a front panel loads with last record number automatically or by programming. I had a look in properties and methods of VI Server Refrence but did not find anything. "Automatically Retrieving without clicking any menu"

0 Kudos
Message 6 of 6
(2,587 Views)