05-26-2023 09:17 AM
I learned about this because my desk is in a dead zone for wifi and cell coverage 😬
If I enable the mobile hotspot on my Windows laptop BEFORE I open my lvproj, I get Error 1 when I try to build the executable.
This is just a minor annoyance. To work around I just turn off mobile hotspot and re-open my project.
But it is very interesting and a distraction from my actual responsibilities, so I would like to know if anyone knows why this is happening?
How are the LabVIEW build and the mobile hotspot even coupled?
Is the error message accurate? What does GPIB have to do with anything?
Error Text
Click the link below to visit the Application Builder support page. Use the following information as a reference:
Error 1 occurred at AB_Application.lvclass:Create_INI_File.vi -> AB_Application.lvclass:Copy_Files.vi
Possible reason(s):
LabVIEW: (Hex 0x1) An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @.
=========================
Command requires GPIB Controller to be Controller-In-Charge.
Receipt:
05-26-2023 11:44 AM
The error information is misleading. Too many different things used "error 1" originally, and now the error message for "error 1" includes all of them for historical reasons. Disregard all of the GPIB stuff.
Basically in this case it's a "bad reference" error, i.e. there's supposed to be a reference (probably to a file, since it's giving an error during the "Create INI file" part of it) but it's not set or pointing at an invalid file.
Do you by any chance have anything that changes on your PC when you are connected with regards to your file system? Like maybe it connects a network drive?
05-26-2023 11:46 AM
Historically, some error codes were overloaded, so unless you have a GPIB controller, ignore that part.
Sorry, I have no idea what causes your error. I assume that the computer has wired access to the internet, right? What's in the *.aliases files next to the project file? What's the hotspot name (any unusual characters, etc.)?
05-26-2023 06:53 PM
Something else I just thought of. Since it appears to have a problem during the "Create INI file" portion, can you check the build spec(s) and tell us if you use a custom configuration file?
If you do, try turning it off and see if you can build. If you don't, try creating a dummy INI and select it. Either way, if doing this changes something, it'll give you something to look at more directly.