04-27-2018 02:17 PM
Hi There,
Hi There,
Just wondering what is the proper way to make repeated calls to a dynamic event? I have an event triggered (timer starts when "Collect" button is selected) that can either a) run until completion (e.g. 10 s) or be cancelled (e.g. user selects "Cancel" button). The user may want to hit "Collect" again but I found I could not trigger the event again.
Thanks in advance,
Anton
04-27-2018 03:09 PM
If you attach your VI (not a picture, but an editable, testable, VI), we can better understand your difficulty and suggest a solution (rather than guessing).
Bob Schor
04-28-2018 04:34 PM
First thought: you don't have your event structure in a proper loop or you are stuck in a loop that is inside of your case structure. Either method will lead to MAJOR issues like you are stating. But, as already stated, we need to see your code in order to give you any real advice.
04-30-2018 12:41 AM
Make sure that you are polling for event when you are triggering the collect button.
04-30-2018 08:17 AM
Here is the basic program that I could trim down to. Basically I want to be able to hit "Collect" followed by "Cancel" as many times without interrupting the streaming and the timer resetting each time.
04-30-2018 02:24 PM
@atrinh wrote:
Here is the basic program that I could trim down to. Basically I want to be able to hit "Collect" followed by "Cancel" as many times without interrupting the streaming and the timer resetting each time.
I didn't see a "Collect" nor a "Cancel" button on your front panel.
I looked at your block diagram, but it was way too messy for me. I don't clean up other people's messes.
If you want someone to help, submit something that doesn't look like a rat's nest.