MotoHawk-FAQ: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
=Software Compatibility=
== Does Motohawk run on a 64bit OS? ==
As of right now, MATLAB 64-bit versions are not supported.  The "MEX" files used by many MotoHawk blocks are built for 32-bit MATLAB only (.MEXW32); 64-bit uses a different binary MEX file format.
Some customers are using MotoHawk and MotoTune on Windows Vista 64-bit with MATLAB 32-bit.  They report:
' After installing MotoServerRuntime, MotoTune, and MotoHawk (using right-click install-as-administrator), copy the entire directory tree "C:\Program Files (x86)\MotoTron\..." to "C:\Program Files\MotoTron\..." (substitute "Woodward" for "MotoTron" for MotoHawk 2009b and later releases).  When it is time to uninstall, remember to delete the "C:\Program Files\MotoTron\..." copy before uninstalling with Add/Remove Programs. '
==What are some know problems with running Motohawk on Windows Vista?==
Windows Vista (32-bit) is known to have dongle driver problems.
=MotoHawk Library Blocks=
=MotoHawk Library Blocks=
==Build Counter==
==Build Counter==
Line 29: Line 18:


:The application will wait for the startup event to finish before it starts any of its code.
:The application will wait for the startup event to finish before it starts any of its code.
=Software=
==Latest Version of MotoHawk==
MotoHawk 2010a Beta 3 has been released!
This is Beta 3 for features in the MotoHawk 2010a release.
• Support for MATLAB 7.5 (R2007b) to MATLAB 8.0 (R2010a) and, in a subsequent service pack, MATLAB 8.1 (R2010b).
This release supports MATLAB 7.5 (R2007b) to MATLAB 7.9 (R2009b).
Support for (pre-release) MATLAB 8.0 (R2010a) is not yet scheduled (The Mathworks made this Pre-Release available to our developers today 14-Dec.).
• New features!  This beta contains additional structural support for new features.
• MPC 5xx targets:  Add support for encoder 36+1 crank with 12+1 cam
• ECM70:  Add support for FrequencyIn behavior on CNK, CNKDG, CAM pins
ECM70:  Add support for ECM-S12X-070-1002 (ECM70-1002) module
• CCP Slave protocol handler:  change default behavior to IDLE_EVENT-triggered priority
• General updates and improvements.
For registered users, MotoHawk 2010a Beta 3 may be downloaded from the mcs.woodward.com website, Support, Downloads page.  (You must be logged into the website for the links below to work.  If clicking on the link takes you to a blank page, please go to mcs.woodward.com and log in.  Access level of "beta customer" is required.)
MotoHawk 2010a Beta 3 for MATLAB 7.5 (R2007b) to 7.9 (R2009b):
  http://mcs.woodward.com/user/download.php?filename=512
Release notes for MotoHawk 2010a Beta 3 can be found at:
  http://mcs.woodward.com/user/download.php?filename=513
IMPORTANT!!  Please use Windows Control Panel "Add/Remove Programs" to un-install any previous MotoHawk install before running these new installers.
IMPORTANT!!  MotoTune / MotoServerRuntime 8.13.7.87 (or later) are REQUIRED for MotoHawk 2010a Beta 3.  These may also be downloaded from the mcs.woodward.com website, Support, Downloads page.
IMPORTANT!!  If you have been using GCC in earlier MotoHawk releases, you will need to change your GCC installation for MotoHawk 2009b Beta 3 and subsequent releases.
IMPORTANT!!  For customers using MotoHawk Custom Security blocks, you must use version 1.0.4 (or newer) of your security block for MotoHawk 2009b Beta 3 and subsequent releases.
MotoHawk 2010a releases require a valid MotoHawk license to do a code-generation build.  You can verify the licensing in your silver MotoTron USB licensing token (dongle) using the MotoTron License Viewer (Start, All Programs, MotoTools, MotoTron License Viewer).  "MotoHawk (v5.0)" or "MotoHawk (2010a)" is required to use MotoHawk 2010a releases.  To use MotoHawk 2010a releases, most users will need to have MotoHawk 2010a permissions added to their license tokens, and may also need to update their software maintenance agreements.
== Does Motohawk run on a 64bit OS? ==
As of right now, MATLAB 64-bit versions are not supported.  The "MEX" files used by many MotoHawk blocks are built for 32-bit MATLAB only (.MEXW32); 64-bit uses a different binary MEX file format.
Some customers are using MotoHawk and MotoTune on Windows Vista 64-bit with MATLAB 32-bit.  They report:
' After installing MotoServerRuntime, MotoTune, and MotoHawk (using right-click install-as-administrator), copy the entire directory tree "C:\Program Files (x86)\MotoTron\..." to "C:\Program Files\MotoTron\..." (substitute "Woodward" for "MotoTron" for MotoHawk 2009b and later releases).  When it is time to uninstall, remember to delete the "C:\Program Files\MotoTron\..." copy before uninstalling with Add/Remove Programs. '
==What are some know problems with running Motohawk on Windows Vista?==
Windows Vista (32-bit) is known to have dongle driver problems.

Revision as of 19:17, 7 January 2010

MotoHawk Library Blocks

