Hi everyone,
I have written a LabView FPGA code simply to read input from NI 9223 (I am using cRIO 9082):
To visualize the analog waveform, I have written a LabView RT code to get the data from FPGA code and display in Waveform Chart:
I connected NI 9223 to a function generator which generated a sine wave of 100 Hz (= 10 ms). When I set the FPGA loop time to 1 us, and RT loop time to 10 ms, the display waveform is as follows:
The amplitude is correct, but the period does not make too much sense to me, as why half waveform is displayed for 104 sample steps?
With the same function generator input, when I change the RT loop time to 1 ms, the waveform amplitude is not even correct:
It looks like to have an outer envelope, which is weird.
Can anyone help me to see what is going on?
Also, since the loop time of RT is ms, does this mean that Waveform Chart can never properly display any waveforms above 1 kHz?
Thank you.