LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview.exe error is generating

It is giving me labview.exe has generated error message, when I am trying to generate, data log file with time stamp, to find last run of my program. I have attached the vi here.

Message Edited by Support on 04-13-2006 10:46 AM

0 Kudos
Message 1 of 3
(2,677 Views)

I'm assuming that the VI you posted is running as a subVI in your main and that you are getting the path somewhere else. If that's the case, then you should know that the path to a folder is different when you build a executable. For example, if you use something like Current VI's Path, in the development environment, it might be something like c:\folder\example.vi. In an executable, the path would be c:\folder\application.exe\example.vi. You need to do an extra strip path in an executable. You can use the Application property called Application.Type to determine whether or not you are working with an exe or development system to decide whether or not to do an extra strip path. There have been numerous postings on this exact same topic and if you need example code, you can search the forum.

p.s. It's not a good idea to post your phone number and email address in a public forum unless you enjoy spam and unsolicited phone calls. It's also a bit unreasonable to expect the users of this forum (most of whom do not work for NI) to respond directly to you.

Message Edited by Dennis Knutson on 04-13-2006 09:22 AM

0 Kudos
Message 2 of 3
(2,670 Views)
Thank you very much, i didn't even thought about spam and all that!
0 Kudos
Message 3 of 3
(2,659 Views)