EasyManuals Logo

dSPACE CLP1104 User Manual

Default Icon
170 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 #49 background imageLoading...
Page #49 background image
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Implementing and Handling Applications
DS1104 Hardware Installation and Configuration March 2004
49
■■■■■■■■■I
■■■■■■■■■■■■■■
How to Implement C Models
To demonstrate how to proceed without MATLAB and Simulink, the
C-coded example
smd_1104_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
down1104
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\DS1104\GettingStarted
\HandCode\smd_1104_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
down1104
, in a DOS window change to the directory
%DSPACE_ROOT%\Demos\DS1104\GettingStarted\HandCode
and type
down1104 smd_1104_hc
The object file
smd_1104_hc.ppc
is generated, downloaded and
started.
4 Use ControlDesk to stop the real-time application:
Select the DS1104 in the Platform Navigator, and click the
Stop RTP/Simulation icon in the Platform toolbar.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

dSPACE CLP1104 Specifications

General IconGeneral
BranddSPACE
ModelCLP1104
CategoryController
LanguageEnglish

Related product manuals