LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I get "error code 3: Could not load front panel" when I run my executable.

I have a LV 8.5 VI that controls only an agilent spectum analyzer. The agilent VIs call DLLs rather than SCPI commands. I created an application and an installer to load on a non LV machine and ran setup which was successful. When I run the EXE I get "error code 3: Could not load front panel" for each of my agilent spectrum analyzer VIs. I have to click "OK" about ten times, once for each VI. (My executable runs fine on all machines that have labview 8.5) The front panel does load with a broken arrow. The errors listed when the arrow is clicked for all of the Agilent VIs state: Missing subVI AGE444xInitialize.VI (or close.VI or read.VI etc.)

There is an AGE444x32.DLL in the data folder with the EXE file so I included as support both the DLL and all of the agilent drivers in the application build. Still no luck. I have built the application and installer about 6 times in various forms. I NEED AIR SUPPORT.

Unfortunately I do not have access to the internet at my jobsite so bear with me.

Rob
0 Kudos
Message 1 of 3
(3,072 Views)
I figured it out. The machine without LV on it didn't have NI VISA installed although it did have the run time engine. Once I installed NI VISA it was good to go.
0 Kudos
Message 2 of 3
(3,043 Views)

Hi V-rob,

I'm glad to hear the executable is working now that NI-VISA is installed.  Thanks for posting the solution!

Jennifer R.
National Instruments
Applications Engineer
0 Kudos
Message 3 of 3
(3,032 Views)