LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Waveform Graph producing "front panel cannot load" when built into exe

Hi,

 

I'm trying to get a large labview project that someone else wrote running on my computer. When I tried to build the project into an exe, I received an error that the front panel of a sub-VI could not load.

 

I read all the discussions on forums about making sure the front panel is included int the build, and it is. With a lot of troubleshooting, I have narrowed down the cause of the error to one simple Digital Waveform Graph. I've slapped it onto a VI all by itself, with no code in the block diagram and I still get an error when building into an exe.

 

Does anyone have any idea why this graph would cause this error? You can try including this VI into a project yourself, and then building an exe from it. I suspect you will see the same error as me when trying to open the exe file.

 

 

 

 

Download All
0 Kudos
Message 1 of 11
(3,266 Views)

Udpate:

 

Interestingly, I have found that if I try and change the "plots shown" field of the Digital Wavefrom Graph (right click graph, select properties, navigate to appearance tab), then save the settings, then re-open the properties windows, the "plots shown" will read a ridiculously high number (not whatever number I set it to).

 

This behavior seems like a bug. It may or may not be related to the "cannot load front panel" error.

0 Kudos
Message 2 of 11
(3,253 Views)

Hi,

 

so I've downloaded your vi and compiled it into a project where I then created an application with just the All Logs Viewer.vi and everything seems to run correctly. I do not seem to get the same error you are getting. Which version of LabVIEW are you using? Could you give a bit more detail about the system?

 

Thanks,

Gabriel M.
Product Marketing Engineer - Academic Courseware
National Instruments
0 Kudos
Message 3 of 11
(3,229 Views)

I'm testing this on a Windows 7 64-bit machine running LV 2012.

 

Here is a zipped project with a build specification called "Digital Waveform Graph." When I build it, I get the load front panel error. See if you get the same results. Thanks!

0 Kudos
Message 4 of 11
(3,185 Views)

So I've downloaded your file and built the "Digital Waveform Graph" build specification. Can you list the error message you get along with the error code? I've tried building and running this on my computer and a colleague's computer as well. Do you have another computer available with LabVIEW running, if so could you try it out on that computer?

 

Just to double check, you've gone through and made sure that the front panels for the subVIs are included in the build specifications right? Also, are you using LabVIEW 2012 32-bit or 64-bit?

 

Thanks

Gabriel M.
Product Marketing Engineer - Academic Courseware
National Instruments
0 Kudos
Message 5 of 11
(3,171 Views)

I have tested this build on a Windows XP 32-bit laptop running LV 2012 32-bit, as well as a Windows 7 64-bit laptop running LV 2012 32-bit. Both yield the same error upon opening the build EXE. Error message is attached.

 

I'm also attaching the built EXE.

 

What platform and LV version are you using when testing this?

Download All
0 Kudos
Message 6 of 11
(3,165 Views)

Hi I'm running a Win 7 64-bit with 32 bit LabVIEW 2012 and I've also run this on Win 7 32-bit with 32-bit LabVIEW 2012 and they both seem to be running fine. Even the executable you've just sent does not seem to have that error. How big is your project? would it be possible to upload that? I'm not sure what else we can do aside from that though since I have not managed to reproduce the error on my end with what you have been giving me.

 

Just to check, you're saying that the executable you've built and attached in your last post does not run at all? When you try to run it that just gives you an error correct?

Gabriel M.
Product Marketing Engineer - Academic Courseware
National Instruments
0 Kudos
Message 7 of 11
(3,137 Views)

The main project is over 100 VIs and has dependencies in many directories so I would rather not upload it at this point.

 

During my testing, I isolated the issue and created the much simpler project that I attached above (called "Digital Waveform Graph"). Yes, you are correct, the EXE I've attached does not run at all. Upon opening, the error pops up.

 

Since we both tested on the same platform and got different results, do you think this could have something to do with the National Instruments Drivers or other software I have installed?

0 Kudos
Message 8 of 11
(3,119 Views)

Booch,

I do not get an error running the exe you attached.


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 11
(3,114 Views)

Might this issue be related to the following bug that was fixed in LV 2012 SP1?

 

The bug ID is 373150.

 

http://www.ni.com/white-paper/13994/en/#373150_by_Category

 

In the meantime, I'm going to test the EXE on several other laptops, and then possible upgrade to SP1 and see if that fixes the issue for me.

0 Kudos
Message 10 of 11
(3,104 Views)