User`s guide

get (env collection object)
Property Description Writable
DefaultTarget
Contains an instance of the
defaulttargetenvironmentobject
(
xpctarget.env).
No
FloppyDrive
Allowsyoutosetthe3.5-inchdrive
letter to the one designated b y your
target PC. By default,
FloppyDrive
is set t o a:. Set this property to b:
only if the target PC designates it.
As necessary, set this value before
creating a boot disk. Valid values are
'a:' and 'b: '.
Yes
NumTargets
Contains the number of target objects
in the xPC Target system. Note t hat
this is not the actual number of target
PCs in the system.
No
Examples List the values of all the target object collection environment property
values. Assume that
tgs repres ents the target object collectio n
environment.
tgs=xpctarget.targets;
get(tgs)
CCompiler: 'VisualC'
CompilerPath: 'd:\applications\Microsoft Visual Studi o'
DefaultTarget: [1x1 xpctarget.env]
NumTargets: 3
List the value for the target object environment collection property
CCompiler. Note that the property name is a string, in quotation
marks, and not case sensitive.
get(tgs,'ccompiler') or tgs.get('CCompiler')
get(tgs,'CCompiler')
ans = VisualC
18-27