xPC Target    
getxpcpci

Determine which PCI boards are installed in the target PC

Syntax

MATLAB Command Line

Arguments

type_of_boards
Values are no arguments, 'all', and 'supported'.

Description

The information is displayed in the MATLAB window. Only devices supported by driver blocks in the xPC Target Block Library are displayed. The information includes the PCI bus number, slot number, assigned IRQ number, manufacturer name, board name, device type, manufacturer PCI ID, and the board PCI ID itself.

For a successful query:

Examples

Return the result of the query in the struct pcidevs instead of displaying it. The struct pcidevs is an array with one element for each detected PCI device. Each element combines the information by a set of field names. The struct contains more information compared to the displayed list, such as the assigned base addresses, the base and subclass.

Display the supported and installed PCI devices.

Display the installed PCI devices, not only the devices supported by the xPC Target Block Library. This includes graphics controller, network cards, SCSI cards, and even devices that are part of the motherboard chipset (for example PCI-to-PCI bridges).

Display a list of the currently supported PCI devices in the xPC Target block library. The result is stored in a struct instead of displaying it.

When called with the 'supported' option, getxpcpci does not access the target PC.


  getxpcenv setxpcenv