LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

making some elements of cluster invisible

 

I have a cluster indicator as shown. Cluster contains a Num ‘has linear test passed?’

I am passing cluster’s reference to the parent VI.

 

If Num=0, I want to hide only the Num keeping rest of the cluster visible in the parent VI.

How can I just make one num optionally invisible?

 

Thanks

Sandeep

 

 

 

0 Kudos
Message 1 of 8
(3,483 Views)
Hi Sandeep,
      The attached VI does what you requested, but it would be much simpler/cleaner to change the "Visible" property of the Num inside your SubVI (through a property node.)  Is it important that the caller set this property?
 
Cheers.
When they give imbeciles handicap-parking, I won't have so far to walk!
Message 2 of 8
(3,473 Views)
Hi.
Thank you for response.
 
It's broken. Could you pls also send "Create LinearTest Report Ref_1.vi" (I believe it is upgrade in my VI)
Could u pls. send llb of your applic?
 
invisible/visible setting is better to happen in subvi, so that main VIs responsibility is just to print it etc.
 
Thank you.
 
regds
Sandeep
 
 
 
 
 
 
0 Kudos
Message 3 of 8
(3,468 Views)

Hi, Sorry Sandeep,

      Here it is again in, but in 6.1!

Cheers.

Message Edited by Dynamik on 09-15-2005 07:56 PM

When they give imbeciles handicap-parking, I won't have so far to walk!
Message 4 of 8
(3,461 Views)

I have to echo Dynamik's comments. this is an odd construct.

 

Dynamik, you missed the "_1" version you were useing.

 

Sandeep,

Just hit ignore, open the diagram and replace the missing VI with the one you posted.

 

Here is another variation where I took the liberty of redefining your output type, just to make things easier.

 

Make sure you close yours before you open the VI "SetClusterVisabilityCreateLinearTestReportRef.vi"

 

Ben

Message Edited by Ben on 09-15-2005 08:13 PM

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 5 of 8
(3,457 Views)

Hi Dynamic.

this works, and I can take it in subVI also.

thanks much

Sandeep

 

 

0 Kudos
Message 6 of 8
(3,425 Views)
Hi Ben.
 
Very neat.
I can take this functionality in SubVI too, so final reference comes to main VI just for printing, as required by my application.
 
Thanks  again.
 
regards
Sandeep
 
0 Kudos
Message 7 of 8
(3,423 Views)

BTW, I liked the control/strings selection of your version.  Elegant!  Your solution makes it so easy to select a control, perhaps a warning is in order?  The "gotcha" being: if Sandeep "selects" a value as default, or provides control-selector as a parameter, THEN, changes item-order in target cluster, he'll have to remember to re-select the correct control index (i think..?) :smileyquizzical: ( Smiley Happy )

When they give imbeciles handicap-parking, I won't have so far to walk!
0 Kudos
Message 8 of 8
(3,407 Views)