Difference between revisions of "Frequently Asked Questions"

From Flowcode Help
Jump to navigationJump to search
Line 1: Line 1:
 
<sidebar>API contents</sidebar>
 
<sidebar>API contents</sidebar>
 
The Flowcode v6 FAQ
 
The Flowcode v6 FAQ
 
{| class="wikitable"
 
|-
 
!Question
 
!Answer
 
|-
 
! colspan="2"|Changes From Version 5
 
|-
 
| align="center" |'''Where is VNET?'''
 
|From v6 onwards support for VNet in its current form has been dropped.
 
 
It is possible this functionality will be brought back at a later date in the form of a plug-in, but in the meantime similar functionality can be obtained using DLL extensions, files or using the Matrix EB006 v9 dev board.
 
|-
 
! colspan="2" |Component Creator
 
|-
 
| align="center" |'''I have exported a component but can't access my macros'''
 
|When you export a component, some of your macros may be downloadable, some simulatable and some for private, internal use only.
 
 
By default all macros are for private use - they are 'hidden'. To let Flowcode know which ones to expose the [[Interface Manager]] needs to be used to declare any or all of the macros as public - either simulation only or downloadable 'component macros'.
 
|-
 
! colspan="2"|The Flowcode Panels
 
|-
 
| align="center" |'''What is the System Panel?'''
 
''See [[System Panel]] and [[Role of the System Panel]]''
 
|There are two panels which provide a real-world framework on which to load Flowcode components the System Panel and the Dashboard Panel. Together these panels are designed to show the physical representation of components during simulation.
 
 
The System panel is rendered in full 3D, this gives a much more realistic view of the created system than in previous versions of Flowcode, users can see 3D manifestations of the various components available in Flowcode and using the powerful simulation API can interact and manipulate the system components.
 
 
Users can also import models from 3rd party programs into their Flowcode projects and view these models in the system panel.
 
|-
 
| align="center" |'''What is the Dashboard Panel?'''
 
''See [[Dashboard Panel]] and [[Role of the Dashboard Panel]]''
 
|The Dashboard panel complements the System Panel by providing a workspace to add control elements to a project. The Dashboard panel can contain components just like the System panel, but remains in a two dimensional display mode rather than a three dimensional one.
 
 
Components can only be added to either the System panel or the Dashboard panel but they are both still part of the same project. The advantage of the Dashboard panel is that you can add control elements to your project which remain in a static location which is especially useful if your project contains moving parts.
 
|-
 
! colspan="2" |Properties and Variables
 
|-
 
| align="center" |'''What is the difference between constants, variables and properties?'''
 
|A variable is a value that resides in memory and can be changed by your program at any time. Each variable has a name that uniquely identifies it meaning you do not need to know the location in memory of a variable to use it. All variables have a [[Variable Types|type]] that allows the program to decide how it is used.
 
 
A constant has the same attributes as a variable except its value can only be assigned once. It is fixed and can not be changed during a programs execution. Constants require no additional memory to store the data like a variable does and it is easier to modify your program when using constants rather than inserting immediate values such as integers into your program.
 
 
A property behaves like a constant, except that during simulation built-in commands exist to change the value of a property. This means that during simulation a property is like a ''constant that can be changed'', but when downloaded to chip that property becomes fixed and behaves like a constant.
 
|-
 
| align="center" |'''How do I edit a components properties?'''
 
''See [[Component Properties]]''
 
|Aside from changing the values, you can only edit the properties of [[Component Structure|your own component]].
 
 
Properties are like variables in that the component that 'owns' them may rely on their presence to run correctly. If you amend a component properties that component may fail to work as expected.
 
 
The [[API overview|simulation API]] can be used to alter properties to a greater degree than the properties window, but even this can not create or delete another components properties.
 
|}
 
 
  
 
==Changes from v5==
 
==Changes from v5==
  
===Where is VNET?===
+
====Where is VNET?====
 
From v6 onwards support for VNet in its current form has been dropped.
 
From v6 onwards support for VNet in its current form has been dropped.
  
Line 64: Line 10:
  
 
==Component creator==
 
==Component creator==
===I have exported a component but can't access my macros===
+
====I have exported a component but can't access my macros====
 
When you export a component, some of your macros may be downloadable, some simulatable and some for private, internal use only.
 
When you export a component, some of your macros may be downloadable, some simulatable and some for private, internal use only.
  
Line 71: Line 17:
  
 
==The Flowcode panels==
 
==The Flowcode panels==
===What is the System Panel?===
+
====What is the System Panel?====
  
 
''See [[System Panel]] and [[Role of the System Panel]]''  
 
