Environment Property
|
Description
|
Version
|
xPC Target version number. Read-only.
|
Path
|
xPC Target root directory. Read-only.
|
CCompiler
|
Values are 'Watcom' or 'VisualC' . From the Setup window CCompiler list, select either Watcom or VisualC .
|
CompilerPath
|
Value is a valid compiler root directory. Enter the path where you installed a Watcom C/C++ or Microsoft Visual C/C++ compiler.
If the path is invalid or the directory does not contain the compiler, an error message appears when you use the function updatexpcenv or build a target application.
|
TargetRAMSizeMB
|
Values are 'Auto' or ' MB of target RAM ' .
From the Setup window TargetRAMSizeMB list, select either Auto or Manual . If you select Manual , enter the amount of RAM, in megabytes, installed on the target PC. This property is set by default to Auto.
TargetRAMSizeMB defines the total amount of installed RAM in the target PC. This RAM is used for the, kernel, target application, data logging, and other functions that use the heap.
If TargetRAMSizeMB is set to Auto, the target application automatically determines the amount of memory up to 64 MB. If the target PC does not contain more than 64 MB of RAM, or you do not want to use more then 64 MB, select Auto. If the target PC has more than 64 MB of RAM, and you want to use more than 64 MB, select Manual, and enter the amount of RAM installed in the target PC.
|
MaxModelSize
|
Values are '1MB' , '4MB' , or '16MB' .
From the Setup window MaxModelSize list, select either 1 MB , 4 MB , or 16 MB .
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 value does not reserve enough memory for the target application and creates an error.
|
SystemFontSize
|
Values are 'Small' or 'Large'.
From the Setup window SystemFontSize list, select either Small or Large .
The xPC Target GUIs use this information to change the font size.
|
CANLibrary
|
Values are 'None' , '200 ISA' , '527 ISA' , '1000 PCI' , '1000 MB PCI' , or 'PC104' .
From the Setup window CANLibrary list, select None , 200 ISA , 527 ISA , 1000 PCI , 1000 MB PCI , or PC104 .
|
HostTargetComm
|
Values are 'RS232' or 'TcpIp' .
From the Setup window HostTargetComm list, select either RS232 or TCP/IP .
If you select RS232 , you also need to set the property RS232HostPort. If you select TCP/IP , then you also need to set all properties that start with TcpIp.
|
RS232HostPort
|
Values are 'COM1' or 'COM2' .
From the Setup window RS232HostPort list, select either COM1 or COM2 for the connection on the host computer. xPC Target automatically determines the COM port on the target PC.
Before you can select an RS232 port, you need to set the HostTargetComm property to RS232 .
|
RS232Baudrate
|
Values are '115200' , '57600' , '38400' , '19200' , '9600' , '4800 ', '2400' , or '1200' .
From the RS232Baudrate list, select 115200 , 57600 , 38400 , 19200 , 9600 , 4800 , 2400 , or 1200 .
|
TcpIpTargetAddress
|
Value is ' xxx.xxx.xxx.xxx ' .
In the Setup window TcpIpTargetAddress box, enter a valid IP address for your target PC. Ask your system administrator for this value.
For example, 192.168.0.1
|
TcpIpTargetPort
|
Value is ' xxxxx ' .
In the Setup window TcpIpTargetPort box, enter a value greater than 20000 .
This property is set by default to 22222 and should not cause any problems. The number is higher than the reserved area (telnet, ftp, ...) and it is only of use on the target PC.
|
TcpIpSubNetMask
|
Value is ' xxx.xxx.xxx.xxx ' .
In the Setup window TcpIpSubNetMask text box, enter the subnet mask of your LAN. Ask your system administrator for this value.
For example, your subnet mask could be 255.255.255.0 .
|
TcpIpGateway
|
Value is ' xxx.xxx.xxx.xxx ' .
In the Setup window TcpIpGateway box, enter the IP address for your gateway. This property is set by default to 255.255.255.255 , which means that a gateway is not used to connect to the target PC.
If you communicate with your target PC from within a LAN that uses gateways, and your host and target computers are connected through a gateway, then you need to enter a value for this property. If your LAN does not use gateways, you do not need to change this property. Ask your system administrator.
|
TcpIpTargetDriver
|
Values are 'NE2000' or 'SMC91C9X' .
From the Setup window TcpIpTargetDriver list, select NE2000 , SMC91C9X , I82559 , or RTLANCE . The Ethernet card provided with xPC Target uses the NE2000 driver.
|
TcpIpTargetBusType
|
Values are 'PCI' or 'ISA' .
From the Setup window TcpIpTargetBusType list, select either PCI or ISA . This property is set by default to PCI , and determines the bus type of your target PC. You do not need to define a bus type for your host PC, which can be the same or different from the bus type in your target PC.
If TcpIpTargetBusType is set to PCI, then the properties TcpIpISAMemPort and TcpIpISAIRQ have no effect on TCP/IP communication.
If you are using an ISA bus card, set TcpIpTargetBusType to ISA and enter values for TcpIpISAMemPort and TcpIpISAIRQ.
|
TcpIpTargetISAMemPort
|
Value is '0x nnnn ' .
If you are using an ISA bus Ethernet card, you must enter values for the properties TcpIpISAMemPort and TcpIpISAIRQ. The values of these properties must correspond to the jumper settings or ROM settings on your ISA bus Ethernet card.
On your ISA bus card, assign an IRQ and I/O port base address by moving the jumpers on the card.
Set the I/O port base address to around 0x300. If one of these hardware settings leads to a conflict in your target PC, choose another I/O port base address and make the corresponding changes to your jumper settings.
|
TcpIpTargetISAIRQ
|
Value is ' n ' where n is between 4 and 15.
If you are using an ISA bus Ethernet card, you must enter values for the properties TcpIpISAMemPort and TcpIpISAIRQ. The values of these properties must correspond to the jumper settings or ROM settings on the ISA-bus Ethernet card.
On your ISA bus card, assign an IRQ and I/O-port base address by moving the jumpers on the card.
We recommend setting the IRQ to 5, 10, or 11 . If one of these hardware settings leads to a conflict in your target PC, choose another IRQ and make the corresponding changes to your jumper settings.
|
EmbeddedOption
|
Values are 'Disabled' or 'Enabled' . This property is read-only.
Note The xPC Target Embedded Option is enabled only if you purchase an additional license.
|
TargetScope
|
Values are 'Disabled' or 'Enabled' .
From the Setup window TargetScope list, select either Enabled or Disabled .
The property TargetScope is set by default to Enabled. If you set TargetScope to Disabled, the target PC displays information as text.
To use all the features of the target scope, you also need to install a keyboard and mouse on the target PC.
|
TargetMouse
|
Values are 'None' , 'PS2' , 'RS232 COM1' , 'RS232 COM2' .
From the Setup window TargetMouse list, select None , PS2 , RS232 COM1 , or RS232 COM2 .
Before you can select a target mouse, you need to set the Target Scope property to Enabled.
TargetMouse allows you to disable or enable mouse support on the target PC:
- If you do not connect a mouse to the target PC, you need to set this property to None; otherwise, the target application might not behave properly.
- If the target PC supports PS/2 devices (keyboard and mouse) and you connect a PS/2 mouse, set this property to PS2.
- If you connect a serial RS232 mouse to the target PC, select either
RS232 COM1 or RS232 COM2 depending on which serial port you attached the mouse to.
|
TargetBoot
|
Values are 'BootFloppy' , 'DOSLoader' , or 'StandAlone'. From the Setup window TargetBoot list, select BootFloppy , DOSLoader , or StandAlone . If your license file does not include the license for the xPC Target Embedded Option, the Target Boot box is disabled, with BootFloppy as your only selection. With the xPC Target Embedded Option licensed and installed, you have the additional choices of DOSLoader and StandAlone.
|