04-17-2012 02:37 AM - edited 04-17-2012 02:38 AM
@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:
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.
04-17-2012 02:45 AM
@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
)
Ah, I see. I am reusing VI methods from past projects and the SubPanels were populated with:
I was not aware of this control, which would have made life easier! 🙂
Excellent, Thanks.
04-17-2012 03:33 AM
@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
)
Quick question. How did you create this:
04-17-2012 03:44 AM
@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
)
Quick question. How did you create this:
Ok, got it! 🙂
04-17-2012 03:53 AM - edited 04-17-2012 04:00 AM
@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
)
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!
04-17-2012 03:56 AM
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;))