LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Modified UIR does not work

In my application I have an UIR with 11 Panels. I need to modify the position on the screen of one panel, but if I applied this simple change the program does not work properly, because when I try to load the panel named "STEP" that I did not modify there is the following error:

FATAL RUN-TIME ERROR

"Trs.C" LINE 45 COL 18 THREAD ID0x000004C8

The Program has caused a ‘General Protection’ fault at 001B:684B47BF

Where Line 45 Col 18 corresponds to this program line:

if ((hStep = LoadPanel (hTrs, "trs.uir", STEP)) < 0) return -1;

 

The error disappear only if I load the panel STEP from the old UIR file or if I use the old UIR file without changes if I simply delete the changes made the error do not disappear.

I tried also to delete the STEP panel and copy it from the old UIR that works into the new one, but the error persists. The other 10 panels instead do not have problems.

Thanks for the attention.

Davide Contini

P.S. I used the Measurement Studio LABWINDOWS CVI version 6.0

0 Kudos
Message 1 of 3
(3,033 Views)
Hi,

are you able to reproduce this error also with an installed cvi example or this error happens only using your STEP panel?

If the error is related to the SETP uir, pheraps there is a corrupted object, then you can try to replace the objects of your uir.

Best regards

AmbuA

0 Kudos
Message 2 of 3
(2,976 Views)

Thanks very much.

You are right, probably one or more object in the panel were corrupted, in fact I rebuilded all the panel and now the program works properly and I am able to modify the UIR without problems.

Best Regards,

Davide

0 Kudos
Message 3 of 3
(2,948 Views)