Establishes client-server relationships between models or external applications.
The computer cannot process the math within the fixed-step size.
: Unlike standard Simulink models that are strictly periodic, QUARC allows you to create non-periodic threads quarc library simulink
The QUARC library is organized into categories to streamline the development of control systems: Description Common Blocks Interfaces with physical hardware sensors and actuators. HIL Read/Write, Analog Input, Encoder Input. Communications Handles data exchange between different models or devices. Stream Call, Stream Send/Receive, TCP/IP, UDP. Multimedia For vision-based control and image processing. Video Capture, Display Image, RGB to Gray. Devices Specific support for high-level hardware. Game Controller, Wiimote, Specialized Robot drivers. Advantages for Developers
Built-in support for TCP/IP, UDP, Serial (RS-232/RS-485), Shared Memory (for ultra-fast communication between two models on the same PC), and SPI/I2C for microcontrollers. HIL Read/Write, Analog Input, Encoder Input
The most critical block. Every QUARC model requires exactly one HIL Initialize block. It configures the hardware board, sets initial analog/digital output voltages, and establishes safety watchdogs.
: Change gains, setpoints, or logic in the Simulink model while it is running on the hardware, and see the results instantly without stopping the process. Multimedia For vision-based control and image processing
Connect the sensor data to standard Simulink blocks (like Sum, PID Controller, or Gain blocks).
Open your Simulink model and navigate to (Ctrl+E).