LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

push button for Pulse Generation vi

Hi,
I am new to Labview and need help quick please.
I was wondering where to attach the push button for the Pulse Generation vi.
Currently the VI runs (generates the pulse) right after you run it, I want it so that when you push a button the pulse starts generating.
Please help, I cant seem to find a proper example with buttons and digital pulse generation, there was some example which used a start trigger but that seems different from a push button.

Please I need this soon.

Thanks.
0 Kudos
Message 1 of 3
(2,906 Views)
Hi JPNaidu,
you can use an Event Structure to wait for a Button Event. If the event was initated you can start your function.
Can you show your current existing vi or a pircute from it?
 
Mike
0 Kudos
Message 2 of 3
(2,899 Views)
Hi,
Thanks for the reply, but I have the Basic version, and I dont think I can use Event Structure.
Since my Original Post I have used a while loop and a Case loop and it works like I wanted to.
I put up a bool button inside a while loop, and attatched it to a case loop. Inside the case loop is the Pulse Generation vi.
I made the bool button as "Switch Until Released".

Now I want to change the physical line output of the Counter. How is done?
On my board there are 4 DO. But the counter1 seems to default to line 1. How do you change the line?

Thanks for any replies.
0 Kudos
Message 3 of 3
(2,877 Views)