IVxi::SetAttribute

Note: Keysight's VISA COM does not support a COM server for VXI. The IVxi-related interfaces are listed in this help file because they are included in the global VISA COM library.

Description

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

VB Prototype

SetAttribute(
  attribute As Long,
  attrState As Variant
)

C++ Prototype

HRESULT SetAttribute(
  long attribute,
  VARIANT attrState
);

Parameters

attribute

The attribute type to modify.

attrState

The value of the attribute.

Return Value

Refer to the table of return codes.

See Also

ComponentVersion, SpecVersion, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, LockState, OptionString, ProgID, ResourceName, SessionType, SoftwareManufacturerID, SoftwareManufacturerName, Timeout, LastStatus, CommanderLA, DestinationAccessPrivilege, DeviceClass, FastDataChannel, FastDataChannelMode, FastDataChannelUsePair, ImmediateServant, LogicalAddress, MainframeLogicalAddress, ManufacturerID, ManufacturerName, MemoryBase, MemorySize, MemorySpace, ModelCode, ModelName, TriggerID, Slot, SourceAccessPrivilege, TriggerSupport, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, AssertTrigger, CommandQuery, IVxi Overview