Difference between revisions of "Component: Is Sim (Matrix Tools)"
From Flowcode Help
Jump to navigationJump to search| (5 intermediate revisions by the same user not shown) | |||
| Line 15: | Line 15: | ||
A simple component designed to aid in detecting if the current code is running in simulation or on a microcontroller. | A simple component designed to aid in detecting if the current code is running in simulation or on a microcontroller. | ||
| − | == | + | ==Detailed description== |
| − | |||
| − | |||
| − | |||
| − | |||
| Line 35: | Line 31: | ||
| − | |||
| − | |||
| − | + | ''<span style="color:red;">No additional examples</span>'' | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | ==Macro reference== | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| + | ===Check=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 108: | Line 59: | ||
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} | ||
| − | |||
| − | |||
| Line 125: | Line 74: | ||
| colspan="2" | | | colspan="2" | | ||
|} | |} | ||
| + | |||
| + | ==Component Source Code== | ||
| + | |||
| + | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_IsSim.fcfx FC_Comp_Source_IsSim.fcfx] | ||
| + | |||
| + | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_IsSim.fcfx FC_Comp_Source_IsSim.fcfx] | ||
Latest revision as of 08:59, 9 June 2025
| Author | Matrix TSL |
| Version | 1.0 |
| Category | Matrix Tools |
Contents
Is Sim component
A simple component designed to aid in detecting if the current code is running in simulation or on a microcontroller.
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Check
| Check | |
| Returns 0 if running on an embedded target or 1 if running in simulation runtime. | |
| Return | |
Property reference
| Properties | |
| Sim | |
Component Source Code
Please click here to download the component source project: FC_Comp_Source_IsSim.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_IsSim.fcfx