Component: Input CSV (DSP)

From Flowcode Help
Revision as of 09:11, 12 October 2020 by BenR (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Author Matrix Ltd
Version 1.2 (Release)
Category DSP


Image Input CSV component

Allows the values from a buffer to be collected directly from a CSV file. Either a value at a time or from an array.

Examples

No additional examples


Downloadable macro reference

ReadArray

Reads an array of values to fill up the specified buffer.

Auto increments current location.

FAT component must be initialised before calling this macro.

Parameters

This macro has no parameters


Return value

This call does not return a value


Simulation macro reference

This component does not contain any simulation macros


Property reference

Buffer Size

This property is of type Unsigned integer and can be referenced with the variable name BuffSize.

Number of individual elements the buffer can store, default 1.

Buffer Type

This property is of type Fixed list of ints and can be referenced with the variable name BuffType.

Sets the buffer data type, data is automatically scaled to fit and make full use of the data type.

FAT Component

This property is of type Panel object and can be referenced with the variable name FATComponent.

Points to the FAT filesystem component to allow access to file system and embedded SD card.

Filename

This property is of type Line of text and can be referenced with the variable name Filename.

Name of the file to read DSP data from.

Layout

This property is of type Fixed list of ints and can be referenced with the variable name Layout.

Dictates if the data is read from a single column or a single row.