From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save string to in excel file with time stamp

Hello!

 

I just stuck on saving string in excel file with time stamp.

please see attached file, data is saved in excel as number instead of actual string.

 

need help on this.

 

Regards

asif

Download All
0 Kudos
Message 1 of 6
(1,140 Views)

Hi asif,

 

you save a timestamp value to your file and you get a (numeric) timestamp value in Excel - what's wrong with this?

 

Btw. it most often is easier not to use ExpressVIs…

Best regards,
GerdW


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

thanks for your replay

 

i want to save string from string control.

when i write any string, it should save in file with date and time.

 

thanks

asif

0 Kudos
Message 3 of 6
(1,109 Views)

Hi asif,

 

use WriteDelimitedFile instead of those ExpressVIs to gain full control over file formatting…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(1,107 Views)

Thanks

can we set header in file...

 

thanks

asif 

0 Kudos
Message 5 of 6
(1,093 Views)

Hi asif,

 


@Asif138 wrote:

can we set header in file...


Yes, sure!

 

You can write anything you want to a file: you juts need to implement that in your VI…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(1,078 Views)