Interface IPxi

Description

The IPxi base interface defines the methods and COM properties specific to PXI INSTR sessions.

IPxi derives from IVisaSession.

Note: Programming is identical for PXI, PXIe and PCIe device types. The term PXI is used in this document to represent all three device types.

Methods

GetAttribute

Use of this method is discouraged. All the non-deprecated standard attributes are accessible via properties on the appropriate COM interfaces.

SetAttribute

Use of this method is discouraged. All the non-deprecated standard attributes are accessible via properties on the appropriate COM interfaces.

Close

Closes the resource. Sending the resource's COM object's reference count to zero (and thus destroying the object) also executes a close, but this method may be useful for environments with garbage collection or other facilities that make object lifetimes non-deterministic.

Init

Opens the resource. This is the first method on IVisaSession or any of its derived interfaces to be called. In general, you will not call this method because you will use the Resource Manager to create resources.

LockRsrc

Locks the resource.

UnlockRsrc

Unlocks the resource

Properties

ActualLinkWidth

Returns the negotiated link width.

BusNumber

Returns the PCI bus number.

ChassisNumber

Returns the chassis number.

ComponentVersion

Returns the implementation version of the component.

DevNumber

Returns the PCI device number.

DstarBusNumber

Returns the differential star bus number.

DstarLineSet

Returns the connected set of PXI Express differential star bus lines.

FuncNumber

Returns the PCI function number.

HardwareInterfaceName

Get a description of the hardware interface.

HardwareInterfaceNumber

Returns the hardware interface number.

HardwareInterfaceType

Returns the hardware interface type.

IsExpress

Get whether the device is PXI Express.

LastStatus

The return value from the last method call on this interface. This property may be useful in Visual Basic, where positive return values, such as warnings and other non-error return values, cannot be retrieved.

See the Return Values page for a list of positive return values.

LockState

The current locking state of the interface.

MaxLinkWidth

Returns the current lock state of the resource.

MemBaseBar0

Returns the memory base address for BAR 0.

MemBaseBar1

Returns the memory base address for BAR 1.

MemBaseBar2

Returns the memory base address for BAR 2.

MemBaseBar3

Returns the memory base address for BAR 3.

MemBaseBar4

Returns the memory base address for BAR 4.

MemBaseBar5

Returns the memory base address for BAR 5.

MemSizeBar0

Returns the memory size for BAR 0.

MemSizeBar1

Returns the memory size for BAR 1.

MemSizeBar2

Returns the memory size for BAR 2.

MemSizeBar3

Returns the memory size for BAR 3.

MemSizeBar4

Returns the memory size for BAR 4.

MemSizeBar5

Returns the memory size for BAR 5.

MemTypeBar0

Returns the memory type used in BAR 0.

MemTypeBar1

Returns the memory type used in BAR 1.

MemTypeBar2

Returns the memory type used in BAR 2.

MemTypeBar3

Returns the memory type used in BAR 3.

MemTypeBar4

Returns the memory type used in BAR 4.

MemTypeBar5

Returns the memory type used in BAR 5.

OptionString

Returns the current state of all settable properties.

ProgID

Returns the programmatic ID that can be used by COM to create this object.

ResourceName

Returns the VISA resource name of the currently open resource. This name is the canonical version of the resource name and therefore may vary from the resource string used to open/init the resource.

SessionType

Returns the session type string, such as "INSTR" or "INTFC".

SlotLinkWidth

Returns the link width used by the slot.

SlotLocalBusLeft

Returns the slot number or special feature connected to local left bus lines.

SlotLocalBusRight

Returns the slot number or special feature connected to local right bus lines.

SlotPath

Returns the slot path.

SoftwareManufacturerID

The ID number of the vendor of this software component.

SoftwareManufacturerName

The name of the vendor of this software component.

SpecVersion

The VISA-defined version information for the specification version to which this component complies.

StarTriggerBus

Returns the PXI star trigger bus.

StarTriggerLine

Returns the connected PXI star line.

Timeout

Get or set the I/O timeout in milliseconds for I/O communication on this resource session.

TriggerBus

Returns the trigger bus number of this device.