Difference between revisions of "Component: CSV Read/Write (Runtime Tools)"
From Flowcode Help
Jump to navigationJump to searchLine 14: | Line 14: | ||
==CSV Read/Write component== | ==CSV Read/Write component== | ||
A component to simplify the task of creating and dumping data to a CSV file that can be loaded into Microcoft Excel or LibreOffice Math to create nice charts and graphs. | A component to simplify the task of creating and dumping data to a CSV file that can be loaded into Microcoft Excel or LibreOffice Math to create nice charts and graphs. | ||
+ | |||
+ | ==Component Pack== | ||
+ | |||
+ | FREE | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 26: | Line 32: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Revision as of 16:21, 7 January 2022
Author | Matrix TSL |
Version | 1.0 |
Category | Runtime Tools |
Contents
CSV Read/Write component
A component to simplify the task of creating and dumping data to a CSV file that can be loaded into Microcoft Excel or LibreOffice Math to create nice charts and graphs.
Component Pack
FREE
Detailed description
No detailed description exists yet for this component
Examples
Simple example file to generate a two column CSV file that can be loaded into Microsoft Excel or LibreOffice Math.
Downloadable macro reference
![]() |
CloseFile |
Closes the file and finishes off any pending writes ready for use in an external application. | |
![]() |
Return |
![]() |
SequentialReadString |
Reads the contents of a cell as a string. Automatically moved to the next data cell after a read. | |
![]() |
Return |
![]() |
AddString |
Adds a string to the CSV followed by a comma. This will form a single column of data in the CSV file. | |
![]() |
data |
![]() |
Return |
![]() |
ReadAsString |
Reads the contents of a cell as a string | |
![]() |
Column |
![]() |
Row |
![]() |
Return |
![]() |
SequentialReadNumber |
Reads the contents of a cell as a number. Automatically moved to the next data cell after a read. | |
![]() |
Return |
![]() |
AddNumber |
Adds a number to the CSV followed by a comma. This will form a single column of data in the CSV file. | |
![]() |
data |
![]() |
Return |
![]() |
ReadAsNumber |
Reads the contents of a cell as a number. | |
![]() |
Column |
![]() |
Row |
![]() |
Return |
![]() |
SetSequentialIndex |
Sets the index for sequential reads. Index is automatically reset to 0 after a file open. | |
![]() |
Index |
![]() |
Return |
![]() |
NextRow |
Move to the next row in the file | |
![]() |
Return |
Property reference
![]() |
Properties |
![]() |
Filepath |
Sets the path of the file to write to. $(srcdir) default sets the path to be the same as the Flowcode project path. | |
![]() |
Connections |
![]() |
Simulations |