LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

checking button value

Hope this isnt a repeat but I can't seem to find the answer and I am sure it is something simple. I am trying to have a button that opens a help document. I already have that set up what I need though is for while the VI is running the user can push the button and the document will open. Right now the button can be pushed while the vi is running and nothing happens. Thanks!

0 Kudos
Message 1 of 4
(2,332 Views)

Ever come across an Event Structure before?

 

http://zone.ni.com/reference/en-XX/help/371361J-01/glang/event_structure/

---
CLA
0 Kudos
Message 2 of 4
(2,331 Views)

Hi I tried this and I think the reason it's not working is due to being in a stacked sequence structure. Do you have any suggestions or manipulations that would work within that structure?

0 Kudos
Message 3 of 4
(2,320 Views)

@elac wrote:

Hi I tried this and I think the reason it's not working is due to being in a stacked sequence structure. Do you have any suggestions or manipulations that would work within that structure?


If the button is not read by the code because the code is trapped in a endless worm of sequences, you need to rethink your architecture.

 

A quick solution would be to have a small, independent parallel while loop, containing nothing but an event structure to handle these buttons and pop up the help. Think parallel!!

Message 4 of 4
(2,318 Views)