11-25-2015 01:42 PM
Hello community,
my question is if a single DAQmx Impulse Output Task can be created once and then be used to start the Impulse output each iteration of a while loop. In my program I create a task for the Impulse output in each iteration of the while loop, and delete the task directly when the Output is done. I made it like this because the tasks have to be done in different case structures.
Now I want to create the task for the Output just once, and reuse it in every iteration of the while loop. Also the Outputs have to be started in different case structures. The VI i posted in the appendix shows the different while loops.
Thank you for your answers!
Dennis
11-25-2015 02:57 PM - last edited on 12-19-2024 08:43 PM by Content Cleaner
I think that you do not understand DAQmx. Read this excellent White Paper, think about what you want to do, and try again. Note that it should certainly be possible to do what you describe ...
Bob Schor
11-26-2015 11:52 AM
Well that was not the answer I expected, but thank you anyway.
Dennis
11-26-2015 12:17 PM
@denniswaschik wrote:
Hello community,
my question is if a single DAQmx Impulse Output Task can be created once and then be used to start the Impulse output each iteration of a while loop.
Actually, I did answer this question -- I said "Yes". I also told you how you could learn to "do it yourself", which will teach you a lot more than if I provided the "answer". Also, you know your hardware better than I, so it might even be possible that I'm wrong, that you can't output a single pulse (but I doubt it).
Bob Schor