LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Solve VISA: (Hex 0xBFFF006C) An overrun error

Solved!
Go to solution

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. 

0 Kudos
Message 1 of 3
(211 Views)
Solution
Accepted by topic author govindsankar

Put a Tick(ms) in each frame and calculate how long each takes.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 2 of 3
(191 Views)
Solution
Accepted by topic author govindsankar

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



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 3
(167 Views)