LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI‘s name jumps up when error occurs during run the .exe file

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 .

0 Kudos
Message 1 of 12
(2,900 Views)

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 12
(2,895 Views)

ok,I will get an image of it.

0 Kudos
Message 3 of 12
(2,860 Views)

Sir, is there a method to let LaBVIEW just showing that there is an error,and without any further information of reality ?

0 Kudos
Message 4 of 12
(2,858 Views)

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.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 12
(2,848 Views)

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 .

1.png

 

 

But , I am sure I didnot use any of the .NET node on my diagram , as see below:

2.png

 

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 ?

0 Kudos
Message 6 of 12
(2,815 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 12
(2,811 Views)

Hi, 

 

 

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 .

0 Kudos
Message 8 of 12
(2,806 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 12
(2,796 Views)

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 ?

0 Kudos
Message 10 of 12
(2,793 Views)