跳到主要內容

發表文章

目前顯示的是 12月, 2014的文章

[Matlab] Tutorial : Matlab Real-time windows target with Advantech PCI-1716 card

This is tutorial about how to use matalb real-time windows target with Advantech PCI-1716 card. I use simulink AI block to read data from Advantech PCI-1716, and AI channel read a sine wave signal from a signal generator.      1.Install Advantech PCI board: real-time windows target -> analog input -> click block -> install new board -> Advantech PCI-1716 2.PCI-1602 read a sine wave from signal generator : Click AI block -> install new board or choose already board -> set channel and range -> run -> read a sine wave from scope

[Matlab] Simulink Real-time (xpc) & Real-time windows target introduction

Matlab provides two real-time library, and this table show feature, support hardware, and description. More detail can look another tutorial : Tutorial : Matlab Real-time windows target with Advantech PCI-1716 card . Simulink real-time (XPC target) Real-time windows target Feature Real-time performance approaching 1 kHz in normal execution mode  Real-time performance approaching 20 kHz in external execution mode (with Simulink Coder) Real-Time Windows Target includes a real-time engine that runs in Windows kernel mode In normal mode, Real-Time Windows Target synchronizes data between the real-time engine and Simulink. Real-time performance approaching 500 Hz in normal mode. Support hardware http://www.mathworks.com/products/simulink-real-time/supported/hardware-drivers.html . http://www.mathworks.com/hardware-support/real-time-windows-target.html