''See [[System Panel]] and [[Role of the System Panel]]''  
Line 81: Line 27:
 
Users can also import models from 3rd party programs into their Flowcode projects and view these models in the system panel.
 
Users can also import models from 3rd party programs into their Flowcode projects and view these models in the system panel.
  
===What is the Dashboard Panel?===
+
====What is the Dashboard Panel?====
  
 
''See [[Dashboard Panel]] and [[Role of the Dashboard Panel]]''
 
''See [[Dashboard Panel]] and [[Role of the Dashboard Panel]]''
Line 90: Line 36:
  
 
==Properties and variables==
 
==Properties and variables==
===What is the difference between constants, variables and properties?===
+
====What is the difference between constants, variables and properties?====
 
A variable is a value that resides in memory and can be changed by your program at any time. Each variable has a name that uniquely identifies it meaning you do not need to know the location in memory of a variable to use it. All variables have a [[Variable Types|type]] that allows the program to decide how it is used.
 
A variable is a value that resides in memory and can be changed by your program at any time. Each variable has a name that uniquely identifies it meaning you do not need to know the location in memory of a variable to use it. All variables have a [[Variable Types|type]] that allows the program to decide how it is used.
  
Line 97: Line 43:
 
A property behaves like a constant, except that during simulation built-in commands exist to change the value of a property. This means that during simulation a property is like a ''constant that can be changed'', but when downloaded to chip that property becomes fixed and behaves like a constant.
 
A property behaves like a constant, except that during simulation built-in commands exist to change the value of a property. This means that during simulation a property is like a ''constant that can be changed'', but when downloaded to chip that property becomes fixed and behaves like a constant.
  
===How do I edit a components properties===
+
====How do I edit a components properties====
  
 
''See [[Component Properties]]''
 
''See [[Component Properties]]''

Revision as of 08:42, 7 August 2013

<sidebar>API contents</sidebar> The Flowcode v6 FAQ

Changes from v5

Where is VNET?

From v6 onwards support for VNet in its current form has been dropped.

It is possible this functionality will be brought back at a later date in the form of a plug-in, but in the meantime similar functionality can be obtained using DLL extensions, files or using the Matrix EB006 v9 dev board.

Component creator

I have exported a component but can't access my macros

When you export a component, some of your macros may be downloadable, some simulatable and some for private, internal use only.

By default all macros are for private use - they are 'hidden'. To let Flowcode know which ones to expose the Interface Manager needs to be used to declare any or all of the macros as public - either simulation only or downloadable 'component macros'.


The Flowcode panels

What is the System Panel?

See System Panel and Role of the System Panel

There are two panels which provide a real-world framework on which to load Flowcode components the System Panel and the Dashboard Panel. Together these panels are designed to show the physical representation of components during simulation.

The System panel is rendered in full 3D, this gives a much more realistic view of the created system than in previous versions of Flowcode, users can see 3D manifestations of the various components available in Flowcode and using the powerful simulation API can interact and manipulate the system components.

Users can also import models from 3rd party programs into their Flowcode projects and view these models in the system panel.

What is the Dashboard Panel?

See Dashboard Panel and Role of the Dashboard Panel

The Dashboard panel complements the System Panel by providing a workspace to add control elements to a project. The Dashboard panel can contain components just like the System panel, but remains in a two dimensional display mode rather than a three dimensional one.

Components can only be added to either the System panel or the Dashboard panel but they are both still part of the same project. The advantage of the Dashboard panel is that you can add control elements to your project which remain in a static location which is especially useful if your project contains moving parts.

Properties and variables

What is the difference between constants, variables and properties?

A variable is a value that resides in memory and can be changed by your program at any time. Each variable has a name that uniquely identifies it meaning you do not need to know the location in memory of a variable to use it. All variables have a type that allows the program to decide how it is used.

A constant has the same attributes as a variable except its value can only be assigned once. It is fixed and can not be changed during a programs execution. Constants require no additional memory to store the data like a variable does and it is easier to modify your program when using constants rather than inserting immediate values such as integers into your program.

A property behaves like a constant, except that during simulation built-in commands exist to change the value of a property. This means that during simulation a property is like a constant that can be changed, but when downloaded to chip that property becomes fixed and behaves like a constant.

How do I edit a components properties

See Component Properties

Aside from changing the values, you can only edit the properties of your own component.

Properties are like variables in that the component that 'owns' them may rely on their presence to run correctly. If you amend a component properties that component may fail to work as expected.

The simulation API can be used to alter properties to a greater degree than the properties window, but even this can not create or delete another components properties.