LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time stamp to excel .....some thing is wrong in my program

I tested the VI on a win 7 (32 bit) with LV 2010 SP1.

The VI works perfectly fine. Except of course when the path of destination file is invalid (in which case, it throws an error)

I could not reproduce a hang. Could you try it again. And see which node is causing a hang (or if it hangs right at the start of the VI run)?

 

Regards,

Prashanth N
National Instruments
0 Kudos
Message 11 of 15
(292 Views)

Actually it runs now but giving me ####### on Excel. and it hangs when i tried to stop the VI.

 

 

0 Kudos
Message 12 of 15
(291 Views)

Ah, that's expected. You just need to resize your cell long enough to see the date/time.

Doesn't the VI run completely and end by itself?

 

Regards,

Prashanth N
National Instruments
0 Kudos
Message 13 of 15
(286 Views)

OK now i found that if i run it continuasly then it hangs but run once is fine. i tried to resize the cell after

running the program and i go "26-15-yy hh:15:02 AM" this. but still not showing the proper format i mean "2011-09-26  11:15:02"?

0 Kudos
Message 14 of 15
(282 Views)

I think the hang must have something to do with your RAM, because I do not see this program being very memory intensive.

About the format, you can just change it in the constant in the block diagram. 
Replace the string constant contents with this:

 yyyy-mm-dd hh:mm:ss AM/PM

 

Hope I helped!

Prashanth N
National Instruments
0 Kudos
Message 15 of 15
(280 Views)