02-26-2015 01:51 PM
I have been trying, albeit unsuccessfully, to write data to the CSV file, with the file's Column headers labeled appropriately to each channel like we do in LabView (See attached CSV). I know that developers have to be doing this same thing in .Net. Can someone provide a snippet of code to get me started? Also, maybe there is a completely different way of doing the same thing instead of directly writing to the CSV? (Actually, I really need to fill an array with data and append that to the CSV every couple seconds). I have the arrays already coded to each channel but I'm still stuck on how to get it to the CSV file. I'm coding in VB.net using Visual Studio 2012, Measurement Studio 2013 Standard. Any help would be greatly appreciated. Thank you.
Solved! Go to Solution.
02-26-2015 04:14 PM
a csv file is nothing more than a text file
There are plenty of examples on how to write a text file using .NET
02-27-2015 08:16 AM
Thanks for the "help". I'm an EE, not a .Net programmer.
02-27-2015 09:47 AM
@dm@Means wrote:
Thanks for the "help". I'm an EE, not a .Net programmer.
What does that have to do with anything? Many if not most of the people here are EEs.