Return information about PCI boards installed in target computer
getPCIInfo(target_object)
getPCIInfo(target_object,'ethernet')
getPCIInfo(target_object, 'all')
getPCIInfo(target_object, 'verbose')
pci_devices = getPCIInfo(target_object, ___)
getPCIInfo(target_object, 'supported')
pci_devices_supported = getPCIInfo(target_object,
'supported')
getPCIInfo(
queries
the target computer, represented by target_object
)target_object
, for
installed PCI devices other than Ethernet controllers that the
Simulink®
Real-Time™ block library supports. To retrieve information about Ethernet
controllers, use the 'ethernet'
option.
The software displays in the Command Window information about the PCI devices
that getPCIInfo
found, including:
PCI bus number
Slot number (PCI device number)
PCI function number
Assigned IRQ number
Vendor (manufacturer) name
Device (board) name
Device type
Vendor PCI ID
Device PCI ID
Device release version
Before you can use this call, check that the target computer has started under
the Simulink
Real-Time kernel and that the Ethernet link is working. The real-time application can be loaded or the loader can be active and waiting for input. You
can check these preconditions by calling the function
SimulinkRealTime.pingTarget
.
Before building the model, you can use getPCIInfo
to find
resources to enter into a driver block dialog box. Such resources include PCI
bus number, slot number, and assigned IRQ number.
getPCIInfo(
queries the target computer, represented by target_object
,'ethernet')target_object
,
for Ethernet controllers that are installed.
getPCIInfo(
displays information about all
of the PCI devices found on the target computer represented by
target_object
, 'all')target_object
. This information includes graphics
controllers, Ethernet cards, SCSI cards, and devices that are part of the
motherboard chip set (for example, PCI-to-PCI bridges).
getPCIInfo(
shows the information displayed by target_object
, 'verbose')getPCIInfo(target_object,
'all')
for the
target computer represented by target_object
, plus
information about the PCI addresses that the BIOS assigns to this board.
queries the target computer represented by pci_devices
= getPCIInfo(target_object
, ___)target_object
according to the additional arguments you supplied. The call returns a structure
containing information about the PCI devices that the software found on the
target computer.
getPCIInfo(
displays a list of the PCI devices supported by the
Simulink
Real-Time block library. This call does not access the target computer, so
the Ethernet link does not have to be active.target_object
, 'supported')
returns a structure containing a list of devices supported by Simulink
Real-Time. This call does not access the target computer, so the Ethernet
link does not have to be active.pci_devices_supported
= getPCIInfo(target_object
,
'supported')