06-09-2023 02:07 PM
Hello everyone!
I made a code to control an oscilloscope model MDO34 from Tecktronics.
When I run the code after the first reading I is okey, but the next iterations get a time error, I tried with Stall Data Flow,Wait(ms),Wait Until Next ms Multiple and with all three I still get an error.
Any recommendations or comments about my code?
I attach images and the VI
06-09-2023 02:46 PM
HIghlight execution and Use the Single Stepping to identify when does the error occurs.
From the message, It looks like the instrument stop responding after the first iteration.
You need to findout if the error occorred in the last operation of the 1st iteration or in the subesquent operations. You may need to investiagate if you are not missing any commands in between each iteration.
06-09-2023 03:20 PM
The error its comes from the Single Waveform SubVI
06-09-2023 04:11 PM - edited 06-09-2023 04:13 PM
Here is the error
06-09-2023 04:25 PM
Did it occured on the first iteration ?
Dig deeper into that VI and investigate at what point the error occurred. Use start single stepping, and you will be taken to the subvis and verify where exactly the error occurred.