03-10-2008 04:54 PM
03-12-2008 06:05 PM
03-13-2008 11:43 AM
Hi Jessica,
I recreated the control from scratch and it fixed the problem. This is what I did:
Experiment 1: Created a new ring. replaced the constant name/callback from the corrupt ring into the new ring. The corrupt ring now has a new constant name. I rebuilt. All the corrupt controls on the panel are now okay including the brand new one.
Experiment 2: I left corrupt controls on the panel untouched. I created a new ring. I rebuilt and all the controls, new and old now look fine.
So what is the explanation for this? Does creating a new ring in a newer version of CVI "fix" the bug in the entire panel?
Letty
03-13-2008 11:52 AM
Jessica,
I forgot to say that I am not sure if this app was ever built in CVI 5.x. Some people remember doing it in 6.x. I just started working here in December, but apparently this application has been around since at least 5 years ago, but people are not sure really how old the thing is or what version of Lab Windows/CVI they used.
03-13-2008 12:09 PM
03-18-2008 08:38 AM
Hi Letty,
This appears to be a bug that existed in an older version of CVI. We were
able to reproduce something similar on our end and were able to fix this by
save the .uir file as a text file and then restoring it back to a .uir file
again. This can be done by the following steps:
1. Back up your project and uir file.
2. Save your uir as a tui by going to Options » Save in Text Format...
3. Load your tui as a uir by going to Options » Load from Text Format...
Note: When you load the tui file back up, it will create a new UIR file with
the same name as the tui file you created.
This process should fix those controls so that you don't have to recreate them.