LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

the default item of Ring 1 is Sequence 1 and when I select Sequence 1 nothing happens

Solved!
Go to solution

Hello guys,

On my VI when you select an item of Ring 1 the corresponding items of Ring 2 appear.
My problem is when you run the VI the default item of Ring 1 is Sequence 1 and when I select Sequence 1 nothing happens.
On the other hand, the two other sequences when selected are as I want them.
I don't understand why it doesn't recognize the selection of sequence 1.
However, when I select Sequence 2 or 3 and I come to select Sequence 1 again, everything works.

Do you have an idea what this is about please?

0 Kudos
Message 1 of 5
(972 Views)
Solution
Accepted by topic author Ngouda

By Default its Sequence 1 and when you select Sequence 1 without selecting other 2 No Value Change Occurs. So it wont work.

 

Also Instead of Using Multiple Property Node in each case you can use Property Node outside the csae.

You can also use New Value of Value Change Event Instead of Local variables whereever applicable

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 5
(960 Views)
Solution
Accepted by topic author Ngouda

The main problem is that the event structure only reacts to value changes you do by clicking the mouse into the ring. When programmatically changing the value of the ring inside the while loop you cannot trigger the event. That's one of the illogical things in LabVIEW, because changing the value is changing the value, no matter how.

0 Kudos
Message 3 of 5
(936 Views)
Solution
Accepted by topic author Ngouda

@MaSta wrote:

The main problem is that the event structure only reacts to value changes you do by clicking the mouse into the ring. When programmatically changing the value of the ring inside the while loop you cannot trigger the event. That's one of the illogical things in LabVIEW, because changing the value is changing the value, no matter how.


There is a "Value (signaling)" property that you can write to that will trigger a value changed event.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 5
(922 Views)

Hi  @PalanivelThiruvenkadam, @MaSta, @crossrulz
I thank you all for your answers 🙂
It works now as I want it to.

0 Kudos
Message 5 of 5
(859 Views)