01-15-2014 02:26 AM
Dear Labview Community
We have written a Labview VI to control our Galvanostates containing 8 cells, each of them should indicate some values and be controlled by the user. Now, we have 2 arrays of length 8 in which to operator has to change the index twice, for control and indicator, to handle one cell.
We then used an integer to read out the element of the array, but then the default values for the control show up and not the values which were set at a earlier point.
Now the question is, how does one handle 2 arrays at once, a control and a indicator, without having to change the index of each array?
Thank you in advance
01-15-2014 02:30 AM
Hi John,
please attach your VI(s). It seems from your description you have created some race conditions.
Also: why would one have to change some index values for an array control/indicator? It would be much easier to understand with an VI for inspection...
01-21-2014 08:16 AM
Dear GerdW
Attached will you find a VI which contains the mentioned structure ( I am not allowed to upload to whole Vi). We would like to change the index of the indicator and control at once, not having to change the index for each of them.
Thank you in advance
cheers
01-21-2014 12:41 PM
Hi John,
you can work with property nodes to set the index of the visible array element:
(The English name of that property should be "index values".)
Use a scalar numeric control and hide the index display of the arrays...
Your inner while loop was just RubeGoldberg...