From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-08-2019 02:39 PM
Loop 1 puts some test signal into the FIFO (once every 10 cycles)
Loop 2 reads the number of samples available in the FIFO every cycle. Once the number of samples in the FIFO reach a certain threshold (=64), Loop 2 start fetching samples every 20 cycles. Over time, the number of samples in the FIFO decreases (I can see this as the number of samples in the FIFO is written to the host periodically)
04-12-2019 08:41 AM
How does the output look on a scope? Do you see a drift there?
04-14-2019 09:47 AM
Yes, I can see the drift on a scope as well, that was how we discovered it in the first place.
I think I found a solution, however:
There is a setting in the property page on the IO module called 'IO sync clock'. I set it to enabled, and selected the PXI_CLK100 option. Then I changed all SCTL in my program to use either 'data clock' or a clock derived from the PXIe_Clk100 clock that was available in the project. The clock drift appear to have vanished!