Build Counter

Is there a convenient way to reset the motohawk_build_version counter? For instance, if I copy a model for a new project I’d like to reset the build counter?

There is a MotoHawk command to update this value. To do this have the model open and go to the MATLAB command prompt and type in:
number = ‘000’; %the value between the ticks can be any number you want motohawk_build_version(bdroot, number);
This will set the 3 character build version to 000. You can also place the value directly into the expression just remember to use the ticks(‘).
You can also type “help motohawk_build_version;” from the command line and get help for more advanced features.

STARTUP_Event Trigger with Custom Memory Initialization App

If the STARTUP_EVENT function trigger is placed inside the main foreground block, would it execute on startup before the memory initialization application starts running just like it would if it were outside?

The startup event only triggers once so its output will basically be a constant once it has ran. I am not sure what the memory initialization app needs to do to initialize the memory, but you probably need to do that in a periodic task. There it will have time to interact with components in the system outside the module. Try setting a datastore flag to enable the initialization code, and when it has finished the initialization, unsets the flag so the main application starts running. This can be done with enabled subsystems.

Do I need to explicitly keep the main foreground loop from running until the startup_code has run with a flag or does Motohawk do this for me (run the startup event stuff before the main application loops starts). In other words, is it a sequence of: STARTUP_EVENT --> Main Application, or do they run in parallel (with the startup stuff obviously only running once)?

The application will wait for the startup event to finish before it starts any of its code.

Software

Latest Version of MotoHawk

MotoHawk 2010a Beta 3 has been released!

This is Beta 3 for features in the MotoHawk 2010a release.

• Support for MATLAB 7.5 (R2007b) to MATLAB 8.0 (R2010a) and, in a subsequent service pack, MATLAB 8.1 (R2010b).

This release supports MATLAB 7.5 (R2007b) to MATLAB 7.9 (R2009b).

Support for (pre-release) MATLAB 8.0 (R2010a) is not yet scheduled (The Mathworks made this Pre-Release available to our developers today 14-Dec.). • New features! This beta contains additional structural support for new features. • MPC 5xx targets: Add support for encoder 36+1 crank with 12+1 cam • ECM70: Add support for FrequencyIn behavior on CNK, CNKDG, CAM pins ECM70: Add support for ECM-S12X-070-1002 (ECM70-1002) module • CCP Slave protocol handler: change default behavior to IDLE_EVENT-triggered priority • General updates and improvements.


For registered users, MotoHawk 2010a Beta 3 may be downloaded from the mcs.woodward.com website, Support, Downloads page. (You must be logged into the website for the links below to work. If clicking on the link takes you to a blank page, please go to mcs.woodward.com and log in. Access level of "beta customer" is required.)


MotoHawk 2010a Beta 3 for MATLAB 7.5 (R2007b) to 7.9 (R2009b):

 http://mcs.woodward.com/user/download.php?filename=512

Release notes for MotoHawk 2010a Beta 3 can be found at:

 http://mcs.woodward.com/user/download.php?filename=513


IMPORTANT!! Please use Windows Control Panel "Add/Remove Programs" to un-install any previous MotoHawk install before running these new installers.

IMPORTANT!! MotoTune / MotoServerRuntime 8.13.7.87 (or later) are REQUIRED for MotoHawk 2010a Beta 3. These may also be downloaded from the mcs.woodward.com website, Support, Downloads page.

IMPORTANT!! If you have been using GCC in earlier MotoHawk releases, you will need to change your GCC installation for MotoHawk 2009b Beta 3 and subsequent releases.

IMPORTANT!! For customers using MotoHawk Custom Security blocks, you must use version 1.0.4 (or newer) of your security block for MotoHawk 2009b Beta 3 and subsequent releases.


MotoHawk 2010a releases require a valid MotoHawk license to do a code-generation build. You can verify the licensing in your silver MotoTron USB licensing token (dongle) using the MotoTron License Viewer (Start, All Programs, MotoTools, MotoTron License Viewer). "MotoHawk (v5.0)" or "MotoHawk (2010a)" is required to use MotoHawk 2010a releases. To use MotoHawk 2010a releases, most users will need to have MotoHawk 2010a permissions added to their license tokens, and may also need to update their software maintenance agreements.

Does Motohawk run on a 64bit OS?

As of right now, MATLAB 64-bit versions are not supported. The "MEX" files used by many MotoHawk blocks are built for 32-bit MATLAB only (.MEXW32); 64-bit uses a different binary MEX file format.

Some customers are using MotoHawk and MotoTune on Windows Vista 64-bit with MATLAB 32-bit. They report:

' After installing MotoServerRuntime, MotoTune, and MotoHawk (using right-click install-as-administrator), copy the entire directory tree "C:\Program Files (x86)\MotoTron\..." to "C:\Program Files\MotoTron\..." (substitute "Woodward" for "MotoTron" for MotoHawk 2009b and later releases). When it is time to uninstall, remember to delete the "C:\Program Files\MotoTron\..." copy before uninstalling with Add/Remove Programs. '

What are some know problems with running Motohawk on Windows Vista?

Windows Vista (32-bit) is known to have dongle driver problems.