10-05-2023 03:15 PM - edited 10-05-2023 03:33 PM
I am trying to log an analog input at 2 kS/s while outputting waveforms to 2 analog outputs. I've tried many methods but right now I'm running the logging and the waveform generation on different threads as I was unable to get accurate logging on the same thread. However, I am still getting timing glitches when I feed a 20 Hz sine wave from the wave generator on my oscilloscope. I am creating the program using python. Has anyone experienced this before or have any insight?
10-05-2023 05:18 PM
Please attach actual code, nobody can run or edit the code with pictures.
10-06-2023 08:08 AM
My bad, heres the code.