08-13-2020 08:00 PM
08-14-2020 03:34 PM
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
09-22-2020 01:33 PM
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
09-22-2020 07:27 PM
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
09-23-2020 09:16 AM
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.
09-23-2020 03:38 PM
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
09-23-2020 04:45 PM
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?
09-23-2020 06:34 PM
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.
Correct the highlighted errors and try again.
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
09-23-2020 06:38 PM
I'll try a .zip, crossing fingers.
09-24-2020 04:11 AM - edited 09-24-2020 04:29 AM
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.