08-24-2014 12:30 PM
Hi,
Il would like to load parameters in control instead of cluster like in this VI.
It is possible ?
08-24-2014 12:34 PM
Just write the values to local variables of the controls.
08-24-2014 12:38 PM
Thank you for your answer altenbach.
Can you show me example please ?
Cordially
08-24-2014 12:46 PM - edited 08-24-2014 12:48 PM
Hi aznnath,
you could write the current values into local variables of your controls. You need to make this whenever you change the index of your cluster array!
I would rather make a "nicer" cluster using silver controls as you did your your controls right now. Position the cluster element as you like them on your UI.
Then hide the array index as you use those buttons to switch array elements.
Then make the array border transparent as well as the cluster border. You might even make their inner area transparent to have your cluster elements visually floating over panel background.
Then make your cluster array a control instead of indicator as of now.
Using this approach you only need to handle the cluster array, without copying of data between cluster elements and scalar controls…
Hint:
You should get the habit of wiring shift register values through each case of a case/event structure! You might even have LabVIEW do the wiring for you by right-clicking the output tunnel of the respective wire…
08-24-2014 12:48 PM - edited 08-24-2014 12:49 PM
aznnath11 wrote:Can you show me example please ?
Here's a quick picture. create local variables for all other controls and do the same.
08-24-2014 02:18 PM
Thank you for help altenbahch and GerdW !
GerdW wrote :
Then make your cluster array a control instead of indicator as of now.
I don't really know how to do this, can you show me example please ?
Best regards
08-24-2014 06:22 PM - edited 08-24-2014 06:26 PM
@aznnath11 wrote:
Thank you for help altenbahch and GerdW !
GerdW wrote :
Then make your cluster array a control instead of indicator as of now.
I don't really know how to do this, can you show me example please ?
Best regards
Something is seriously out of whack here. You aren't the author of this VI, are you? I fail to see how you could come up with something like this VI, yet fail to know how to turn an indicator into a control. That makes me question why you would want to do this any differently than it is already?
I take it back. I'm just thoroughly confused about this VI and what the OP really wants to do with it.