VI_ATTR_PXI_SLOTPATH
Resource Classes
PXI INSTR
Attribute Information
Access Privilege | Data Type | Range | Default |
---|---|---|---|
Read Only Global |
ViString |
N/A |
N/A |
Description
VI_ATTR_PXI_SLOTPATH specifies the slot path of this device.
The purpose of a PXI slot path is to describe the PCI bus hierarchy in a manner independent of the PCI bus number. PXI slot paths are a sequence of values representing the PCI device number and function number of a PCI module and each parent PCI bridge that routes the module to the host PCI bridge (bus 0). Each value is represented as "dev[.func]", where the function number is listed only if it is non-zero. When a PXI slot path includes multiple values, the values are comma-separated.
The string format of the attribute value looks like this:
device1[.function1][,device2[.function2]][,...]
An example string is "5.1,12,8". In this case, there is a PCI-to-PCI bridge on device 8 on the root bus. On its secondary bus, there is another PCI-to-PCI bridge on device 12. On its secondary bus, there is an instrument on device 5, function 1. The example string value describes this instrument's slot path.
Related Topics