Component: Simulation External Input (Runtime Tools): Difference between revisions
Appearance
m Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"" |
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"" |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 90: | Line 90: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Control_Pulse''' | ||
|- | |- | ||
| colspan="2" | Controls if the toggle input is enabled or disabled allowing you to stop and start the waveform. | | colspan="2" | Controls if the toggle input is enabled or disabled allowing you to stop and start the waveform. | ||
| Line 109: | Line 109: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Get_Pulse_Count''' | ||
|- | |- | ||
| colspan="2" | 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. | | colspan="2" | 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. | ||
| Line 123: | Line 123: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Set_Frequency''' | ||
|- | |- | ||
| colspan="2" | Allows the frequency to be changed on the fly | | colspan="2" | Allows the frequency to be changed on the fly | ||
| Line 142: | Line 142: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Set_Mark''' | ||
|- | |- | ||
| colspan="2" | Overrides the component property setting allowing for a variable frequency input or adjustable Mark timings. | | colspan="2" | Overrides the component property setting allowing for a variable frequency input or adjustable Mark timings. | ||
| Line 161: | Line 161: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Set_Pulse_Count''' | ||
|- | |- | ||
| colspan="2" | Overrides the number of pulses. The Pulse Count property needs to have an initial value > 0 to switch on the pulse counting mode. | | colspan="2" | Overrides the number of pulses. The Pulse Count property needs to have an initial value > 0 to switch on the pulse counting mode. | ||
| Line 180: | Line 180: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]] | ||
| width="90%" | | width="90%" class="mtx-class-macrohead" | '''Set_Space''' | ||
|- | |- | ||
| colspan="2" | Overrides the component property setting allowing for a variable frequency input or adjustable Space timings. | | colspan="2" | Overrides the component property setting allowing for a variable frequency input or adjustable Space timings. | ||
| Line 200: | Line 200: | ||
{| 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 TSL |
| Version | 1.1 |
| Category | Runtime Tools |
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_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 | |
Set_Pulse_Count
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 | |