LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Panel will not let me load/edit?

S. Eren BALCI,

 

At run-time the .uir works perfectly, it opens and closes and performs all the callbacks that are associated with the panel.  No errors are generated.  The only error occurs when i tried to edit the panel during (Design Time).

 

Because the panel will not load, i do not have the option to save it as a text file and then reload it on another panel.  The other .uir will let me but not the one that has the problem because the .uir will not even load when i select it.  All that happens is the error message pops up and forces me to say "OK" and then that it. 

 

I tried tried opening it on another computer with CVI 9.0 and the same error was created.

 

Futher Information:

 - The uir was created in version 8.5 and then it was converted to CVI 9.0 when i received it.  I've been editing/using the .uir in version 9.0 for a few weeks and never had this problem. 

 

Any other thoughts would be appreciated!!!

 

Thanks,

 

 

 

 

0 Kudos
Message 11 of 12
(962 Views)

Hello BJD17,

 

I looked inside your .UIR and found that the data for one of the panels ("NMA_Diag") was corrupted. A part of the internal state of that panel had some objects in the wrong order, which caused CVI to refuse to load the entire file.

 

I have no idea how the .UIR got into that state. It's likely that some bug in CVI triggered a bad save of the .UIR and this was the result. If you think you could retrace your steps from when this UIR was last successfully loaded in CVI 8.5.1 until the time when you first saw this error, that might help us track down the bug. If you could reproduce this process that would help us find this bug.

 

I was able to salvage most of the .UIR (I think). After salvaging it, I saved it and was able to then load it successfully without running into this error. I'm attaching the modified .UIR here. You should be able to load it, and continue editing your panels as needed. When you load it, please review the NMA_Diag panel carefully. Pay close attention to each of the controls to make sure that their values are set correctly. If something was lost in the process it likely had to do with the values of the 29 controls in that panel.

 

Luis

Message 12 of 12
(951 Views)