MATLAB XPC TARGET 4 - IO Guide de l'utilisateur Page 107

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 182
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 106
getxpcpci
5-25
5getxpcpci
Purpose Determine which PCI boards are installed in the target PC
Syntax MATLAB Command Line
getxpcpci(’type_of_boards’)
Arguments
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:
The host-target communication link must be working. (The function
xpctargetping must return success before using the function getxpcpci.
Either a target application is loaded or the loader is active. The latter is used
to query for resources assigned to a specific PCI device, which have to be
provided to a driver block dialog box prior to the model build process.
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 fieldnames. The struct
contains more information compared to the displayed list, such as the assigned
base addresses, the base and sub class.
pcidevs = getxpcpci
Display the supported and installed PCI devices.
getxpcpci(’all’)
Display the installed PCI devices, not only the devices supported by the xPC
Target Block Library. This will include graphics controller, network cards,
SCSI cards and even devices which are part of the motherboard chipset (for
example PCI-to-PCI bridges).
getxpcpci(’all’)
type_of_boards Values are no arguments, ’all’ and ’supported’.
Vue de la page 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 181 182

Commentaires sur ces manuels

Pas de commentaire