Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to write data this format..

I made csv file.. but the problem is that it can't write colum area..
i want to operate like below ..


2013.08.28 14;24

Num 1 2 3 4 5 6
Bank voltage 0 0 0 0 0 0
Max. cell voltage 0 0 0 0 0 0
Avg. cell voltage 0 0 0 0 0 0
Min. cell voltage 0 0 0 0 0 0
Max. temperature 0 0 0 0 0 0
Avg. temperature 0 0 0 0 0 0
Min. temperature 0 0 0 0 0 0
SoC (SoE) 0 0 0 0 0 0
Bank current 0 0 0 0 0 0
Status flag 0 0 0 0 0 0
Fault/Warnig flag 0 0 0 0 0 0
Reserved 0 0 0 0 0 0
Total discharged 0 0 0 0 0 0
Posted
Comments
Richard MacCutchan 28-Aug-13 4:45am    
And what is your problem?

1 solution

A CSV file is a text file with comma separated values. We create CSV files so that they can become input of some application/program and the data from them can be read easily. The file don't have any columns by default, so you need to specify those columns yourself in each row whenever you are writing/updating that value. The important thing is that your file will have data separated by space instead of comma. So, it is entirely up to you how you create the file and how you update data in it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900