08-26-2021 09:58 AM - edited 08-26-2021 10:08 AM
I didn't really have time to make a good example yesterday, but this is what I would probably do...
But as I said above I would hide the "tabs" and use transparent backgrounds on all the pages so it would appear as the screen is changing, instead of a tabbed interface.
08-26-2021 10:55 AM
@GerdW wrote:
Hi SDuffy,
@SDuffyLV wrote:
I didn't realise when making this post that this would be an important bit of information but none of these codes work on the Real-Time Module of LabVIEW.
Well, that is an important information about that whole problem…
You should learn to write better questions!
Which RT target do you use? You know most of them don't support UIs at all because they don't support monitors/displays?
In all fairness, sometimes a user won't know exactly what questions to ask, and it on us to be proper detectives and ask the right questions to help them ask better questions.
08-26-2021 01:00 PM
Hi Bill,
@billko wrote:
In all fairness, sometimes a user won't know exactly what questions to ask, and it on us to be proper detectives and ask the right questions to help them ask better questions.
Well, sure.
But in this special case SDuffy learned after receiving all those answers that a very important information was missing at the beginning. And that information would have told us about quite strong limitations on the possible solutions.
(There was not even the smallest hint about the target that VI should run on.)
08-26-2021 01:21 PM
If I see an event structure, LabVIEW RT is probably the last thing that comes to my mind... 😉
08-26-2021 04:19 PM
@FireFist-Redhawk wrote:To answer this question, you probably want to break out the functionality...
@GerdW wrote:
Which RT target do you use? You know most of them don't support UIs at all because they don't support monitors/displays?
NI-PXIe8821. Marked in red is the VI that is being used for this problem.
@RTSLVU wrote:
I didn't really have time to make a good example yesterday, but this is what I would probably do...
Thanks for this example, I may use some of these techniques in the final solution. Although, as Altenbach said about events not being used in RT modules then don't think I'll be able to use this solution.
@billko wrote:
In all fairness, sometimes a user won't know exactly what questions to ask, and it on us to be proper detectives and ask the right questions to help them ask better questions.
Thanks Billko. It's difficult to know how to put all the details in when you're asking for a small part of a larger code. I never expected anyone to know about the RT case, I should have mentioned that earlier but as soon as I realised the normal solutions wouldn't work then I added that comment in.
@GerdW wrote:
Well, sure.
But in this special case SDuffy...
Fair point, I should have had it in. I can see the frustration with the initial question. Apologies for this.
@altenbach wrote:
If I see an event structure, LabVIEW RT is probably the last thing that comes to my mind...
Noted! It seems like case structures may have to be the way to do this.
For those that provided a solution to the initial question, I've marked as Accepted as this was the question that was asked and will still be correct for most cases for anyone that will be looking this up.