Difference between revisions of "Exercise - Exporting the LED Component"
From Flowcode Help
Jump to navigationJump to searchJohnVerrill (talk | contribs) |
JohnVerrill (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | [[File:Gen exerciseLEDcreate macropropsLEDoff 01.png|300px|right]] | ||
+ | |||
+ | |||
* Create a LED component as shown in the [[Exercise - Create a LED component]]. | * Create a LED component as shown in the [[Exercise - Create a LED component]]. | ||
Revision as of 09:02, 22 May 2013
- Create a LED component as shown in the Exercise - Create a LED component.
- Move the mouse cursor over the System Panel, and right-click.
- Select the option 'Export component'. The Component Management dialogue box opens. This replicates the settings, Settings Manager, Interface Manager and Resources Manager available on the Panel Properties.
- Configure this for the LED component. In particular, click on the 'Interface' tab, and set the 'LEDoff' and 'LEDon' macros as 'Simulation' macros. The 'PinChange' macro is a 'Hidden' macro.
- Click on 'OK'.
- You may be asked if you want to save the current flowchart. Do so if you wish.
- The 'Save As' dialogue box opens. Choose a destination and a suitable name for the component.
- Click 'Save'. The component file is saved with a '*.fcpx' extension.