The example model "sldrtex_canio" shows how to transfer data through CAN bus. The model sends data within one computer, from one CAN channel to another. The two CAN channels can be either
The example model "sldrtex_counter" shows how to measure input signal frequency using Simulink Desktop Real-Time™. The measured signal is connected to the counter input of your data
The example model "sldrtex_streamio" shows how to transfer data through UDP communication protocol using ASCII encoding. The model sends data within one computer, from one UDP port to
The example model "sldrtex_packetio" shows how to transfer data through UDP communication protocol using binary encoding. The model sends data within one computer, from one UDP port to
The example model "sldrtex_controller" shows how to build a simple closed-loop real-time controller using Simulink Desktop Real-Time™. The output of the controlled plant is connected to
The example model "sldrtex_siggen" shows how to produce an analog output signal using Simulink Desktop Real-Time™. Because analog output typically requires less configuration and is
The example model "sldrtex_vdp" shows a real-time version of the Simulink® Van der Pol simulation model. This model does not need any external signals, so it does not need any data
The example model "sldrtex_pwmmeasure" shows how to measure PWM signal frequency and duty using Simulink Desktop Real-Time™. The measured signal is connected to gate pins of two counter
The example model "sldrtex_canmessage" shows how to transfer data through CAN bus, utilizing the CAN_MESSAGE data type and the CAN Pack and CAN Unpack blocks available in Vehicle Network
The example model "sldrtex_filter" shows a real-time filter built using DSP System Toolbox™ and Simulink Desktop Real-Time™. The unfiltered signal is acquired by the analog input, passed
The example model "sldrtex_dashboard" shows a real-time model of a water tank controlled by dashboard controls. You can change the inputs to the plant using the knobs and observe the
The example model "sldrtex_profiling" shows how to analyze model execution performance in Simulink Desktop Real-Time™. The example is a multirate multi-tasking model that performs a
Communicate between two Simulink® Real-Time™ models over Ethernet.
Perform concurrent execution of a model on Simulink Real-Time. It displays the execution of each model thread using the Simulink Real-Time profiling tool.
Do an analog and digital IO loopback test using the Diamond Systems MM-32-AT (PC/104) Board.
This model shows how to use the frame-based acquisition mode of the UEI MF and MFS boards in multi-board configurations.
This model shows how to use the frame-based acquisition mode of the UEI MF and MFS boards. This example requires the DSP System Toolbox™.
The transmission and reception of J1939 data through a loopback connection of two CAN ports in a single target computer. The message data is Trip Distance Information. The Parameter Group
Analog IO using the General Standards PMC-ADADIO Board.
Capture and view video images from a Camera Link camera attached to the Bitflow™ Neon-CLB frame grabber board. Images are acquired with the model dxpcImMultiTarget running on the target
Trace signals with an Simulink® Real-Time™ target scope. Target scopes are used to trace or display signals on a video monitor attached to the target computer. After the script builds and
Control the velocity of a motor using EtherCAT communication.
This model shows how to do tone control audio processing using General Standards I/O boards. It requires the DSP System Toolbox™.
Control the position of a motor through an EtherCAT network.
This model shows how to use the Condor® PCI-1553 board as a Bus Controller (BC). The model creates and sends a sequence of two messages and collects the response data.
This model shows how to read from and write to shared/reflective memory using GE® Fanuc PCI-5565 boards. Both the PCI-5565PIORC and the (formerly VMIC) VMIPCI-5565 have been tested with
A closed-loop control system using two Simulink® Real-Time™ models communicating over shared memory. The controller and plant models run on separate target computers and run at different
Use an Simulink® Real-Time™ file scope to log signal data to the file system on the target computer. Signals are logged during model execution. At the end of the run, the data is read from the
Do an analog and digital IO loopback test using the National Instruments® PCI-6289 (M-series) board.
EtherCAT communication using the Beckhoff digital I/O terminals EL1004 and EL2004.
This model shows how to use a for loop to iterate through a frame one sample at a time when the minimum sample time is the frame completion time. This example requires DSP System Toolbox™.
Do freerun signal tracing using an Simulink® Real-Time™ host scope. After the script builds and downloads the oscillator model, xpcosc, to the target computer, it adds a scope of type 'host'
This model shows how to transmit data over an ARINC-429 bus using the CEI-830A Send and Receive blocks. For the Send blocks, the data must be packed (encoded) using the ARINC-429 Encode block.
Use Simulink® Real-Time™ as a real-time spectrum analyzer. The example uses the model xpcdspspectrum. To examine the design and implementation of the key block, 'Spectrum Scope',