MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH ALTIUM TASKING Spezifikationen

Stöbern Sie online oder laden Sie Spezifikationen nach Software-Handbücher MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH ALTIUM TASKING herunter. MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH ALTIUM TASKING Specifications Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken

Inhaltsverzeichnis

Seite 1 - Environment Manual

MA000-095-00-00Doc. ver.: 1.13EDEEmbeddedDevelopmentEnvironment Manual

Seite 2

Manual Purpose and StructureIX••••••••CONVENTIONS USED IN THIS MANUALThe notation used to describe the format of call lines is given below:{ } Items s

Seite 3

Manual Purpose and StructureXMANUAL STRUCTUREThis illustration indicates actions you can perform with the mouse.This illustration indicates keyboard i

Seite 4 - CONTENTS

1OVERVIEWCHAPTER

Seite 5

Chapter 11-2OVERVIEW1CHAPTER

Seite 6

Overview1-3••••••••1.1 EDE PROGRAM DEVELOPMENTThe TASKING Embedded Development Environment EDE can be dividedinto three main parts:1. Edit / Project m

Seite 7

Chapter 11-4OVERVIEWIn the Build part a makefile (created by the Edit part) is used to invokethe needed toolchain components, resulting in an absolute

Seite 8

2GETTING STARTEDWITH EDECHAPTER

Seite 9

Chapter 22-2STARTING2CHAPTER

Seite 10 - ••••••••

Getting Started with EDE2-3••••••••2.1 STARTING EDEYou can launch EDE by double-clicking on the EDE shortcut on yourdesktop. Or you can launch EDE via

Seite 11 - MANUAL STRUCTURE

Chapter 22-4STARTINGOutput WindowContains several tabs to displayand manipulate results of EDEoperations. For example, to viewthe results of builds or

Seite 12 - OVERVIEW

A publication ofAltium BVDocumentation DepartmentCopyright  2004 Altium BVAll rights reserved. Reproduction in whole or part is prohibitedwithout the

Seite 13

Getting Started with EDE2-5••••••••2.3 SELECTING A TOOLCHAINEDE supports all the TASKING toolchains. When you first start EDE, thetoolchain of the pro

Seite 14

Chapter 22-6STARTING2.4 PROJECT MANAGEMENTEDE is a complete project environment in which you can create andmaintain project spaces and projects. EDE g

Seite 15

Getting Started with EDE2-7••••••••2.4.1 CREATE A NEW PROJECT SPACE WITH APROJECTCreating a project space is in fact nothing more than creating a proj

Seite 16 - WITH EDE

Chapter 22-8STARTINGAdd a new project to the project space4. In the Project Properties dialog, click on the Add new project to projectspace button.The

Seite 17 - STARTING

Getting Started with EDE2-9••••••••A project file with the name demo.pjt is created and the Project Propertiesdialog box appears with the project sele

Seite 18

Chapter 22-10STARTINGb. Enter a new filename and click OK.A new empty file is created and added to the project.Method 2: Scan existing files into a pr

Seite 19

Getting Started with EDE2-11••••••••d. Click OK.The files that match the specified pattern(s) are added to your project.Method 3: Add existing files t

Seite 20

Chapter 22-12STARTINGEDE automatically creates a makefile for the project. This file contains therules to build your application. EDE updates the make

Seite 21

Getting Started with EDE2-13••••••••Include a sub-projectProjects not only contain files, but can also contain sub-projects. This canbe useful for inc

Seite 22

Chapter 22-14STARTING2. Select the file(s) you want to open (hold down the Ctrl key to select morethan one file) and click OK.EDE loads the selected f

Seite 23

The information in this document has been carefully reviewed and isbelieved to be accurate and reliable. However, Altium assumes no liabilitiesfor ina

Seite 24

Getting Started with EDE2-15••••••••The Cancel button closes the dialog without saving your changes. Withthe Defaults button you can restore the defau

Seite 25

Chapter 22-16STARTING2.8 HOW TO BUILD YOUR APPLICATIONThe next step is to compile the file(s) together with its dependent files soyou can debug the ap

Seite 26

Getting Started with EDE2-17••••••••2.8.1 ADVANCED BUILD OPTIONSThese steps are optional. Follow these steps if you want to specifyadditional build op

Seite 27

Chapter 22-18STARTING2.9 STARTING THE CROSSVIEW PRO DEBUGGEROnce the files have been compiled, assembled, linked, located andformatted they can be exe

Seite 28

Getting Started with EDE2-19••••••••2.10 HOW TO LOAD/SAVE OPTIONSYou can save the settings of your toolchain options into an option file(.opt) so that

Seite 29

Chapter 22-20STARTING2. Enter the filename of a previously saved option file.3. Optionally, enable the Load Options from the specified file when thepr

Seite 30

3USE EDE WITHCODEWRIGHTCHAPTER

Seite 31

Chapter 33-2EDE AND CODEWRIGHT3CHAPTER

Seite 32

Using EDE with CodeWright3-3••••••••3.1 INTRODUCTIONInstead of using the editor delivered with EDE (which is also based onCodeWright technology) you c

Seite 33

Chapter 33-4EDE AND CODEWRIGHT3.2 FILES USED BY EDEThe following files are used by EDE:\product\bin\ede32.dllEDE program as a 32-bits DLL\product\bin\

Seite 34

TABLE OFCONTENTSCONTENTS

Seite 35

4EDITORCHAPTER

