User`s guide
7 Working with Target PC E nvironments
Target Environment Command-Line Interface
In this section...
“Creating Target PC Environment Object Containers” on page 7-2
“Displaying Target PC Environment Object Property Values” on page 7-2
“Setting Target PC Environment Collection Object Properties” on page 7-3
“Adding Target PC Environment Collection Objects” on page 7-4
“Removing Target PC Environment Collection Obje cts” on page 7-4
“Getting Target PC Environment Object Names” on page 7-4
“Changing Target PC Environment Object Defaults” on page 7-5
“Working w ith Particular Target PC Object Environments” on page 7-5
Creating Target PC Environment Object Containers
xpctarget.targets is a conta in er that m a nages target PC environment
collection objects. To create an object container of type
xpctarget.targets,
use the constructor command
xpctarget.targets. F or example, the following
creates a
tgs object. In the MA TLAB window, type
tgs = xpctarget.targets
The resulting target PC object container is tgs (target PC environment
collection object) through which you can m anag e target PC environment
objects.
Displaying Target PC Environment Object Property
Values
To display the properties of a target PC environment collection object, use the
target PC object container method
get. You can use either a method syntax
or an object property syntax.
The syntax
get(env_collection_object) can be replaced by
env_collection_object.get
7-2