LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Refnum Slide "Visible"

Solved!
Go to solution

@pincpanter wrote:

Could you please post your code so we can get out of this?

The "Refnum Icon" lives on the block diagram, so how could we hide it? Only controls on the FP can be hidden/shown.


No, unfortunately the code is very restricted so I cannot post it on the Internet! 🙂  However I have fixed it. 

 

I created another VI as follows:

 

Visibility.jpg

So the inputs are a "Static VI Reference" to the parent VI.  The name of the control "slide" in this case, and whether it is visible or not.  This is called by the SubPanel VI before the call to the library VI and afterwards to make the progress bar visible and then invisible.

Christopher Povey

Principle Test Systems Engineer for BAE Systems.
0 Kudos
Message 11 of 16
(823 Views)

@NitzZ wrote:

Hi Christopher Povey,


Check the attached vis. Let me know if it helps.

Regards,
Nitz

(Give Kudos to Good Answers, Mark it as a Solution if your problem is Solved:smileywink: 


Ah, I see.  I am reusing VI methods from past projects and the SubPanels were populated with:

 

RunVI.jpg

 

I was not aware of this control, which would have made life easier! 🙂

 

RunVI2.jpg

Excellent, Thanks.

Christopher Povey

Principle Test Systems Engineer for BAE Systems.
0 Kudos
Message 12 of 16
(821 Views)

@NitzZ wrote:

Hi Christopher Povey,


Check the attached vis. Let me know if it helps.

Regards,
Nitz

(Give Kudos to Good Answers, Mark it as a Solution if your problem is Solved:smileywink: 


Quick question.  How did you create this:

 

Icon.jpg

Christopher Povey

Principle Test Systems Engineer for BAE Systems.
0 Kudos
Message 13 of 16
(816 Views)

@ChristopherPovey wrote:

@NitzZ wrote:

Hi Christopher Povey,


Check the attached vis. Let me know if it helps.

Regards,
Nitz

(Give Kudos to Good Answers, Mark it as a Solution if your problem is Solved:smileywink: 


Quick question.  How did you create this:

 

Icon.jpg

 

Ok, got it! 🙂


 

Christopher Povey

Principle Test Systems Engineer for BAE Systems.
0 Kudos
Message 14 of 16
(811 Views)

@NitzZ wrote:

Hi Christopher Povey,


Check the attached vis. Let me know if it helps.

Regards,
Nitz

(Give Kudos to Good Answers, Mark it as a Solution if your problem is Solved:smileywink: 


Actually this is no good for me.  When the SubVI runs it disappears into it and other subVIs, and the main panel are then locked out!

Christopher Povey

Principle Test Systems Engineer for BAE Systems.
0 Kudos
Message 15 of 16
(806 Views)

Hi,

 

To create that I right clicked the reference terminal of the "Call By Reference Node" and created a constant. In the constant, I right clicked and selected "Select VI Server Class">>Browse>>SubVI.vi. Hope this helps..


Regards,
Nitz

(Kudos are always Welcome;)) 

0 Kudos
Message 16 of 16
(803 Views)