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
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.
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.