06-10-2020 05:40 PM - edited 06-10-2020 05:43 PM
Hello LabVIEW community,
I have a circuit set up with (8) TMP36 temperature sensors connected to an NI 6002. Before the VI runs, I want the user to enter in ambient temperature values as constants within a control array. I also have constants elsewhere in the VI for calibration and offsets. My problem is that four of the eight array constants are "grayed out" when I reopen the VI. I have tried right clicking on the value and selecting Data Operations > Make Current Values Default and Reinitialize to Default Values. The VI will not collect data for the four values that are grey upon opening unless I double click them and renter the values every time.
Any help would be extremely appreciated!
Thank you,
Anne
Solved! Go to Solution.
06-10-2020 06:13 PM
Those arrays are grayed out because they are empty.
When you right-click on an array element and set it's default value, you're setting the default only for the element, not for the array.
To set the default for the array, right-click on part of the array that's not an element (such as the index).
06-11-2020 10:16 AM
Hi Paul,
That worked, thank you very much!