LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Access needles on a Gauge with two needles

Solved!
Go to solution

I have a gauge on my front panel with a single needles. When I added another needle, the gauge indicator on the block diagram changed to a cluster type. I need to access each needle and perform operations on them. I tried using the "unbubdle" funciton but it did not work. How do I access both needles ?

0 Kudos
Message 1 of 6
(1,777 Views)

Hi santima,

 


@santima570 wrote:

I tried using the "unbubdle" funciton but it did not work. How do I access both needles ?


Use the Bundle function (instead of Unbundle) to set the values of both needles…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(1,772 Views)

The needles are being driven already by another value. To be more precise, I need to create a knob reference of each needle but before that I need to be able extract each needle from the cluster having those two needles.

0 Kudos
Message 3 of 6
(1,769 Views)

@santima570 wrote:

The needles are being driven already by another value. To be more precise, I need to create a knob reference of each needle but before that I need to be able extract each needle from the cluster having those two needles.


Could you provide the VI that you are having problems with?  I have no idea what you are talking about.  A picture is worth a thousand words, and a VI is worth a thousand pictures, so you can see that it would be orders of magnitude easier for us to provide help if you provided the VI rather than rely on a complicated description.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 6
(1,760 Views)
Solution
Accepted by topic author santima570

It's really not clear what you want to do; but I'll take a wild guess that you want to create references that you can pass to a subVI that will allow the subVI to access the values of the needles.

n.png

"If you weren't supposed to push it, it wouldn't be a button."
Message 5 of 6
(1,744 Views)

This is exactly what I was trying to do. Thanks !

0 Kudos
Message 6 of 6
(1,739 Views)