Documentation Center

  • Trials
  • Product Updates

Simulink Real-Time Examples

General Applications

Parameter Tuning and Data LoggingScript
Signal Tracing With a Host Scope in Freerun ModeScript
Signal Tracing Using Software TriggeringScript
Signal Tracing Using Signal TriggeringScript
Signal Tracing Using Scope TriggeringScript
Signal Tracing With a Target ScopeScript
Pre- and Post-Triggering of a Host ScopeScript
Time- and Value-Equidistant Data LoggingScript
Data Logging With a File ScopeScript
Frame Signal ProcessingModel
Spectrum AnalyzerScript
Simple Client Application With the .NET APIScript
Concurrent Execution with Simulink® Real-Time™Script

Drivers

Analog and Digital IO

IO Test with Diamond Systems MM-32-AT BoardScript
IO Test with General Standards PMC-ADADIO BoardScript
IO Test with National Instruments® PCI-6289 BoardScript
Digital IO with the MPL PATI BoardModel
Frame Based Acquisition with UEI MF and MFS BoardsModel
Synchronized Operation with Master/Slave ModeModel

ARINC 429

ARINC Encode Decode SimulationModel
ARINC Send ReceiveModel

Asynchronous Event

Asynchronous TransitionModel
Asynchronous Read/WriteModel
Asynchronous Interrupt Handler for Frame Based AcquisitionModel
Asynchronous Interrupt Handler for Frame Based Acquisition with Multiple BoardsModel

Audio

Audio ProcessingModel
Audio Power SpectrumModel
Audio Tone Control using General Standards BoardsModel

CAN (CAN_MESSAGE Data Types)

CAN I/O - Simple Use CaseModel
CAN I/O - Message-Based InterruptsModel
CAN I/O FIFO Mode - Simple Use CaseModel
CAN I/O FIFO Mode - Simple Use Case (Using Function Call Output)Model

Counters, Timers, PWM

PWM Generation with the MPL PATI BoardModel
Variable Duty Cycle Generation with the MPL PATI BoardModel
Frequency Sweep Generation with the MPL PATI BoardModel

Encoders

Incremental Encoder Input with the MPL PATI BoardModel

EtherCAT

EtherCAT Communication - Analog Input/OutputScript
EtherCAT Communication - Digital Input/OutputScript
EtherCAT Communication - Motor Velocity Control with Accelnet™ DriveScript
EtherCAT Communication - Motor position ControlScript

FlexRay

FlexRay CommunicationScript
FlexRay Communication and RestBus simulationScript
FlexRay Communication: Error Injection in networkScript

FPGA

Servo Control with the Speedgoat IO301 FPGA BoardScript
Digital I/O with the Speedgoat IO303 FPGA BoardScript

J1939

J1939 I/O - Using Transport ProtocolModel

MIL-STD-1553

QPCI-1553 InitializationModel
QPCI-1553 Remote TerminalModel
PCI-1553 Bus ControllerModel
PCI-1553 Remote Terminal Bus ControllerModel
PCI-1553 Bus MonitorModel

Raw Ethernet

Real-Time Transmit and Receive over EthernetScript
Filtering on MAC AddressScript
Filtering on EtherTypeScript
Ethernet Rx Block FilteringScript

RS-232

Simple ASCII Encoding/Decoding Loopback Test (With Baseboard Blocks)Model
ASCII Encoding/Decoding Loopback TestModel
ASCII Encoding/Decoding Loopback Test (With Baseboard Blocks)Model
ASCII Encoding/Decoding Resync Loopback TestModel
ASCII Encoding/Decoding Resync Loopback Test (With Baseboard Blocks)Model
Binary Encoding/Decoding Loopback TestModel
Binary Encoding/Decoding Loopback Test (With Baseboard Blocks)Model
Binary Encoding/Decoding Resync Loopback TestModel
Binary Encoding/Decoding Resync Loopback Test (With Baseboard Blocks)Model

Shared/Reflective Memory

Reading and Writing with GE® Fanuc PCI-5565 BoardsModel
Master/Slave Synchronization with GE® Fanuc PCI-5565 BoardsScript
Distributed Closed-Loop Control with GE® Fanuc PCI-5565 BoardsScript

UDP

Target to Host Transmission using UDPScript
Target to Target Transmission using UDPScript

Video

Image Capture with Camera Link® and Bitflow™ Neon-CLB Frame GrabberScript
Edge Detection with Camera Link® and Bitflow™ Neon-CLB Frame GrabberScript
Was this topic helpful?