Component: Auto Version Identifier (Matrix Tools)

From Flowcode Help
Jump to navigationJump to search


Author Matrix Ltd
Version 1.2 (Release)
Category Matrix Tools


Image Auto Version Identifier component

Basic component designed to provide the program with the date and time of the build. Embedded assigns the time and date of compilation. Simulation assigns the time and date of the start of simulation.

Examples

A simple example program that will show the build number and the time and date of compilation on an LCD for four seconds before going into your program to help keep track of the firmware version in your projects. FC6 Icon.png Auto Version Example

Downloadable macro reference

GetTime

Returns the build time as a string

Parameters

This macro has no parameters


Return value

STRING


GetDate

Returns the build date as a string

Parameters

This macro has no parameters


Return value

STRING


GetBuildNumber

Returns the current auto incremented built number property.

Parameters

This macro has no parameters


Return value

UINT


Simulation macro reference

This component does not contain any simulation macros


Property reference

Build Number

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

Current build number, automatically incremented before each compilation takes place.

Date Divider

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

No additional information


Time Divider

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

No additional information


Date Format

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

No additional information


Last Build Date

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

No additional information


Last Build Time

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

No additional information