LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Why LW/CVI 7.0 is not able to open an UIR file created with LW/CVI 5.5.1 ?

I can not open a UIR file created with LW/CVI 5.5.1 under win NT, with LW/CVI 7.0 under win2000.
Error message
Unable to open user interface ressource file
... (the attribute value passed is not valid)
0 Kudos
Message 1 of 12
(4,311 Views)
"marcus" wrote in message
news:506500000008000000F6C90000-1079395200000@exchange.ni.com...
> I can not open a UIR file created with LW/CVI 5.5.1 under win NT, with
> LW/CVI 7.0 under win2000.
> Error message
> Unable to open user interface ressource file
> .. (the attribute value passed is not valid)

It appears that the file sharing attribute may be preventing you from
opening the file. Right click on the source folder (or file name itself) in
Win NT from where you are copying the file. You may need to click further
on properties to see file sharing attributes. If you see something like "do
not share the file", change it to "share". Copy and try to open in W2K.

HTH

**************
Mohan Pawar
0 Kudos
Message 2 of 12
(4,302 Views)
Marcus,

CVI 7.0 should be able to open any .UIR file created with an earlier version. Is it possible for you to attach the file to this thread, so that I can try to find out what is wrong?

Luis
NI
Message 3 of 12
(4,302 Views)
I resolve my problem changing the panel attributes with CVI 5.5.1. however I don't understand why this file has generated an error.
0 Kudos
Message 4 of 12
(4,302 Views)
Marcus,

Thanks for attaching the file. I was able to reproduce it in CVI 7.0, and realized that the problem was being caused by a bug that we had fixed only a couple of months ago. This bug was introduced in 7.0 and manifested itself whenever a table with no rows was scaled. In the case of this file, the scaling took place at load time because you had set the Resolution Adjustment property of the panel.

It sounds as if you've already worked around the problem, but if you need to go back to CVI 7.0 and edit it for whatever reason, just remember to disable Resolution Adjustment.


Thanks for reporting this, and sorry for the inconvenience. The fix will be included in CVI 7.1.

Luis
0 Kudos
Message 5 of 12
(4,303 Views)

Luis,

I have similar problem with panel resizing, but I do not have any table.

If I several times min./max. panel I get message: The attribute value passed is not valid.

My control buttons get out of order and program crushes after several min./max. panel resizing.

I do use CVI V6.0.  Is this fixed in newer versions of CVI?

Thanks,

 

0 Kudos
Message 6 of 12
(4,178 Views)
This is probably unrelated to the other problem, but if you attach your UIR here, along with instructions for what to do to reproduce the problem, I'll be happy to look into it.

Luis
0 Kudos
Message 7 of 12
(4,156 Views)

Luis,

My program receive data from serial port, plot and display. Panel and controls get messed-up, overlap and labels gets out of controls with funny sizes if I resize panel during serial data reception only.

here is my UIR file.

Thanks,

0 Kudos
Message 8 of 12
(4,137 Views)
Luis,
Sorry  UIR file is here:
 
0 Kudos
Message 9 of 12
(4,138 Views)
I sized your datalogger panel back and forth a few times in the UI editor, but I didn't see anything wrong.

Based on your last post, it looks as if this problem only happens when you are actually running your program, and not just sizing the panel in the UI editor. In that case, I'll need you to attach some simplified form of your program that reproduces the problem. Is this something you can do?

Luis
0 Kudos
Message 10 of 12
(4,123 Views)