Difference between revisions of "Frequently Asked Questions"

From Flowcode Help
Jump to navigationJump to search
Line 4: Line 4:
 
==Changes from v5==
 
==Changes from v5==
  
====Where is VNET?====
+
====What changes have been made to VNET?====
From v6 onwards support for VNet in its current form has been dropped.
+
VNet is being re-implemented in Flowcode version 6, although it will provide the same functionality there have been some modifications....
  
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==
 
==Component creator==

Revision as of 13:09, 9 August 2013

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

Changes from v5

What changes have been made to VNET?

VNet is being re-implemented in Flowcode version 6, although it will provide the same functionality there have been some modifications....


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.