I am using DAQmx to send a sine wave out of AO0 and reading in the returned waveforms on AI0-3.
I am looking a phase differences on the returns but I am having a hard time syncing he AO and AI. I don't care if there is a delay as long as it is consistent. Right now I am using the AO to trigger AI but with a sinusoid the trigger level changes with frequency and amplitude of the AO.
There has got to be a better way of doing this.
I was thinking of using a DIO on the same card to make a pulse and running wires to the AI and AO triggers.
Anyone got a better idea?