05-08-2007 07:08 PM
Hi All, Well I am using a Pci 4461 I am Synchronizing ai0, ao0 and ao1. I am outputting two sine waves and capturing them. I am Rotating the phase, then I average them so ao0 and ao1 should cancel. It does this most of the time, but every 3rd to 100th cycle it gets off but about 3 data points. This will ruins the test
Any ideas.
05-08-2007 10:14 PM
05-09-2007 12:08 AM
I have 2 outputs (ao0 and ao1) and 1 input ai0 sync using Multi-Function-Synch AI-AO-Ext Dig Trigger.vi that was changed a little. I have varied all the sample rates, test frequency, rate that the phase is being rotated. It still happens every now and then.
Sample rates from 44.1k to 200k
Test frequencies from 500 Hz to 40 kHz
Phase rotation 180 2 times
45 8 times
You can see the rotation when you zoom in at the start and when it glitches you see that too. It shifts off just a little.
I read the waveform from a spreadsheet.
Output them and read them back average them send then to the fft and usually it works but not all the time.05-09-2007 12:33 AM
05-09-2007 09:16 AM
We need to use a spreadsheet to control the setup and values.
The amount of values can varies
I have tried taking the hardware out of the loop and the algorithm works software with no problems.
I have also tried using the same values multiple times and still get the glitch with no pattern. It works most of the time but still I get the glitch every so many times.
Dan05-10-2007 01:14 AM
05-10-2007 01:19 AM