Hi,
I have a compactDAQ system with an NI 9205 analog input card and a NI 9264 analog output card.
I am trying to synchronize an analog input with an analog output. I think I have managed to do so but now I want to datalog both signals using timestamps.
Since I have used the AI start trigger to start the analog output I believe my analog input and analog output channels should be synchronized completely. So I assume I can use the first t0 read from my AI as the start t0 and then calculate my t0 for each iteration of my analog output by the number of iterations of my loop, the sample rate and the number of samples I am writing to the output buffer.
However when I try to get t0 on the first read it returns an empty timestamp.
Does anybody have any ideas on how I could get both signals put into a queue in waveform format with matching timestamps?
I have attached my test VI to this post. (LabVIEW 2011 SP1)
Thanks
Lieven