LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with image display in UIR files of CVI 6

Hi to all,
I have a problem with the display of images in UIR files of CVI 6.
I found out that images (in a picture control or in a Canvas Control) are
displayed wrong after I have saved them and reloaded an UIR in CVI 6. During
editing everything is fine, but when the UIR is reloaded (in the UIR Editor
or in an application) the picture is displayed with wrong colored strips.
The same UIR's where fine in CVI 5.5. The problem is more visible on larger
pictures. I have tested this on several machines, but all running Win2k.

Has anybody an idea?

Thanks
Torsten
0 Kudos
Message 1 of 5
(4,239 Views)
No answer unfortunately, but we have seen the same problem running 98 and NT. It seems to be particularly bad with our company logo.

Paul Rocca
0 Kudos
Message 2 of 5
(4,239 Views)
We have had some reports of errors when users are placing icon images on their .uir file. (.ico) I do not know of any problems with other file types. The problems that we have seen also tend to be in the 32 true color setting. If it is possible to switch to 256 of 16 you may want to try that.
0 Kudos
Message 3 of 5
(4,239 Views)
Thats, correct!
I found out that CVI 6 has problems saving image data in UIR files (TUI
files too) when a 32-bit color depth is active. The problem does not occur
in 8-bit and in 16-bit modes.

Seems to be a bug in CVI 6, in CVI 5.5 the same works fine.
Maybe one of the NI develolpers reads this and can provide a patch.
Unfortunately my graphic device driver only supports 8, 16 and 32 bit modes,
so i can't solve the problem without loosing true color display.

I gave the info already to the support team of NI Germany.

Torsten

"DMcC" schrieb im Newsbeitrag
news:506500000005000000154D0000-1004225886000@exchange.ni.com...
> We have had some reports of errors when users are placing icon images
> on their .uir file. (.ico) I do not know of an
y problems with other
> file types. The problems that we have seen also tend to be in the 32
> true color setting. If it is possible to switch to 256 of 16 you may
> want to try that.
0 Kudos
Message 4 of 5
(4,239 Views)
The ico color distortion under CVI 6 maybe fixed by setting your computer Display properties. For example, right clicking your screen >> Display properties >> Setting >> Color quality >> Medium (16bit). If the color quality is Highest (32bit), the saving of UIR may cause problems. Saving and compiling you CVI project under color quality of Medium (16bit), it seems work well. The ICO in the program seems also good. When running under highest color quality display PC.
0 Kudos
Message 5 of 5
(3,959 Views)