Jump to content

Component: Auto Version Identifier Free (Matrix Tools): Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 70: Line 70:
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.
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.
{{Fcfile|VersionExample.fcfx|Auto Version Example}}
{{Fcfile|VersionExample.fcfx|Auto Version Example}}




Line 75: Line 77:
==Macro reference==
==Macro reference==


===GetTime===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-
Line 88: Line 91:




===GetDate===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-
Line 101: Line 105:




===GetBuildNumber===
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
|-

Revision as of 11:48, 3 February 2023

Author Matrix Ltd
Version 1.2
Category Matrix Tools


Auto Version Identifier Free 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.

Component Source Code

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

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

Detailed description

No detailed description exists yet for this component

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. Auto Version Example



Macro reference

GetTime

GetTime
Returns the build time as a string 
- STRING Return


GetDate

GetDate
Returns the build date as a string 
- STRING Return


GetBuildNumber

GetBuildNumber
Returns the current auto incremented built number property. 
- UINT Return



Property reference

Properties
Build Number
Current build number, automatically incremented before each compilation takes place. 
Date Divider
 
Time Divider
 
Date Format
 
Last Build Date
 
Last Build Time