LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how concatenate date and array to write in excel?

Solved!
Go to solution

Hello

I have a problem to concatenate a date array and numeric array. can you help me?

I want save Measurement of a sensor with save time in an excel (row 1 column1 save date and row 1 coulmn : save sensor data). but I cant save these two value seperatly(my clocks cant do it). now, I want concatenate them at first and then save them. is it possible?

 

Best Regards

0 Kudos
Message 1 of 7
(3,095 Views)
Solution
Accepted by behzad1

Try the attached.  You'll understand it as soon as you see it.  If not, shout.

Message 2 of 7
(3,068 Views)

thank you Zwired1

your respons, really helped me.

just a problem is that, when I save data in the excel file, and read that a agein,  my date change to unkown number. for example: 11/10/2014 change to 41953! in labview. do you know why this happen?

 

Best regards

0 Kudos
Message 3 of 7
(3,039 Views)

Hi benzah1,

 

Attach your vi. It will be more helpful to solve the problem.

0 Kudos
Message 4 of 7
(3,033 Views)

Hello,

 

The date showing as a number is an Excel display format problem.

41953 is the Excel number representing 10 Nov 2014.

 

In Excel you need to....

Select the cells containing the date

Format -> Cells -> Number -> Date

 

 EDIT: This fix changes how the date looks when displayed in Excel. I am now not sure if your problem was when you display the result in Excel or after reading the Excel file back into LabVIEW.

 

 

Rod

 

 

Message 5 of 7
(3,027 Views)

Thank you Rod

in excel, show correct date. my problem is when I display the result in labview again.

 

 

 

.....................

 

Hello Vij@y

which code is need? i just read a date saved in excel. and format is problem.

 

 

 

Best Regards

0 Kudos
Message 6 of 7
(2,983 Views)

Hi Behzad1,

 

Attach the excel file and the code (after reading the Excel file back into LabVIEW).

0 Kudos
Message 7 of 7
(2,969 Views)