01-04-2019 01:06 AM
Hi all i would like to ask how can i make my programme automatically create headers for my csv file if the file has no headers in it.
i have tried to troubleshoot on my own but to no avail.
For the "test excel(1).vi" file, the headers will be generated every time i run my vi( repetition of headers)
For the"test excel(2).vi"file, the headers must be manually entered into the csv file.
Solved! Go to Solution.
01-04-2019 01:11 AM
01-04-2019 01:22 AM
Here you go with that solution, It might help!
01-04-2019 01:35 AM
Hi thanks Mr Sabari , may I know what is the vi you placed at the case selector of the case structure?
01-04-2019 02:04 AM - edited 01-04-2019 02:06 AM
01-04-2019 02:59 AM
@edmund99 wrote:
Hi thanks Mr Sabari , may I know what is the vi you placed at the case selector of the case structure?
It's a Read Delimited Spreadsheet.vi. If you got a solution kindly accepted as a solution. So, no more conversation wouldn't go about this topic.
01-04-2019 03:22 AM
Hi Mr Sabari this is the vi that i wanted to ask you about
01-04-2019 04:02 AM
That's an empty array.
01-04-2019 04:12 AM
its "Empty Array?" function in comparison palette. if read file function returns empty array, then write header (1st case structure)
01-04-2019 06:36 AM
Hi i am still unable to generate headers in my excel.