xPC Target | ![]() ![]() |
Introduction to the Dials & Gauges Blockset
Using the Dials & Gauges blockset as a graphical interface to your target application simplifies and enhances user interaction by providing an alternative to using a command-line interface.
The Dial & Gauges Blockset consists of a library of blocks that you add to your Simulink model. When used with xPC Target, components from the Dials & Gauges Blockset provide a graphical user interface that you use from your host PC. The graphical user interface allows you to change parameters that are then downloaded to your target PC. Other components from the Dials & Gauges Blockset provide animation of data uploaded from the target PC. While you change parameters or view the animation, your target application continues to run in real time.
The Dials & Gauges Blockset includes control blocks and display blocks.
Control blocks -- A control block is a block that you use to provide an input using a mouse or keyboard. For example, a control block could be a slider or a dial. Its output drives other blocks in the target application model and provides a visual display of the output parameters.
Display blocks -- A display block is a block that you use to view signals on your host computer. For example, a display block could be a tachometer or a gauge. A display block receives its input from the target application model and provides a visual display of the input signal.
Dials & Gauges Blockset Blocks
The Dials & Gauges Blockset consists of approximately sixty blocks grouped into the following libraries:
This environment allows you to interact with your target application using a user interface while the target application is running in real time on the target PC.
The procedure for using xPC Target with the Dial & Gauges Blockset consists of the following steps:
![]() | Interface with Dials & Gauges Blockset | Target Application Model Description | ![]() |