Dials & Gauges Blockset

Quick Start


Introduction

About the Dials & Gauges Blockset
The Dials & Gauges Blockset supplies realistic, instrument-like user interface controls for Simulink® blocks.

The instrumentation is based on ActiveX technology and is only available on Microsoft Windows platforms.

Model-Based Instrumentation
The Dials & Gauges Blockset provides you with model-based instrumentation, which allows you to add graphical instruments directly to your model, using them as you would use blocks from the Sources and Sinks libraries.

Real-Time Workshop Support
You can use Real-Time Workshop® 4.0 or later to generate code from models that include Dials & Gauges Blockset blocks.

For dials, the code you generate contains static values (i.e., the value specified at the time of code generation). Gauges are ignored during code generation, except through the use of external mode (see below). If you want to manipulate dials and view the gauges, you can do so through the Real-Time Workshop's external mode.

External Mode Support
The Dials & Gauges Blockset support for external mode allows you to incorporate dials and gauges into any target that you can connect to through external mode (e.g., the xPC Target and Real-Time Windows Target environments; see the documentation for those products for details).

For more information about external mode, see the external mode section of the Real-Time Workshop User's Guide.

For More Information
This chapter helps you get a quick start for working with the Dials & Gauges Blockset by illustrating how to use model-based instrumentation in a simple Simulink model.

Chapter 2, Using Model-Based Instrumentation discusses tasks involved in using model-based instrumentation. It provides a more thorough discussion of tasks than Chapter 1.

Chapter 3, Advanced Topics discusses advanced topics, such as importing your own ActiveX controls.

Simulink Block Diagrams and Active X Control Blocks
Before using ActiveX Control blocks with Simulink models, it is important to read this section to understand differences between using Simulink and using ActiveX Control blocks.

Selecting and Moving an ActiveX Control Block
To select an ActiveX Control block, click on its border. Once the ActiveX control has been created, the ActiveX Control block has a border and a "live" area within the border. This live area is the ActiveX control. To move a block, you must drag the block by the border, not the live area. This figure shows an ActiveX Control block and indicates the border.

Printing Limitation
The live areas of ActiveX Control blocks do not print with this release of the blockset. When you print a Simulink block with an ActiveX control, you will just see the outline of the block.


 A Sample Model