03-20-2022 10:13 PM
I am generating a some data from FPGA and sending to RT then save to compactRIO. But the data writing to tdms file has lots of burr (orange curve) that don't occurs in the charts. This has been confirmed, because the data exported right from the chart don't have any burrs.
03-21-2022 07:41 AM
It looks like you are getting out of sync with the FIFO data. In your waveform FIFO, you have 2 channels. So when you read, you need to make sure you are getting an even number of samples. Similarly for your position FIFO, you need to make sure you are reading a number of samples that is divisible by 3.
03-21-2022 09:06 AM
Thank you for your reply, crossrulz! The problem you mentioned has been excluded after our test. The data display module goes before the data saving one (TDMS), and it displays well in the chart. So we believe the data from FIFO is treated properly. The TDMS saving module seems everything to blame here.
03-21-2022 10:16 AM
Although it is still a mystery what happens, it does work now when I use one FIFO instead of two. Hope it informatic to someone and if would be better if somebody can make it clear.
Note: during every loop, actually several elements remain (last picture), this may be the cause.