LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Static arrays

Solved!
Go to solution

IMO, it's not really ready for prime time.  BUT, I also know that this is the future of LabVIEW, so we have to try to shape its destiny right now.  That is why I am trying to use it, at least at home, to get used to it.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 21 of 26
(909 Views)
Solution
Accepted by andrewDJ

HI

I checked in NXG 5 and the make current value default also works on complete arrays with different values.

If you either select the outer border or (if visible) the index you can select make current value default and it will not change the values in the array anymore. So acting exactly as in current gen LabVIEW.

greetings from the Netherlands
Message 22 of 26
(899 Views)

I misunderstood what you meant originally Albert, sorry.  

 

Now I've got it: drop an empty array onto the Panel, size it with the number of elements I need, enter values for those elements, when done right-click the array and select "Make current values default", save, exit NXG, restart NXG and it has remembered the values.

 

This answers my original query and gives me a static query, so thanks for persevering!

 

0 Kudos
Message 23 of 26
(894 Views)

@andrewDJ wrote:

I misunderstood what you meant originally Albert, sorry.  

 

Now I've got it: drop an empty array onto the Panel, size it with the number of elements I need, enter values for those elements, when done right-click the array and select "Make current values default", save, exit NXG, restart NXG and it has remembered the values.

 

This answers my original query and gives me a static query, so thanks for persevering!

 


I did mention that a few messages ago, but called it an "ugly idea", even though I didn't detail just how to do it.  I think i deserve at least kudos.  😉

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 24 of 26
(877 Views)

Was that that what you were saying??  🙂  I didn't get it then either: I hadn't made the connection between entering values AND THEN setting array to default until the later clarification.  

 

You deserve kudos for coming up with a better solution for my problem though.

0 Kudos
Message 25 of 26
(871 Views)

I'm actually just glad you have a solution that works.  🙂

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 26 of 26
(868 Views)