LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically loading values of all front panel controls

Here is a simple OpenG example that loads and saves all controls on your front panel to an INI file the file: %temp%\OpenG Config.ini

 

Just follow the instructions on the front panel.

0 Kudos
Message 11 of 31
(1,627 Views)

I don't know how to add path for openG or MGI. I want the user choose where to save the file or load the file from ..

I tried using your code , but still doesn't work on mine...

0 Kudos
Message 12 of 31
(1,604 Views)

@Canucks.canucks wrote:

I don't know how to add path for openG or MGI. I want the user choose where to save the file or load the file from ..

I tried using your code , but still doesn't work on mine...


Load Save OpenG Panel_BD.png

0 Kudos
Message 13 of 31
(1,599 Views)

It still wont work with my code 😞

I think the problem is when I try to save a pattern lets say 6,8,9,10.. so 4 elements .. if my array is currently lets say 8 element they try to load only 4 it freezes? or I might be wrong..ughhhhh

0 Kudos
Message 14 of 31
(1,568 Views)

Even when I keep the array size the same..it loads NOTHING

0 Kudos
Message 15 of 31
(1,564 Views)

Attach your vi, otherwise we cannot help.

0 Kudos
Message 16 of 31
(1,555 Views)

This is my vi..I put it back the way it was after trying different things

0 Kudos
Message 17 of 31
(1,540 Views)

@Canucks.canucks wrote:

This is my vi..I put it back the way it was after trying different things


Sorry, but I just cannot debug this VI. You overuse property and invoke nodes, and just violating data flow.

I really recommend to put aside this project for a while, and you should really learn how to program a proper State Machine!

0 Kudos
Message 18 of 31
(1,531 Views)

Good idea actually.. I'm currently stuck in an infinite loop! Maybe this will get me out of misery..

0 Kudos
Message 19 of 31
(1,528 Views)

@Canucks.canucks wrote:

Good idea actually.. I'm currently stuck in an infinite loop! Maybe this will get me out of misery..


You will see that some time investment now to practice and learn LabVIEW will actually save much more time for you later. I strongly recommend the Core 1-2 online training, very useful (you get access to these if you have a valid licence)!

0 Kudos
Message 20 of 31
(1,525 Views)