LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

parallel I/O with timestamp??

hello some how I'm looking for an example that shows me how to use the ADC
and DAC of the PCI-MIO16E in parallel mode.
I want to measure the responce time. I have to know when the signal was
exactly transmitted. with the examples in the f. manual do not realy put the
emfasis on that topic. They just put the signal out and they just get it in
some time there is no time stamp!!

Thanks for your help in advance
0 Kudos
Message 1 of 2
(2,681 Views)
See Simul AIAO BufTrig(E-series).vi in Analog IO examples within DAQ examples.
This example triggers both A/D and D/A externally to syncronize the beginning of both processes.
Since this example is externally triggered, you need to provide the external trigger. This trigger can come from a counter timer output. Be careful of the program flow. If you call AI read with a triggered acquisition, it will not return until the data is available or it times out. You will not be able to call any other NIDAQ functions until it returns. The key is to not call a function that will not return unless that is what you want. If you insert a pulse out function after the AO start, it will trigger both streams within the while loop.
Another way to do this same thing without the
external trigger is to use the RTSI functions to route the AO
see the ni example code using the following search Simultaneous Analog Input and Output (E Series Board)

for example code that also may help.
0 Kudos
Message 2 of 2
(2,681 Views)