Difference between revisions of "Component: Auto Version Identifier (Utility)"

From Flowcode Help
Jump to navigationJump to search
Line 17: Line 17:
 
==Component Source Code==
 
==Component Source Code==
  
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_AutoVersionID.fcfx FC_Comp_Source_AutoVersionID.fcfx]
+
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_temp/AutoVersionID.fcfx FC_Comp_Source_temp/AutoVersionID.fcfx]
  
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_AutoVersionID.fcfx FC_Comp_Source_AutoVersionID.fcfx]
+
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_temp/AutoVersionID.fcfx FC_Comp_Source_temp/AutoVersionID.fcfx]
  
 
==Detailed description==
 
==Detailed description==
Line 56: Line 56:
  
 
''<span style="color:red;">No additional examples</span>''
 
''<span style="color:red;">No additional examples</span>''
 +
 +
  
  
Line 63: Line 65:
 
==Macro reference==
 
==Macro reference==
  
===GetTime===
+
===GetBuildNumber===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetTime'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetBuildNumber'''
 
|-
 
|-
| colspan="2" | Returns the build time as a string&nbsp;
+
| colspan="2" | Returns the current auto incremented built number property.&nbsp;
 
|-
 
|-
 
|-
 
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-string-icon.png]] - STRING
+
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u16-icon.png]] - UINT
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}
Line 91: Line 93:
  
  
===GetBuildNumber===
+
===GetTime===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetBuildNumber'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetTime'''
 
|-
 
|-
| colspan="2" | Returns the current auto incremented built number property.&nbsp;
+
| colspan="2" | Returns the build time as a string&nbsp;
 
|-
 
|-
 
|-
 
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u16-icon.png]] - UINT
+
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-string-icon.png]] - STRING
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}

Revision as of 11:59, 3 February 2023

Author Matrix Ltd
Version 1.2
Category Utility


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.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_temp/AutoVersionID.fcfx

Please click here to view the component source code (Beta): FC_Comp_Source_temp/AutoVersionID.fcfx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples




Macro reference

GetBuildNumber

Fc9-comp-macro.png GetBuildNumber
Returns the current auto incremented built number property. 
Fc9-u16-icon.png - UINT Return


GetDate

Fc9-comp-macro.png GetDate
Returns the build date as a string 
Fc9-string-icon.png - STRING Return


GetTime

Fc9-comp-macro.png GetTime
Returns the build time as a string 
Fc9-string-icon.png - STRING Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-21-icon.png Build Number
Current build number, automatically incremented before each compilation takes place. 
Fc9-type-10-icon.png Date Divider
 
Fc9-type-10-icon.png Time Divider
 
Fc9-type-16-icon.png Date Format
 
Fc9-type-10-icon.png Last Build Date
 
Fc9-type-10-icon.png Last Build Time