Difference between revisions of "Exercise - Exporting the LED Component"

From Flowcode Help
Jump to navigationJump to search
Line 3: Line 3:
 
* Move the mouse cursor over the [[System Panel]], and right-click.
 
* Move the mouse cursor over the [[System Panel]], and right-click.
  
* Select the option 'Export component'. The [[Component Management]] dialogue box opens.
+
* 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, and click on 'OK'.
+
* 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.
 
* You may be asked if you want to save the current flowchart. Do so if you wish.

Revision as of 20:35, 21 May 2013

  • 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.