MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH ALTIUM TASKING Specifications Page 1

Browse online or download Specifications for Software manuals MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH ALTIUM TASKING. MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH ALTIUM TASKING Specifications User Manual

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 1 - Environment Manual

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

Page 2

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

Page 3

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

Page 4 - CONTENTS

1OVERVIEWCHAPTER

Page 5

Chapter 11-2OVERVIEW1CHAPTER

Page 6

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

Page 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

Page 8

2GETTING STARTEDWITH EDECHAPTER

Page 9

Chapter 22-2STARTING2CHAPTER

Page 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

Page 11 - MANUAL STRUCTURE

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

Page 12 - OVERVIEW

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

Page 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

Page 14

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

Page 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

Page 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

Page 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

Page 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

Page 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

Page 20

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

Page 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

Page 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

Page 23

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

Page 24

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

Page 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

Page 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

Page 27

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

Page 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

Page 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

Page 30

3USE EDE WITHCODEWRIGHTCHAPTER

Page 31

Chapter 33-2EDE AND CODEWRIGHT3CHAPTER

Page 32

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

Page 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\

Page 34

TABLE OFCONTENTSCONTENTS

Page 35

4EDITORCHAPTER

Page 36 - CODEWRIGHT

Chapter 44-2EDITOR4CHAPTER

Page 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

Page 38

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

Page 39

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

Page 40

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

Page 41 - Chapter 4

APYTHONAPPENDIX

Page 42

Appendix AA-2PYTHONAAPPENDIX

Page 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

Page 44

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

Page 45

Table of ContentsIVCONTENTSCONTENTS

Page 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

Page 47

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

Page 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

Page 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

Page 50

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

Page 51 - Uninitialize() invocation

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

Page 52

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

Page 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

Page 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

Page 55 - DdeDisconnect

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

Page 56

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

Page 57 - Appendix A

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

Page 58

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

Page 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

Page 60

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

Page 62

IndexIndex-2INDEXINDEX

Page 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

Page 64

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

Page 65

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

Page 66

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

Page 67

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

Comments to this Manuals

No comments