Seite 36 - CODEWRIGHT

Chapter 44-2EDITOR4CHAPTER

Seite 37 - EDE AND CODEWRIGHT

Editor4-3••••••••4.1 INTRODUCTIONEDE is based on CodeWright technology. For a detailed description of theeditor refer to the on-line manual of the edi

Seite 38

Chapter 44-4EDITOR4.3 PRACTICAL TIPSKeystroke Macros DialogYou can record keystrokes and play them back by pressing the F7 and F8keys respectively. On

Seite 39

Editor4-5••••••••Language DialogThis is a place where a lot of the "good stuff" is hiding. You turn onChromaCoding from here, Language Templ

Seite 40

Chapter 44-6EDITOREnvironment DialogLet us consider the settings available under the Environment dialog. SelectEnvironment from the Customize menu. Th

Seite 41 - Chapter 4

APYTHONAPPENDIX

Seite 42

Appendix AA-2PYTHONAAPPENDIX

Seite 43 - 4.3 PRACTICAL TIPS

PythonA-3••••••••1 INTRODUCTIONYou can configure EDE to use Python scripts. The purpose of integratingthe Python interpreter with EDE is to control ED

Seite 44

Appendix AA-4PYTHONHoriz. ScrollbarToggles the presence of a horizontal scrollbar the Python Output Window.Run...Executes a Python script, selected us

Seite 45

Table of ContentsIVCONTENTSCONTENTS

Seite 46 - APPENDIX

PythonA-5••••••••3 RUNNING PYTHON SCRIPTSThe Python extension adds API calls to EDE which you can issue asregular API function calls. To give an API c

Seite 47

Appendix AA-6PYTHON4 FILES USED BY PYTHON FOR EDEThe following files are present in the bin directory:cwpythoni.dllProvides language support for Pytho

Seite 48

PythonA-7••••••••5 DDECLT PYTHON EXTENSION MODULEddeclt is a strings data based DDE client. A module which does not relyon MFC. It provides a DDE serv

Seite 49 - 2.2 EDE PYTHON OPTIONS

Appendix AA-8PYTHON3. Failure to handle errors when using synchronous transactions.DDE is an asynchronous process, but is made to appear synchronouswh

Seite 50

PythonA-9••••••••GetAdvisedItemNoWait(connection, itemname)Returns a tuple (value, data-event) where value is the data receivedaccompanying a data cha

Seite 51 - Uninitialize() invocation

Appendix AA-10PYTHONUninitialize()Frees all Dynamic Data Exchange Management Library (DDEML) resourcesassociated with the specified application.Return

Seite 52

PythonA-11••••••••Execute(connection, command_string[, timeout])Send a command to the connected DDE peer, usually a server. Thetimeout is default set

Seite 53 - 5.1 DDE CLIENT METHODS

Appendix AA-12PYTHONAdvise(connection, item[, timeout][, use_ACKREQ=0][, use_NODATA=0])Establish an advise loop with a server.The server will send dat

Seite 54

PythonA-13••••••••6 PY2CWAPIThis module wraps most of the EDE API functions, for direct usage fromPython.The number of API functions is far too big to

Seite 55 - DdeDisconnect

Appendix AA-14PYTHON7 REDIR2CWConsoleHorScrollBar( request )Determine the new state of the scrollbar, or query its current state.Value Function>0 T

Seite 56

Table of ContentsV••••••••OVERVIEW 1-11.1 EDE Program Development 1-3. . . . . . . . . . . . . . . . . . . . . . . 1.2 Working in an Embedded Environm

Seite 57 - Appendix A

PythonA-15••••••••CallCwFunction( function_name [,arg...] )Invoke an EDE API function. Conversions are done under water. Thefunction name and argument

Seite 58

Appendix AA-16PYTHON8 MATLAB VIA ACTIVEX WRAPPER CLASSA Python module has been included which declares the class Matlab,wrapping Matlab instantiation

Seite 59 - 7 REDIR2CW

PythonA-17••••••••The imaginary matrix has the same dimensions as the real one. Alwaysreturns them as a matrix, even if they have one row. Both matric

Seite 60

Appendix AA-18PYTHON8.2 INSTALLATION REQUIREMENTSMatlab must be registered as an automation server before it can be used asan ActiveX object. Run matl

Seite 62

IndexIndex-2INDEXINDEX

Seite 63 - 8.3 PYTHON SCRIPT EXAMPLE

IndexIndex-3••••••••AAdvise, A-12auto-save, 4-6Bbuild, viewing results, 2-16CCallCwFunction, A-15ClearConsole, A-14compile, 2-16Connect, A-10ConnectLi

Seite 64

IndexIndex-4INDEXIInitialize, A-11Mmakefileautomatic creation of, 2-12updating, 2-12Matlab, A-16MaximizeCommandWindow, A-17MinimizeCommandWindow, A-17

Seite 65

Table of ContentsVICONTENTSPYTHON A-11 Introduction A-3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Installation and Conf

Seite 66

Manual Purpose and StructureVII••••••••MANUAL PURPOSE AND STRUCTUREPURPOSEThis manual is aimed at users of the TASKING Embedded DevelopmentEnvironment

Seite 67

Manual Purpose and StructureVIIIMANUAL STRUCTURERELATED PUBLICATIONS• CODE COMPLETEA Practical Handbook of Software Construction[Steve McConnel, Micr

Kommentare zu diesen Handbüchern

Keine Kommentare