LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Start an saved application over the command line

Solved!
Go to solution

Hello,

first of all I don't like to know how I can start my .exe data over the command line, I know that. I need some other advice.

 

My problem is that I start my program and set some values in my interface and then I save my interface. You can say I create some options with different settings (option1,option2,option3). Now I would like to open this options over the command line. So first of all the program starts with option1 when this option is finished than option2 should get started (I will also create a signal handler that gives me feedback if the option before finished).

This should be like this:
Path\Application.exe option1 option2 option3

 

But know I have a problem. When I save my panel (SavePanelState) I can not open such a saved panel with the command "LoadPanel". In the help there is also the information that you can only load such a panel with the command RecallPanelState but with this command you only refresh the interface. Now my question is, how can I savel a panel with its states and call it with the LoadPanel command? Or is the only way to load a panel and then recall the values over the RecallPanelState command?

 

Best regards

 

 

0 Kudos
Message 1 of 3
(3,030 Views)
Solution
Accepted by Fasching_K

Unortunately there is no way to directly open a pre-configured panel with controls other than in their default state. You already have discovered it and I can confirm this cannot be changed. However, if you call LoadPanel and RecallPanelState before showing the panel, the user will directly see the personalized panel, which is more or less what you are looking for.

 



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,011 Views)

Thank you for your help. 🙂

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