LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Single Impulse Output Task

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

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

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

0 Kudos
Message 2 of 4
(2,941 Views)

Well that was not the answer I expected, but thank you anyway.

 

Dennis

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

@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

0 Kudos
Message 4 of 4
(2,908 Views)