LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-VISA Crashing/Freezing after several runs

Hello everyone,

 

We have a system, developed in NI TestStand, where we integrate a few VIs used to communicate with multiple test equipment, via TCP/IP and Serial Communication. For all of them we use NI-VISA. Everything runs smoothly for a few hours, sometimes days, but all of the sudden all the VISA communication VIs start hanging and requires a complete restart of the app.

We have tried opening NI MAX to understand what might be the issue but it also freezes and then crashes with the following error message.

We can also conclude that both NI TestStand and the remaning LabVIEW VIs continue executing with no issue.

carlosjuniorocha_0-1710787830216.png

We have discarded some possible issues:

  • Reference Leaks - none were detected
  • Faulty equipment communication code - We have this code running in other systems with no issues and most of the functions are very straight forward.

We believe the issue is in the low-level drivers of some of the equipment we use, such as FT232. We can not pinpoint the exact equipment that is causing the issue because there are multiple equipments running simultaneously, all using NI VISA and at quite an high rate. Since this is a system in production, we are also limited to the ammount the logs and experiments we can make.

We are trying to identify the root cause of the issue, but would like to better understand what might cause the NI-VISA to freeze/hang/crash, how we can obtain information to pinpoint the culprit and if it is possible for us to restart NI-VISA without restarting the entire app, as a workaround measure.

 

Thank you very much.  

0 Kudos
Message 1 of 1
(161 Views)