01-22-2015 11:25 AM
Hello,
Is it possible to add own column name for a text file using Write to measurement file function?
In the created file I have three different columns (I want to name them Time/Voltage/Date&Time).
Maby I should choose different write option like write to spreadsheet?
01-22-2015 11:34 AM
Write to spreadsheet is common, format into file allows a lot of flexability (especially with timestamps.) Lately, I've been very happy with the TDMS file functions and features you might want to peek into the example finder and look that over and sell yourself on the flexibility to veiw while collecting data.
01-22-2015 12:02 PM
I've done a little research but I can't find out if I use write to spreadsheet function can I add push button so the file register data only when the button is pushed?
01-22-2015 12:06 PM
01-22-2015 12:11 PM
Ohh, well stupid I. I was so focused on Write to measurement file that I forgot abut the rest. I think I need coffee break right now.
01-22-2015 01:27 PM
Sorry for double post.
I'm facing a problem with data display, I saved it as .csv format.
The problem is that the columns should be separated but they are not. Why ?
01-22-2015 01:35 PM
You are going to have to post some actual code if you want us to help here. Otherwise it is a complete shot in the dark. Posting an example CSV file of what you have and what you want would also be beneficial.
01-22-2015 01:37 PM
01-22-2015 02:15 PM
01-22-2015 02:32 PM - edited 01-22-2015 02:32 PM
Hi mrcn,
place a probe on the wire after ConcatenateStrings function and you will see why this happens…
It's a bad idea to put the delimiter char in your strings on your own (as you did with the column headers) and it's a bad idea to concatenate strings which should build an array of strings…
Using ReplaceArraySubset doesn't provide any advantage here…