LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why do I get Error 42 when I build a RT-exe with numbers in the Target file?

Solved!
Go to solution

I can build a RT-exe without numbers in the Target Filename without any problems.

 

As soon as I put a number in the Target Filename, lets say startup1.rtexe, I get the following error:

 


Fehler 42 ist bei Ordner erstellen in Create Directory Recursive.vi->AB_Destination.lvclass:Create_Destination.vi->AB_Build.lvclass:Create_Destinations.vi->AB_Application.lvclass:Create_Destinations.vi->AB_Build.lvclass:Build.vi->AB_Application.lvclass:Build.vi->AB_RTEXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller aufgetreten

Mögliche Ursachen:

LabVIEW:  Allgemeiner Fehler.

C:\Dokumente und Einstellungen\es-enn-extern1\Eigene Dateien\300. Programme\c\ni-rt\startup\startup.rtexe\LabVIEW 2009

 

I use LV 2009, and I can't remember having this problem with LV 8.2 or 8.6. This made it a bit hard for me to figure out where the problem might be.

 

Now I would like to use numbers in the Filename (e.g. version1.0.rtexe, version1.1.rtexe...). Any ideas how to make this work?

 

 

0 Kudos
Message 1 of 21
(4,146 Views)

Hi,

 

I can build RT executables with the name "startup1.exe" without error.

Could you paste your project just with the complete target part?

 

 

Christian

0 Kudos
Message 2 of 21
(4,132 Views)

thanks for the answer Christian

 

here is a dummy project where I experience the same problem (LV 2009).

Message Edited by kein on 12-15-2009 09:01 AM
0 Kudos
Message 3 of 21
(4,122 Views)

Hi,

 

And this error 42 only appears when you create an executable with a number in it's name? So my question is does it work at all?

Btw, it should work on both, Pharlab and VXWorks controllers.

 

 

Christian

0 Kudos
Message 4 of 21
(4,116 Views)
yes, only with numbers in the filename. without numbers it works fine.
0 Kudos
Message 5 of 21
(4,112 Views)

I noticed you have german LV. Though the RT Module is english, could you please change your country settings once to english (under windows control panel) and try to make an startup1.rtexe again. I'm just wondering if it could be a localization problem.

 

 

Christian

0 Kudos
Message 6 of 21
(4,106 Views)

i changed the country settings to english (under windows -> start -> control panel -> region and language options)

 

but I'm still getting the error 42.

 

With the project I send you, do you get also error 42, or does it work?

0 Kudos
Message 7 of 21
(4,085 Views)

Yes your project works, like every other one on my system.

I tested it with VISTA 32bit German, using LV861 and LV2009, with names like startup1.rtexe, startup1.0.0.1.rtexe, without problems.

 

Did you restart LV after changing the country settings?

 

 

Christian

0 Kudos
Message 8 of 21
(4,080 Views)

yes I restarted LV with the new settings.

 

can you send me your project back so I can test it on my system again? did you made any changes to it?

0 Kudos
Message 9 of 21
(4,074 Views)

I just added an existing target to build an run the executable. You will find it attached.

 

At this point I would suggest to repair your LV RT Installation under the Control Panel.

 

 

Christian

0 Kudos
Message 10 of 21
(4,071 Views)