02-13-2019 03:02 AM
Sometime when I run a build .exe file , an inner error occurs,and then the screen pop up the error subVI's name .I know it aims to help me locate the error , but that still may release important information of my algorithmic structure.
So I want to hide it ,what shall I do to accomplish this ? by setting ?where ?
Sorry , it is difficult to replay the phenomenon , I now have no picture of it .
02-13-2019 03:04 AM
Hi ali,
Sometime when I run a build .exe file , an inner error occurs,and then the screen pop up the error subVI's name . … what shall I do to accomplish this ?
Simple solution:
1. Avoid "inner" errors as much as possible.
2. Handle "inner" errors on your own instead of relying on LabVIEW to handle them…
What kind of errors are displayed? Please show an image of such an error dialog…
02-13-2019 06:13 PM
ok,I will get an image of it.
02-13-2019 06:27 PM
Sir, is there a method to let LaBVIEW just showing that there is an error,and without any further information of reality ?
02-14-2019 01:14 AM - edited 02-14-2019 01:17 AM
Hi Ali,
is there a method to let LaBVIEW just showing that there is an error,and without any further information of reality ?
Yes: handle all errors on your own! Then YOU decide which information is shown to the user…
Still you don't explain which errors you are talking about!
There are errors which you cannot handle unfortunately (like "out of memory" or "VI not executable"): you need to avoid them by checking inputs before executing relevant code.
02-18-2019 02:55 AM
this is one of the error appears after I run a build .exe on XP , while the .exe is build on WIN7.
it tells me that .NET 4.0 is required .
But , I am sure I didnot use any of the .NET node on my diagram , as see below:
I suspect that , some .NET methods or properties are used by LaBVIEW, so even I didnot use .NET node on my codes , .NET is stilled needed, But I am not sure ....
and then ,what is the real matter of it ?
02-18-2019 03:11 AM
Hi ali,
this is one of the error appears after I run a build .exe on XP , while the .exe is build on WIN7. it tells me that .NET 4.0 is required .
I guess the LabVIEW RunTimeEngine relies on some .NET functionality and requires a certain .NET version as you create the EXE with Win7. You need to provide the same drivers on your WinXP computer.
Did you create an installer for your executable?
Did you install .NET version 4.0?
02-18-2019 03:58 AM
Hi, GerdW
you should be right , the LabVIEW engine relaies on the .NET 4.0 modules.
But if I install full version LabVIEW on a WIN7 that without .NET 4.0, and run a VI, such error will not appear .
So I assume that ,when I building an installer , LabVIEW will not include the .NET 4.0(so such error appear on that XP), and When I install full version LabVIEW , .NET 4.0 support will be installed .
Did you create an installer for your executable? yes.
Did you install .NET version 4.0? not on the XP system that run the .exe file .
02-18-2019 04:45 AM
Hi ali,
But if I install full version LabVIEW on a WIN7 that without .NET 4.0, and run a VI, such error will not appear .
Because Win7 is much newer than WinXP and already comes with .NET4.0 (or did receive that by updates)…
In the end both OS versions are outdated: WinXP since several years, Win7 from January 2020!
02-18-2019 05:18 AM - edited 02-18-2019 05:19 AM
NO,not really .
even on WIN7 system ,such error will appear. warning that ".NET 4.0 is required......"
So , I consider that , .NET 4.0 will be installed together with LabVIEW full develop version , or installed with a standalone installer from Microsoft's website , or CAN BE with the WIN7 system when it is installed .
WIN7 will not bring .NET 4.0 naturally .
am I right ?