Difference between revisions of "Using the Project Explorer"

From Flowcode Help
Jump to navigationJump to search
Line 2: Line 2:
  
 
The '''Project Explorer''' allows the user to quickly and easily manage their program by giving an overview of the current project. [[Editing and Deleting Macros|Macros]] and [[Editing Variables|Variables]] can easily be added, edited or deleted.
 
The '''Project Explorer''' allows the user to quickly and easily manage their program by giving an overview of the current project. [[Editing and Deleting Macros|Macros]] and [[Editing Variables|Variables]] can easily be added, edited or deleted.
 +
 +
Which tabs appear and in what order can be selected via [[Global_Settings#UI Trees|Global settings>UI Trees]]
  
 
Icons and Macros can be dragged into the project code window.
 
Icons and Macros can be dragged into the project code window.
Line 9: Line 11:
  
  
===Icons===
+
==Icons==
  
 
Lists the programming icons allowing you to drag new code icons onto your project.
 
Lists the programming icons allowing you to drag new code icons onto your project.
  
  
===Ports===
+
==Ports==
  
 
The Project Explorer shows the available ports for the currently selected device.  
 
The Project Explorer shows the available ports for the currently selected device.  
Line 25: Line 27:
  
  
===Panels===
+
==Panels==
  
 
Since you can have multiple 2d panels open, this tab will show all the panels that have been added.
 
Since you can have multiple 2d panels open, this tab will show all the panels that have been added.
Line 40: Line 42:
  
  
===Variables===
+
==Variables==
  
 
This section shows all the global constants and [[Creating Variables|variables]] used in the project.
 
This section shows all the global constants and [[Creating Variables|variables]] used in the project.
Line 59: Line 61:
  
  
===Macros===
+
==Macros==
  
 
Displayed is a list of all the [[Creating a New Macro|macros]] in the current project, each macro can be expanded and the specific parameters, constants and variables associated with that macro are shown.
 
Displayed is a list of all the [[Creating a New Macro|macros]] in the current project, each macro can be expanded and the specific parameters, constants and variables associated with that macro are shown.
Line 68: Line 70:
  
  
===Components===
+
==Components==
  
 
This section contains list of all the [[Components|components]] used in the current project, you will be able to edit the [[Component Properties|properties]], connections and custom code of each individual [[Component|component]]. Components in the Project Explorer can be dragged and dropped into the main flowchart.
 
This section contains list of all the [[Components|components]] used in the current project, you will be able to edit the [[Component Properties|properties]], connections and custom code of each individual [[Component|component]]. Components in the Project Explorer can be dragged and dropped into the main flowchart.
  
  
===Events===
+
==Events==
  
 
Finally, the last section allows you to create [[Simulation Events|event macros]] with ease, it lists all of the available [[Simulation_Functionality#Events|events]] and shows which event macros you have created, you can use this menu to navigate your existing event macros as well as creating new ones, it also allows you to delete your existing event macros or show them in your flowchart.
 
Finally, the last section allows you to create [[Simulation Events|event macros]] with ease, it lists all of the available [[Simulation_Functionality#Events|events]] and shows which event macros you have created, you can use this menu to navigate your existing event macros as well as creating new ones, it also allows you to delete your existing event macros or show them in your flowchart.
 
  
 
==Video instructions==
 
==Video instructions==
  
 
View the [http://www.youtube.com/watch?v=FThkBO3yh-g&list=PLQDWBb7bxuCgg6aJgPJcfXBMzZdLILceQ Introducing the Project Explorer] video to learn more about the Project Explorer, including the basic fundamentals as well as the capabilities of each section, the video highlights how to use the Project Explorer panel effectively.
 
View the [http://www.youtube.com/watch?v=FThkBO3yh-g&list=PLQDWBb7bxuCgg6aJgPJcfXBMzZdLILceQ Introducing the Project Explorer] video to learn more about the Project Explorer, including the basic fundamentals as well as the capabilities of each section, the video highlights how to use the Project Explorer panel effectively.

Revision as of 14:52, 8 March 2023

Introduction

The Project Explorer allows the user to quickly and easily manage their program by giving an overview of the current project. Macros and Variables can easily be added, edited or deleted.

Which tabs appear and in what order can be selected via Global settings>UI Trees

Icons and Macros can be dragged into the project code window.

ProjectExplorer.jpg


Icons

Lists the programming icons allowing you to drag new code icons onto your project.


Ports

The Project Explorer shows the available ports for the currently selected device.

You can directly reference these ports in calculations or other expressions and connect components to these ports, by right-clicking the port or clicking on the arrow next to the port name you can select 'List occurrences' which will use the Icon lists pane to show where the ports are being used and referenced.

You will also be able to see all the pins that have components connected to them.

ProjectExplorer Ports.png


Panels

Since you can have multiple 2d panels open, this tab will show all the panels that have been added.

There is an option to add more panels if required.

Each panel can be right-clicked on to rename, change the colour, gridlines, etc by selecting properties.

ProjectExplorer Panels.png

The red exclamation mark is warning you the panel has been closed.

To open the panel, either right-click on the panel name and select show, or double-click on the panel name.


Variables

This section shows all the global constants and variables used in the project.

Globals are visible to any macro in the project.

You can add, edit and delete both global constants and variables from this section.

You can also use the 'List occurrences' option previously mentioned to list where these variables are being used.

If the speed of the simulation is changed to Fast (with updates) via the Simulation debugger, (for this you will need to have the simulation paused) or via Project_Options Then when the simulation is running all the global and local variables (only if within the appropriate call macro) values will be shown.

If the simulator is paused then the variable's values can be changed by left-clicking the variable's current values.


As well as global variables, local variables present within the Macro which you currently have selected, if you change the currently selected macro by clicking on another Macro tab in the main flowchart window, this Project Manager tab will update to show you the new local variables associated with the newly selected Macro.


Macros

Displayed is a list of all the macros in the current project, each macro can be expanded and the specific parameters, constants and variables associated with that macro are shown.

You can navigate straight to the specific macros, showing them as flowcharts or as source as well as adding, deleting and editing any parameters, constants or variables associated with each macro.

Macros in the Project Explorer can be dragged and dropped into the main flowchart.


Components

This section contains list of all the components used in the current project, you will be able to edit the properties, connections and custom code of each individual component. Components in the Project Explorer can be dragged and dropped into the main flowchart.


Events

Finally, the last section allows you to create event macros with ease, it lists all of the available events and shows which event macros you have created, you can use this menu to navigate your existing event macros as well as creating new ones, it also allows you to delete your existing event macros or show them in your flowchart.

Video instructions

View the Introducing the Project Explorer video to learn more about the Project Explorer, including the basic fundamentals as well as the capabilities of each section, the video highlights how to use the Project Explorer panel effectively.