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

Config Data Registry Error (LV RT 8.2.1)

$
0
0

Hello,

 

I am getting an error #1 (which I realize is a universal code) on the Config Data Registry.vi : invalid object 0 when I try to open a config file. We wrote our own program that just loops through the NI "open-read-close" sequence vi's, so that you get an array out. We have been using this VI for years, but yesterday we started to get this error on it out of the blue. I've searched on the forums for help, and found a couple "fixes" that did not work for me. One was to make the "reset" case in the Config Data Registry.vi the default case. The other option was to add an empty array to initialize the reference array shift register. Neither of those work. I've tried replace the INI file on the PXI with a fresh version and then just reformatted the PXI to start over... That didn't work either.

 

The thing that makes this the most difficult is that the error doesn't present when the laptop is running the code on the PXI; only when the PXI is completely running by itself does the problem occur. I did however, narrow it down to the "get data" case in the Config Data Registry.vi; it checks for a reference to be in the shift reg array and if it doesn't find it, spits out a "-1" which then causes the fault. The initial case is the "register" case, which puts the refnum into the shift reg array (I'm not sure exactly why or how this VI works, just that it has up till yesterday).

 

Any help would be appreciated!

Config Read.PNG


Viewing all articles
Browse latest Browse all 66905

Trending Articles



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