Products & Services Solutions Academia Support User Community Company

Learn more about xPC Target   

Version 4.2 (R2009b) xPC Target

This table summarizes what's new in Version 4.2 (R2009b):

New Features and Changes

Version Compatibility Considerations

Fixed Bugs and Known Problems

Related Documentation at Web Site

Yes
Details below

Yes—Details labeled as Compatibility Considerations, below. See also Summary

Bug Reports
Includes fixes

Printable Release Notes: PDF

Current product documentation

Changed CAN Block Messaging

You can use the new CAN Pack and CAN Unpack blocks that are available with your xPC Target™ license to perform message packing and message unpacking functions. Refer to the CAN Blocks Transition document for more information. These new blocks add the following functionality:

The message handling capability of the xPC Target CAN block library has changed. These blocks now use the CAN_MESSAGE data type. In previous releases, these blocks transferred data as 8 bytes in a double.

The Send and Receive blocks (including FIFO Write and Read blocks) for the Softing CAN-AC2-PCI with Philips SJA1000 CAN Controller and CAN-AC2-104 (PC/104) with Philips SJA1000 CAN Controller boards support the new message handling capability. The Send and Receive blocks for the Softing CAN-AC2 (ISA) with Philips PCA 82C200 CAN Controller and CAN-AC2 (ISA) with Intel® 82527 CAN Controller support only the old message handling capability.

Compatibility Considerations

If you have models that use old CANDBC blocks from the xPC Target block library (available by typing xpcobsoletelib), you will see an obsolescence warning message. (In the previous release, you saw this message when typing xpclib; this message now appears only when typing xpcobsoletelib.) These models will continue to work as before. You should update your models to use the new CAN Pack and the CAN Unpack blocks available from the xPC Target block library, as the old CAN Message blocks might be removed from a future release of the xPC Target product.

For information on how you can identify obsolete blocks and transition to the new blocks, see CAN Blocks Transition.

The following blocks have been moved to the xPC Target library of obsolete drivers:

You can still access these driver blocks by typing the command xpcobsoletelib at the MATLAB Command Window. Existing models that use these drivers will still work. However, their support is not guaranteed for future releases. Do not use these driver blocks in new models. Instead, use the corresponding blocks contained in the CAN Message Handling blocks library.

CAN Message Warning Message No Longer Appears

In xPC Target Version 4.1 (R2009a), typing xpclib in the MATLAB Command Window caused a CAN_MESSAGE warning. This warning now appears only when you type .xpcobsoletelib.

New .NET API xPC Target Framework Enables Users to Create Applications that Interface with a Target PC

The xPC Target environment now provides a .NET API for the Microsoft® .NET Framework. You can use this xPC Target API framework in any integrated development environment (IDE) that also supports the Microsoft .NET Framework environment. Use this API framework to create custom standalone applications (for example, Windows Forms applications running on a host PC that communicates with your target application running on a target PC). See xPC Target API for Microsoft .NET Framework in the xPC Target API Guide.

To access the types available from the xPC Target environment, reference this namespace in your application:

using MathWorks.xPCTarget.FrameWork;

The primary object is xPCTargetPC.

Enhanced UDP Send and Receive Block Allows Sending Variable Length Packets

The UDP library has been enhanced to support variable length packets. The following blocks are updated:

The default behavior of these blocks remains the same as before. Your existing UDP models will continue to work without modification.

Enhanced J1939 Support for Address Claiming

The J1939 library has been enhanced to support address claiming. See SAE J1939 in the xPC Target I/O Reference.

The following block is new:

The following blocks have changed to take into account the capabilities of the new J1939 Controller Application block:

Compatibility Considerations

If you have existing models that use the updated J1939 blocks, note that you must now add the J1939 Controller Application block to your model. You must then configure the J1939 Protocol Stack, J1939 Receive Message, and J1939 Transmit Message blocks to correctly reference the controller application.

National Instruments PCI-6225 Support

xPC Target 4.2 now supports National Instruments PCI-6225 as part of its support for the National Instruments® M series data acquisition boards.

Enhanced File Scopes

xPC Target file scopes now support dynamic naming and multiple files. For further information, see:

Support to Load Parameter Sets from Target PC File System

The xPC Target software now enables you to load parameter sets from the target PC file system. The Configuration Parameters dialog box has the following changes for xPC Target models. In the Application tunable parameter options section of the xPC Target options node, the following parameters are new:

See xPC Target Options in the xPC Target Getting Started Guide.

New Property for Target Application Object set Method

The target application set method has a new property, CommunicationTimeOut. Use this property to increase the time-out value for the communication between the target and host PC.

New xPC Target Support for Multicore Processors

If your target PC has multicore processors, the xPC Target software can now take advantage of these processors for background tasks.

To enable this feature, do one of the following. By default, this feature is off.

If you use polling mode, enabling the multicore processor feature also removes the following restrictions. Other restrictions still apply. (See Polling Mode in the xPC Target User's Guide for further details on these restrictions.)

xPC Target Compiler Support

The xPC Target software now supports the Intel Visual Fortran 10.1 compiler.

The xPC Target software no longer supports the Intel Visual Fortran 9.1 compiler.

xPC Target Demos

This release contains the following new demos:

Recreate Target Boot Disk and Rebuild Applications

Compatibility Considerations

If you upgrade your xPC Target software from a previous version, you must recreate the target PC boot image and you must rebuild your xPC Target applications. See xPC Target Boot Options in the xPC Target Getting Started Guide.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS