User`s guide

getxpcenv
Environment P rope rty Description
EmbeddedOption
Values are 'Disabled' and 'Enabl ed'. This property
is read only.
Note that the xPC Target Embedded Option product is
enabled only if you purchase an additional license.
EthernetIndex
Value is n’, where n indicates the index number for the
Ethernet card on a target PC. Note that the
(n-1)th
Ethernet card on the target PC has an index number
'n'. The default index number is 0.
If the target PC has multiple Ethernet cards, you must
select the appropriate card for networking with the
host PC. This option returns the index number of the
card selected on the target PC upon booting.
HostTargetComm
Values are 'RS232' and 'TcpIp'.
From the xPC Targ et Explorer window Host target
communica tio n list, select either
RS232 or TCP/IP.
If you select
RS232, you also need to set the property
RS232HostPort.IfyouselectTCP/IP,thenyoualso
need to set all properties that start with
TcpIp.
MaxModelSize
BootFloppy and DOSLoader modes ignore this value.
Values are
'1MB', '4MB ',and'16MB'.
From the xPC Target Explorer window Maximum
model size list, select ei ther
1MB, 4MB,or16 MB.
This value is unavailable for BootFloppy or DO SLoader
modes.
Choosing the maximum model size reserves the
specified amount of memory on the target PC for the
target application. The remaining memory is used by
the kernel and by the heap for data logging.
Selecting too high a value leaves less memory for data
logging. Selecting too low a va lu e does not reserve
18-71