10-14-2025 07:25 AM
Hi,
My application is generating a VISA overrun error. I know this is because the device is giving new data before my pc has finished reading the current data. I know this can be changed by changing the code to some better architecture but that cant be done, because this code is too big and took more than 6 months to finish. Also this code is terrible, its just one big spaggetti code seperated by stacked sequence and data is transmitted from frame to frame using sequence locals. The code was given to me half done and I had no choice but to work on the existing code instead of developing a new one. Now the only solution for me is to find the area in the code which is slowing down the code and make changes accordingly. But is there is a way to monitor the memory usage of a program at different parts, in this case each frame by frame of the stacked sequence, so that i can get a better overview of what is causing the program to slow down. Kindly do let me know. Thank you.
Solved! Go to Solution.
10-14-2025 07:44 AM
Put a Tick(ms) in each frame and calculate how long each takes.
10-14-2025 08:39 AM
A few timing probe options:
https://forums.ni.com/t5/LabVIEW/Simple-Sexy-LabVIEW-Timing-Probes/m-p/3484648
Darren's Occasional Nugget 02/23/2018 - NI Community