simwb.rthosts

simwb.rthosts is a container that contains a collection of real-time host environments objects.

Syntax

rthosts_obj = simwb.rthosts

Description

The environment container contains a collection of real-time host environment objects (simwb.rthostenv), especially useful for a configuration with multiple real-time hosts. You can change the environment configuration by accessing the properties of the environment object created with the following syntax:

rthostenv_obj = simwb.rthostenv

For additional information on the simwb.rthostenv object, please see simwb.rthostenv

Property Summary

Property Description Writable

NumHosts

Count of number of real-time host environments in the collection.

No

Method Summary

Method Description

add (new environment)

Add a new SimWB real-time host environment object to the collection.

remove (existing environment)

Remove an existing SimWB real-time host environment object from the collection.

getRTEnvName

Get the names of all existing SimWB real-time host environment objects.

getRTEnv

Get an existing SimWB real-time host environment objects from the collection

save

Save the SimWB real-time host environment collection object