I am using a PCI-6251 M Series board and wish to acquire two analog signals and output one analog signal simultaneously. I have a question about multi-function -synch ai-ao.vi .With this Vi I work out annalog input of one channel and data output of one channel synchronously.I take some change in the vi which I make the sampling rate and sampling number of input and output channel be equal. But when i increase the input channel from one to two,a problem come that is the data acquired always shift towards one direct which depends on the sampling rate(for example data shift turn left when 250kS/s,right when 200kS/s). Does the phenomena mean phase delay or lag during accquring data? or mean data loss? how it happen ?
I wonder if the acquisition on both channels is perfectly simultaneous.I hope the start of data acquisition each time be the same all time.
I would appriciate it if any comment and suggestion.
Attachments: modified VI from the Multi-Function -synch ai-ao.vi
I delete some part about data processing in while cycle.vi in additonal file