LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LabWindow/CVI 8.5 won't start anymore

Hello,

The IDE won't start anymore. I have the splash screen then a pop-up widows appear with the following message : "The attribute value passed is not valid.". I have try to to a "Repair" from the installation CD, but it doesn't fix anything.

Best regards,
Yannick
0 Kudos
Message 1 of 14
(4,999 Views)
Hello Yannick,
 
The most likely cause for this problem would be if CVI, at startup, is trying to open a .uir file that was loaded the last time you ran, and there is some internal error associated with opening this file. In order to rule that out, you should temporarily remove the following registry value:
 
Key: <HKEY_CURRENT_USER\Software\National Instruments\CVI\8.5\Project>
Value: <Path>
 
If CVI does start up okay after you do that, then we know that the problem comes from loading the previous workspace. You can then confirm this by explicitly trying to load the workspace and see if the error still happens. You can then open the .cws file in some text editor, and look for any .uir files that are listed in there (under a group named "File 0001" or something like that). If you do find such a .uir, try opening it explicitly in CVI. If the error does happen at that time, then we know it's something specific about that .uir. In that case, I would ask that you attach the .uir here in a post, so that I can take a look at it and try to figure out what's wrong. If you're not comfortable posting the .uir publically, you can use our ftp server.
 
Luis
0 Kudos
Message 2 of 14
(4,976 Views)
Hello,

I have remove the key... and still have the exact same error...

Best Regards
Yannick
0 Kudos
Message 3 of 14
(4,956 Views)
Hmm... okay. I might have missed some other important key. Try renaming the entire HKEY_CURRENT_USER\Software\National Instruments\CVI\8.5 folder.
 
Luis
0 Kudos
Message 4 of 14
(4,936 Views)
Thanks Luis... I have rename the whole 8.5 tree and it's working now.

Yannick
0 Kudos
Message 5 of 14
(4,912 Views)

That's good. I'm glad it's up and working now. Still, the error you were receiving was definitely unexpected, and I would love to be able to debug it, if possible. If you still have the old, renamed, 8.5 registry tree, would you be able to export it to a .reg file and attach it here?

Luis

0 Kudos
Message 6 of 14
(4,895 Views)
Hello Luis,

Does the registry contains the license ? Do you have a FTP or email where I can send it?

Yannick
0 Kudos
Message 7 of 14
(4,875 Views)

The registry does not contain the license. You can submit it to this ftp server.

Thanks,
Luis

0 Kudos
Message 8 of 14
(4,853 Views)
Hello Luis,

The file is on the FTP and is named 4Luis_CVI85_RegCrashing.zip

Regards,
Yannick
0 Kudos
Message 9 of 14
(4,836 Views)

Thanks Yannick,

I found out which registry value was bad, that was causing the error at startup. Unfortunately, there is no way of knowing how that value got there in the first place. So I can't find the underlying cause of the bug. But if you'd like to be able to go back to using that set of preferences, I can tell you what value to change:

Key: HKEY_CURRENT_USER\Software\National Instruments\CVI\8.5\WindowPositions
Value: ProjectWindowSplitter1

The bad value that's there now is 726. That value is bad because it's bigger than the difference between ProjectWindowRight and ProjectWindowLeft. If you change it to something significantly smaller, then you should be able to go back to using that registry sub-tree.

If for some reason this happens to you again, try to remember the last thing you did in CVI before you exited, so that it might give us a clue as to why this happened.

Thanks for your help!
Luis

Message 10 of 14
(4,813 Views)