LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW error code3: Could not load front panel.

Solved!
Go to solution

Hi 

 

I am getting second time the "LabVIEW error code3: Could not load front panel." when working with the development environment of LabVIEW 2009 SP1.

It is really annoying as I loose time as I have to revert to saved previously code. 

 

Does anybody know where it may be coming from and how to avoid it?

 

Thanks

Pawel

 

0 Kudos
Message 1 of 9
(6,219 Views)

Pawel,

 

there are several different possible reasons for this. Sadly, you provided too less information to give detailed guidance.

 

My first guess is, that you left panel bounds corrupting the front panel. Even if LV does not give you any indication, there are maximum panel bounds. Leaving those might lead the VI to act odd, your error message being one possible outcome.

 

I can provide more guesses if you go little more into detail (attach vi?) regarding your frontpanel.

Ah, and in addition: my guess is, that it only affects certain vis, does it?

 

thanks,

Norbert

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

Hi Norbert

 

I cannot attach the vi, but I will try to explain what I can, although there is really not much to explain.

The error is only relating to the single vi, the top level, where most of the work is beeing done. I was working with it entire day and the next morning when I simply tried to open the VI I got that message when I tried to load the vi.

All I can do is to press OK on the dialog box. No other messaged nor options. Simply LabVIEW cannot load the file. 

 

I am not sure what you mean by panel bounds? Can you explain please?

What other information would you need?

 

thanks

Pawel

 

 

0 Kudos
Message 3 of 9
(6,207 Views)

Pawel,

 

the panel has an origin which you can see in your VI:

panelorigin.png

 

Every element will be placed in a position in regard to this origin:

fpelementposition.png

 

The position has a limit in regard to the bound. I am not sure about the value, but it should be around -35k...35k (or the double of it)....

 

hope this helps,

Norbert

 

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

OK, I will check that in the future.

 

For now, is there a way I can fix the vi somehow so it at least loads it?

 

cheers

Pawel

 

0 Kudos
Message 5 of 9
(6,197 Views)
Solution
Accepted by pawel

Pawel,

 

if the frontpanel is corrupted, there is not much we can really do about it. So the best thing is to make sure that the frontpanel will never get corrupted at all.

You can write a small VI using VI Server to check for the element positions in your VI. If there are positions way of, reposition them before saving the VI.

 

Another reason might be many, overlapping controls (including malfunctioning XControls?)....

 

hope this helps,

Norbert

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

Thanks Norbert

 

I will remember about theese.

 

Pawel

 

 

0 Kudos
Message 7 of 9
(6,166 Views)

Hi, I was experiencing the same problem. I tried the method above, but could not fix the problem. Could you or anyone be able to open the attached subVI and send it back to me at mdeng@ksr-tech.com I highly appreciate your help!

0 Kudos
Message 8 of 9
(5,159 Views)

Hi maxdgq,

 

I cannot open the VI unfortunately.  What version of LabVIEW are you using, and did you make any specific changes to the VI that made it stop opening properly?

Andrew T.
National Instruments
0 Kudos
Message 9 of 9
(5,131 Views)