LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong data and time for application build in LabVIEW 6.1

When building an application using LabVIEW 6.1 the resulting exe file has a date and time of 11/30/01 7:30 PM. This happens frequently but not always. How can this be avoided? I am running on a Win98 system with the correct system date and time.
0 Kudos
Message 1 of 5
(2,894 Views)
This is a known bug in the application builder.

Mostly when you delete an existing executable (you are about to overwrite), it will create a new file with the correct date and time.
0 Kudos
Message 2 of 5
(2,894 Views)
This was actually a bug with Windows 95/98. It did not seem to happen in other versions of Windows. You may want to take a look at this NI Knowledge Base which discusses the issue and why it happens.
J.R. Allen
Message 3 of 5
(2,894 Views)
Rick,

The OpenG Application Builder add-on (http://ogab.sourceforge.net) has a fix for this Windows bug. Unfortunately it is not upgraded for 6.1 yet. You can find a fix (still 6.0) at my labview page (http://cybertechs.qc.ca/~jpdrolet/labview) that you can rather easily port to 6.1 if you look at how it works.
Basically, the fix replaces a VI in the application builder LLB . The replacement VI calls the original VI (this VI makes the exe file) and then "touches" the maked executable file until the file dates are consistent.
Maybe the fix can be port without changes to 6.1 if the VIs names and connector panes didn,t changed. Then the only thing to do is to modify the installer so it allows installation on 6.1.


LabVIEW, C'est LabVIEW

0 Kudos
Message 4 of 5
(2,894 Views)
It occurred for me in Windows 2k Pro, with LabVIEW 6i and 6.0.2
0 Kudos
Message 5 of 5
(2,894 Views)