Switching Out End of trail navigation bar

Table of Contents

Target Connect

Connects to a QUARC target.

Library

QUARC Targets/Advanced/Dynamic Reconfiguration

Description

Target Connect

The Target Connect block establishes a connection to a QUARC target. The name of the block is the name associated with the connection. Once a connection is established, the other dynamic reconfiguration blocks may be used to download code to the target, switch models on the target dynamically, etc. The connection is established when the model is started and closed when the model is terminated. Using connection names as an alias for the actual target URI allows the target URI to be changed in one place rather than in every block using the connection.

This block is part of the dynamic reconfiguration facilities of QUARC which allow running models to be swapped for another model on-the-fly. In particular, dynamic reconfiguration may be performed under the control of a supervisory model.

Models which will be dynamically reconfigured should have the Support dynamic reconfiguration option checked on the Code Generation/QUARC tab of the Configuration Parameters dialog.

Targets are identified by a Universal Resource Identifier (URI). QUARC uses URI's for all its communications because it provides a uniform, extensible and flexible means of identifying the communication protocol to use and the associated communication parameters. Refer to Universal Resource Identifiers for more information."

Input Ports

This block has no input ports.

Output Ports

This block has no output ports.

Parameters and Dialog Box

Target Connect

Target URI

The URI identifying the QUARC target to which to connect. For example, tcpip://quanser-dev:17000 connects to the remote host called quanser-dev using TCP/IP on port 17000.

Buffer size

The size of the buffer used for communications. This buffer is independent of any buffering in the underlying communication protocol. Increasing the buffer size may increase performance.

Targets

Target Name

Compatible*

Model Referencing

Comments

QUARC Win32 Target

Yes

Yes

QUARC Win64 Target

Yes

Yes

QUARC Linux Nvidia Target

Yes

Yes

QUARC Linux QBot Platform Target

Yes

Yes

QUARC Linux QCar 2 Target

Yes

Yes

QUARC Linux QDrone 2 Target

Yes

Yes

QUARC Linux Raspberry Pi 3 Target

Yes

Yes

QUARC Linux Raspberry Pi 4 Target

Yes

Yes

QUARC Linux RT ARMv7 Target

Yes

Yes

QUARC Linux x64 Target

Yes

Yes

QUARC Linux DuoVero Target

Yes

Yes

QUARC Linux DuoVero 2016 Target

Yes

Yes

QUARC Linux Verdex Target

Yes

Yes

QUARC QNX x86 Target

Yes

Yes

Last fully supported in QUARC 2018.

Rapid Simulation (RSIM) Target

Yes

Yes

S-Function Target

No

N/A

Old technology. Use model referencing instead.

Normal simulation

Yes

Yes

* Compatible means that the block can be compiled for the target.

See Also

 

navigation bar