LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1498 occurred when I tried to build an EXE

When I tried to build an exe for my project yesterday, an error occurred straightly after I pressed the button of New Applicaiton(EXE). The project can run without error. Moreover, I didn't get this error on my own laptop unless I use the computer in the company. The complete error information is as below: Error 1498 occurred at Get LV Class Default Value.vi. Possible reason(s): LABVIEW: Library has errors. Fix the errors before attempting this operation. Complete call chain: Get LV Class Default Value.vi AB_UI_Initialize_Framework.vi AB_UI_FRAMEWORK.vi AB_CreateNewWizard_Invoke_CORE.vi EBUIP_CreateNewWizard Invoke.vi EBUIP_CreateNewWizard_Invoke.vi.ProxyCaller Labview attempted the load the class at this path: C:\program Files\National Instruments\LABVIEW2010\vi.lib\AppBuilder\AB_Classes\Build\UI\AB_UI_Frmwk_Build.lvclass
0 Kudos
Message 1 of 17
(2,475 Views)

What version of Windows are you running?  You appear to be running LabVIEW 2010, which is not compatible with versions of Windows newer than Windows 7.  You might get the code to run in Development mode, but that doesn't mean that you can build an Application that will run.

 

Bob Schor

0 Kudos
Message 2 of 17
(2,411 Views)

Bob, I'm getting same error and I am running 2020 Community. Is this a compatibility issue. They give an example of building a standalone executable on the 2020 Community page. Also, the project is being built to run on a Rasperry Pi using the Makerhub Linx tools.

 

Thanks,

Marc

0 Kudos
Message 3 of 17
(2,319 Views)

Haven't yet installed 2020 Community, but others on the Forum certainly have.  Perhaps if you attach your Project and explain how to get the failure, someone will take a look and may be able to help.

 

Bob Schor

0 Kudos
Message 4 of 17
(2,306 Views)

This can happen if the class that you want to load has some missing dependencies. Use a value of 0x10 for the "options" input of the Get LV Class Default Value.vi. This will display a user dialog for selecting missing dependencies of that class. You need to make sure that all dependencies are found at the expected path or they are already in memory at the moment of loading the class.

Lucian
CLA
0 Kudos
Message 5 of 17
(2,296 Views)

Ok, So my project and created sub VIs are attached. The forum keeps kicking out my project so I loaded a jpg, it's not complicated it just has the Gas Flow GUI in it the other two are sub VIs in the Gas Flow GUI.

 

Basically, I am working on a project which will require a Raspberry Pi to act as a RIO or data acquisition device and would like to have it stand alone. Also, I would like the solve for most problems to be "reboot the RP", which should then start the software and spitting out data written to a list of shared variable (i have not added the SVs yet). Now that I know that i can write usable code to the RP and use i2c protocol effectively, the next question is 'can i make an executable or real time app and store it on the Pi'.

 

issue: when I go to build the RT app, just right clicking on "build specifications" and selecting Real-Time Application, the process starts but stops after awhile at Error 1498 (build error pics attached)

 

I figure at the best this has something to do with how I have 2020 community set up, worse case 2020 community can't build RT apps to RP.

@LucianM

has suggested to change the value of the Get LV class default value.vi. This must be buried in a sub vi if it is a dependency...because i didn't intentionally call it. So let me know where I need to look for this stuff.

 

Thanks in advance

Marc

0 Kudos
Message 6 of 17
(2,286 Views)

We need your project to see the settings for your build. 

 

Do you plan to have a GUI on the Pi? GUI's are not supported by the Pi. 

Have you tried to build a very simple vi to an exe for the Pi? 

0 Kudos
Message 7 of 17
(2,278 Views)

I'll try to post the project here, not sure why the forum is rejecting it. Ok, I keep getting this error. I can email it directly if that helps.

 

I am aware, or at least have read that GUI's are not an RP thing. Mainly, if i can get it to populate shared variables or EPICS variables I can pass them to a monitoring system.

 

Marc

0 Kudos
Message 8 of 17
(2,274 Views)

I'll try a .zip, crossing fingers.

0 Kudos
Message 9 of 17
(2,268 Views)

In your project, there is no build specification, so I can't see what you are building. 

 

A lot of you vi's looks like they are GUI enabled. This can be misleading for a Pi project. 

But one thing I would change is the formula express block. Remove that and use LabVIEW primitives. My bet is that is your problem. 

 

Also, you are using Local variables way too much. You can for the most part use wires. 

0 Kudos
Message 10 of 17
(2,252 Views)