Jump to content

Component: Output CSV (DSP Outputs)

From Flowcode Help
Revision as of 14:36, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "style="background-color:#EAE1EA;"" to "class="mtx-class-propfolder"")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Author Matrix Ltd
Version 1.2
Category DSP Outputs


Output CSV component

Allows the values from a buffer to be output directly into a .CSV format file. Either a value at a time or as an array.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_DSP_FileOutput.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_DSP_FileOutput.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples









Macro reference

CloseFile

CloseFile
Closes a file 
- VOID Return


OpenFile

OpenFile
Opens a file ready for writing. Returns 1 if file opened OK. Automatically called by the WriteValue/WriteArray macros with the default values set by the component properties if not already called by the program. 
- STRING Filename
Filename, must be an 8.3 formatted filename in embedded. 
- BOOL ExistingData
0=KeepAndAppend, 1=Clear 
- BOOL Return


WriteArray

WriteArray
Writes a buffer of values from the selected DSP buffer to the CSV file. FAT component must be initialised before calling this macro. 
- VOID Return


WriteValue

WriteValue
Writes a single value from the selected DSP buffer to the CSV file. FAT component must be initialised before calling this macro. 
- VOID Return


Property reference

Properties
Connect To 0
DSP component with output buffer to collect our data from. 
CSV File
LinkTo
 
Number of Inputs
The number of inputs the multiplexer can switch between. 
Filename
Name of the file to write DSP data to. 
Existing Data
Decides what to do when opening a file that already exists.