LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI analyzer, got all the subvi icons replaced with question mark

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?

 

 

 

labview.jpg

0 Kudos
Message 1 of 8
(3,213 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 8
(3,174 Views)

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 Smiley Very Happy

 

 

lab1.jpglab2.jpg

 


0 Kudos
Message 3 of 8
(3,171 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 8
(3,168 Views)

@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.

0 Kudos
Message 5 of 8
(3,163 Views)

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.

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 6 of 8
(3,159 Views)

 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).

0 Kudos
Message 7 of 8
(3,148 Views)

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

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 8 of 8
(3,132 Views)