Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69758

Connection error causing LabVIEW to crash/freeze

$
0
0

I've created a VI that connects to multiple instruments and saves the data from the instruments. Recently there have been problems arising with one of the instruments, a Newton's 4th power analyzer PPA510. The specific cause of the problem is unknown but the end result is an error with code -1073807194 (Hex 0xBFFF00A6) The connection for the given session has been lost. This error has happened both near the beginning of collecting data from the instrument and in the middle. When this happens and Newton's 4th is the only instrument that is connected LabVIEW runs properly with the control I added to stop the VI if an error occurs.

 

When this happens and there are multiple instruments that are connected besides the Newton's 4th, LabVIEW stops responding. The indicator light I added shows that there is an error and the data collection stops (shown by the graphs no longer updating) but the VI doesn't stop. Even trying to Abort the VI does not work. LabVIEW then continues to not respond even after letting it run for a while and I eventually force it to close via the task manager. A window then pops up saying that it is trying to reset the VI that was just forced close. Even after waiting 30 minutes this fails and stops responding. The next time LabVIEW is opened, when trying to trying to select the COM Port for the VISA session, LabVIEW freezes and says that it is "Not Responding." This continuously happens no matter how many times LabVIEW is restarted. The only way that has been found to fix it is to completely restart the computer. 

 

I'm trying to figure out a way to stop LabVIEW from crashing when multiple instruments are connected or to fix the connection error within the code. I don't think that there is an error in the code itself causing this because I have been using this code for weeks already to collect data from the Newton's 4th both by itself and with multiple instruments. 

 

Note:

-The Newton's 4th has 2 methods to collect data through a computer, datalog and multilog. The method I am using is multilog. 

-Other instruments which I have used simultaneously with the Newton's 4th include: Extech 4-Channel Temperature meter SDL200, Extech Differential Pressure Manometer HD 750, Mark-10 Force Gauge BG 200, and Clarke-Hess 2335A Wideband power analyzer. 


Viewing all articles
Browse latest Browse all 69758

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>