LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to save different string value in each element of array

Solved!
Go to solution

I have a VI setup to read multiple channels from a Veristand Project.  The input is a 1D array of strings, (one element for each channel I want to read).  The channels have different names, so each of the string elements needs to be different.  I am able to edit each element and run the VI, and it works fine.  However, if I save, close and reopen the VI, all of the elements show the same value (which happens to be the value of the last element for which I defined a default value).  Is this behavior expected, or have I missed a configuration setting that would allow different string values?  Please advise.  Thanks.

 

GSinMN       

0 Kudos
Message 1 of 3
(2,163 Views)
Solution
Accepted by topic author GSinMN

Make sure you're selecting the Array and not just an element when you do the Right Click-> Set Value to Default on the Front Panel control.

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

Never thought of that.  Would have thought you needed to select each element.  Looks like the answer.  Thanks.

 

GSinMN

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