06-11-2013 11:43 AM
Hi,
After I tried VI analyzer my curiosity was punished with all subvi icons replaced with "?".
If I resave subvi icon appeares back but I have over 1K of subvis in my project so this is definetely not the way out.
Does anyone know how to get rid of that stupid option automatically?
06-12-2013 02:40 AM
As the VI Analyzer doesn't modify the VI(s) you perform tests on, i am really curious about this behavior.
At least, i havent seen it in the past.
Does this behavior also occur if you run VI Analyzer on a very simple VI which contains only a couple of subVIs?
Does this effect occur for ALL subVIs (even those from vi.lib-folder) or is it specific to a group/folder/... ?
Please backup your code base before doing this:
Run the VI Analyzer and make sure that you see the described behavior. Close all VIs without saving any. Reopen the VI(s). Is the issue still there? Do you see any uncommon "search" dialogs?
Norbert
06-12-2013 03:35 AM - edited 06-12-2013 03:36 AM
Hi Norbert,
I tried to analyze smaller VI which contains only a few subvis, no troubles detected.
It looks like this bug may appear randomly when you analyse the whole project which may consists of many files.
I can describe my sequence:
Step 1: Labview Project Explorer window, rightclick on project library file to analyze whole project.
Step 2: Run analyzer with default settings
Step 3: As soon as result window appeared, I started clicking on occurances randomly
Step 4: I agreed to save results and closed project.
Step 5: Next time when I opened it, bang, I got all the icons swopped.
Bug is not harmful to SW it works fine. And as soon as you re-save VI icon appeares back again.
The only one trouble to resave thousands VIs via Labview interface.
To be honest I was 99% shure it is again new NI feature
06-12-2013 03:39 AM
Instead of saving thousands of VIs manually, you can use the Mass Compile tool to do this. Is the effect with weird icons gone once you mass compiled?
Norbert
06-12-2013 04:17 AM
@Norbert_B wrote:
Instead of saving thousands of VIs manually, you can use the Mass Compile tool to do this. Is the effect with weird icons gone once you mass compiled?
Norbert
Nope, It doesnt work here, you need to open Icon Editor as well, only after that Icon appears back.
I can attach sample file with corrupted icon so that you can paly a bit with it.
Click on "?" icon and you'll see the original picture.
06-12-2013 04:23 AM - edited 06-12-2013 04:24 AM
Hm, very weird.....
Did you try running VI Analyzer outside a project on the VIs?
Norbert
EDIT: Please do NOT select the library for the VI Analyzer task, but select individual VIs and see if that "replaces" the icons.
06-12-2013 04:40 AM
Please do NOT select the library for the VI Analyzer task, but select individual VIs and see if that "replaces" the icons.
As I said, it is OK to analyze individual VIs (or at least I seen no problem).
06-12-2013 08:44 AM
Also for the VIs in your library?
If it is OK, please replace your lvproj as a first step. It seems to me that either lvproj or lvlib is somehow creating this issue.
Norbert