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

Navigare online o scaricare Specifiche per Manuali per software MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH ALTIUM TASKING. MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH ALTIUM TASKING Specifications Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa

Sommario

Pagina 1 - Environment Manual

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

Pagina 2

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

Pagina 3

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

Pagina 4 - CONTENTS

1OVERVIEWCHAPTER

Pagina 5

Chapter 11-2OVERVIEW1CHAPTER

Pagina 6

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

Pagina 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

Pagina 8

2GETTING STARTEDWITH EDECHAPTER

Pagina 9

Chapter 22-2STARTING2CHAPTER

Pagina 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

Pagina 11 - MANUAL STRUCTURE

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

Pagina 12 - OVERVIEW

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

Pagina 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

Pagina 14

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 20

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

Pagina 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

Pagina 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

Pagina 23

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

Pagina 24

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

Pagina 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

Pagina 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

Pagina 27

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

Pagina 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

Pagina 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

Pagina 30

3USE EDE WITHCODEWRIGHTCHAPTER

Pagina 31

Chapter 33-2EDE AND CODEWRIGHT3CHAPTER

Pagina 32

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

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

Pagina 34

TABLE OFCONTENTSCONTENTS

Pagina 35

4EDITORCHAPTER

Pagina 36 - CODEWRIGHT

Chapter 44-2EDITOR4CHAPTER

Pagina 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

Pagina 38

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

Pagina 39

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

Pagina 40

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

Pagina 41 - Chapter 4

APYTHONAPPENDIX

Pagina 42

Appendix AA-2PYTHONAAPPENDIX

Pagina 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

Pagina 44

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

Pagina 45

Table of ContentsIVCONTENTSCONTENTS

Pagina 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

Pagina 47

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

Pagina 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

Pagina 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

Pagina 50

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

Pagina 51 - Uninitialize() invocation

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

Pagina 52

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

Pagina 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

Pagina 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

Pagina 55 - DdeDisconnect

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

Pagina 56

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

Pagina 57 - Appendix A

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

Pagina 58

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

Pagina 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

Pagina 60

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

Pagina 62

IndexIndex-2INDEXINDEX

Pagina 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

Pagina 64

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

Pagina 65

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

Pagina 66

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

Pagina 67

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

Commenti su questo manuale

Nessun commento