01-08-2025 12:04 AM
Hellow everybody,
I keep getting the error 200010 after I run the attached code. The strange thing is that the code will run normally at first and this warning will only repeatedly appear after about two or three minutes.
I want to control the working timing of this signals generation task, as there are other tasks needed be done before the next group of this signals is generated. Thus here in this loop, the start() and stop() function is been run repeatedly. Sleep time is for other tasks' woring.
What am I doing wrong? Any other functions or judge needed to be done in this loop? Or if there are other methods better applicated for this task?
Thank you in advance and have a nice day, everyone!
Nicolas
01-08-2025 07:18 AM
Partial answers & remarks:
1. I'm no help with specific Python syntax, I only program with LabVIEW
2. 200010 is a *warning*, not an error. It's warning you that you've set up a finite acquisition but then manually stopped it before it completed naturally. This is not typically something you should want to do, hence the warning.
3. I don't know exactly what you need to do, but it's likely that features built into the counters will give you a better solution than your attempt to control (what appears to be) 2 msec pulse generation time with software timer methods. What are the timing relationships you need to control?
-Kevin P