01-09-2025 10:19 PM
I am using an NI-9223 to read data from a photodetector and an NI-9262 to control the laser with a sine waveform. The resulting graph shows noise spikes occurring five times per half cycle, as seen in the attached image. These noise spikes persist even when the waveform frequency is changed, and the voltage signal still exhibits the noise.
Additionally, when the same LabVIEW code was used a few months ago, such noise did not occur.
Although I cannot share the code due to circumstances, what could be causing this issue?
01-10-2025 12:03 AM
Have you measured the noise period? What has changed about your setup? And new sources of vibration or electrical noise? It looks too fast to be line noise.
01-10-2025 01:07 AM
Thank you for your comment.
The noises appear 5 times in a half cycle at any frequency of waveform.
Thus, I think it is not power noise or mechanical vibration too..
01-10-2025 06:34 AM
Without seeing code we can only guess. It could e.g. be a race/speed problem so you get an old sample. Add a Low pass filter (after checking for #1).
01-10-2025 08:41 AM
Some observations, thoughts, and questions:
Bob Schor
01-10-2025 01:50 PM
Since the spikes are time-related to the frequency of the wave, the first thing I would check is that the sine wave circuit driving the laser is not generating the noise. Can you read the laser drive with another DAQ channel or better, an independent o-scope?