Missing Comma in CSV File Output
| hegedus | August 17, 2012 - 09:48 | ||
|---|---|---|---|
|
I am writing an output summary file as comma delimited using the following code open/A resultfileref as "C:\Users\scorpion\Documents\Strain Measurement\strainSummaryResults.txt" The output in the file looks like Filename,13.5,12.38/12/12 as opposed to Filename,13.5,12.3,8/12/12 The comma is missing between the third and fourth item. I have stared at the formatting string many a time and the comma is there in the code. Why does it not show up in the file? |
|||

Joined: 2007-06-21
Location: United States
I can't reproduce this using Igor Pro 6.30B01 on Macintosh or Windows. I don't think it would be any different in another version because the underlying code, as far as I know, has not changed in years. Here is the test I ran:
I tested it by executing:
I then verified the result by opening the file as an Igor notebook.
Perhaps you can come up with a simple example that reproduces the problem.
Joined: 2009-03-21
Location: United States
Found problem.
"Pilot" error I was looking at obsoleted code snippet for the results logging. Looked at right one saw problem.
Thank you for your time.