LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering digital input in PXIe 6363

Hello,
I was using the Daqmx to generate digital signals. I have a VI which writes digital signals and reads the digital input back continuously. I want to read a finite number of samples. For that I had the start task, read and stop task inside the same while loop. This works fine but then the VI is slow. So I wanted to trigger the digital input and take the start and stop task outside the while loop so that the VI runs and reads the digital data till the stop command is received. This does not work for some reason. I am posting my VI with this post. Can anybody please help me where I am going wrong.

0 Kudos
Message 1 of 3
(2,987 Views)

You want to start reading by trigger?
Maybe you can configure continuous reading/writing and read necessary number of samples?

In your example you've configured restart by trigger only for reading. But writing starts only once. Maybe this reason why your vi doesn't work

0 Kudos
Message 2 of 3
(2,939 Views)

Yes i want to start reading after the trigger and read the updated values from the register repeatedly. 
I tried to trigger the input as well as the output but it is showing errors as well. Can anybody tell me some good example on how to use trigger for digital input and output.

0 Kudos
Message 3 of 3
(2,898 Views)