Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

digital pause trigger for analog output

I want to generate an constant analog voltage as long as high digital signal is present. Then, the output should be reset to the initial value. This is basically the functionality of digital pause trigger, but unlike most examples out there, I am interested in generating signal, not aquiring one.

 

Here is an example of what I have until now.

 

digital pause analog output.png

 

The problem with it is that it doesn't do anything, if there is no trigger signal at the moment of execution. That is to say it only checks for a trigger, but it doesn't wait for it.

 

I appreciate your assistance.

0 Kudos
Message 1 of 2
(2,881 Views)

Hey leon,

 

as far as I can see, the problem is that you start your task and wait untill this task is done. But you write you data AFTER your task is done. I think you should write the data into the task, befor you start the task.

 

I would recommend you to look in the attached example VI. This VI shows you, how to use the pause trigger together with an analog output task.

 

Regards, Stephan

0 Kudos
Message 2 of 2
(2,868 Views)