Component: Auto Version Identifier Free (Matrix Tools): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| (One intermediate revision by the same user not shown) | |||
| Line 87: | Line 87: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetBuildNumber''' | ||
|- | |- | ||
| colspan="2" | Returns the current auto incremented built number property. | | colspan="2" | Returns the current auto incremented built number property. | ||
| Line 101: | Line 101: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetDate''' | ||
|- | |- | ||
| colspan="2" | Returns the build date as a string | | colspan="2" | Returns the build date as a string | ||
| Line 115: | Line 115: | ||
|- | |- | ||
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''GetTime''' | ||
|- | |- | ||
| colspan="2" | Returns the build time as a string | | colspan="2" | Returns the build time as a string | ||
| Line 129: | Line 129: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Properties''' | ||
|- | |- | ||
|- | |- | ||
Latest revision as of 14:23, 13 July 2026
| 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
GetBuildNumber
| GetBuildNumber | |
| Returns the current auto incremented built number property. | |
| Return | |
GetDate
| GetDate | |
| Returns the build date as a string | |
| Return | |
GetTime
| GetTime | |
| Returns the build time as a string | |
| 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 | |