LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Statemachine with notifier and listbox

Solved!
Go to solution

hi,

 

for every change value in a listbox i want to jump to a state "file read"

unfortunately it´s holding in state and doesn´t jump back to the expected "wait for event state".

and if i remove the path constant at sheet open the program is asking permanently for the file.

target is to read later values from a sheet depending from list box value.

Download All
0 Kudos
Message 1 of 6
(1,655 Views)

You put the next state in the shift register, but you never use that value coming from the shift register on the left hand side of the loop!

 

You are only reading the value from the notifier. That notifier belongs inside the "Wait For Event" case since it is the event structure that is setting the notifier value.

0 Kudos
Message 2 of 6
(1,645 Views)

better to use no shift register?

i don´t know where to connect the left side of shift.

...

 

0 Kudos
Message 3 of 6
(1,603 Views)
Solution
Accepted by topic author Hulk1978

The left shift register should go to the Case Selector node.

0 Kudos
Message 4 of 6
(1,571 Views)

Hi hulk,

 

please indicate crosspostings on your own!

We have a very similar discussion in the German LabVIEW-Forum!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 5 of 6
(1,559 Views)

Hi Gerd,

The states are Working find.

For the other topic for same vi i come back to German.

I didn't know about relation to here.

And actually my first started small vi ist growing more like expected...sorry

Thanks to Here,too

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