Advantech PCM-3350 Specifikace Strana 9

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 19
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 8
Once the model file is ready, save it and press Ctrl+b to build it. Then copy the three files shown in the
below figure into the flash disc.
NOTE: The “Current Folder” tab in the
MATLAB file explorer shows the active
working directory of MATLAB. You must
save all your model files in this folder or
else MATLAB will not know where the
file or its dependencies are. In the example
below ExpMdl is the active folder. So the
model was saved under it and when a build
was performed, all necessary files for
creating executables from C code were
created there. The executables are always
saved under the modelname_xpc_emb
folder. You must copy all these files and
put them into the CF card for your program
to run in Standalone Mode.
Experiment 1.2
Implement the same model used in exp 1.1 with a sample time of 0.01s, but this time use serial
communication to download the file onto the PC104 board.
To do this you need to connect a serial cable (DB-9) from the back of the host computer running
MATLAB to one of the two RS-232 ports on the PC104. The image below shows all the connectors you
will find on the PC104 board. See step 2.2.a to create DOS Loader files.
Zobrazit stránku 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 18 19

Komentáře k této Příručce

Žádné komentáře