Difference between revisions of "Component: Simulation External Input (Runtime Tools)"
From Flowcode Help
Jump to navigationJump to search| Line 73: | Line 73: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
| + | |||
| + | |||
| Line 79: | Line 81: | ||
==Macro reference== | ==Macro reference== | ||
| + | ===Control_Pulse=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 97: | Line 100: | ||
| + | ===Get_Pulse_Count=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 110: | Line 114: | ||
| + | ===Set_Space=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 128: | Line 133: | ||
| + | ===Set_Pulse_Count=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 146: | Line 152: | ||
| + | ===Set_Frequency=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
| Line 164: | Line 171: | ||
| + | ===Set_Mark=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Revision as of 11:52, 3 February 2023
| Author | Matrix TSL |
| Version | 1.1 |
| Category | Runtime Tools |
Contents
Simulation External Input component
A simulation only component designed to allow a single digital pin to be toggled at a set frequency. Allows things like switch presses or external square waves to be used with the simulation.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Sim_External_Input.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Sim_External_Input.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Control_Pulse
| Control_Pulse | |
| Controls if the toggle input is enabled or disabled allowing you to stop and start the waveform. | |
| State | |
| 0=Disabled, 1=Enabled | |
| Return | |
Get_Pulse_Count
| Get_Pulse_Count | |
| Reads the number of pulses remaining in the current run. The Pulse Count property needs to have an initial value > 0 to switch on the pulse counting mode. | |
| Return | |
Set_Space
| Set_Space | |
| Overrides the component property setting allowing for a variable frequency input or adjustable Space timings. | |
| Delay | |
| Delay between transitiions in milliseconds. | |
| Return | |
Set_Pulse_Count
Set_Frequency
| Set_Frequency | |
| Allows the frequency to be changed on the fly | |
| Frequency | |
| Return | |
Set_Mark
| Set_Mark | |
| Overrides the component property setting allowing for a variable frequency input or adjustable Mark timings. | |
| Delay | |
| Delay between transitiions in milliseconds. | |
| Return | |