EasyManuals Logo

dSPACE DS1103 Hardware Installation And Configuration

Default Icon
254 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #121 background imageLoading...
Page #121 background image
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Implementing and Handling Applications
DS1103 Hardware Installation and Configuration March 2004
121
■■■■■■■■■I
■■■■■■■■■■■■■■
How to Implement C Models
To demonstrate how to proceed without MATLAB and Simulink, the
C-coded example
smd_1103_hc.c
is used. This model does not require
any I/O hardware. It simulates a damped spring-mass system
stimulated by a square-wave signal. The parameters are spring, mass
and damper.
To compile and link the application, you can use the
down1103
utility in
a DOS window to call the makefile. After the object file is downloaded
and started, the RTP error check utility is called automatically.
To edit and download an application
1 Open the file
%DSPACE_ROOT%\Demos\DS1103\GettingStarted
\HandCode\smd_1103_hc.c
using a text editor of your choice.
2 Browse through the source code, but do not alter the code yet.
3 To invoke
down1103
, in a DOS window change to the directory
%DSPACE_ROOT%\Demos\DS1103\GettingStarted\HandCode
and type
down1103 smd_1103_hc
The object file
smd_1103_hc.ppc
is generated, downloaded and
started.
4 Use ControlDesk to stop the real-time application:
Select the DS1103 in the Platform Navigator, and click the
Stop RTP/Simulation icon in the Platform toolbar.

Table of Contents

Other manuals for dSPACE DS1103

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the dSPACE DS1103 and is the answer not in the manual?

dSPACE DS1103 Specifications

General IconGeneral
BranddSPACE
ModelDS1103
CategoryController
LanguageEnglish

Related product manuals