IRegister::Out32

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

Writes an 32-bit value to the specified memory space (assigned memory base + offset). This function takes the 32-bit value and stores its contents to the address space pointed to by space. The offset must be a valid memory address in the space. 

If the session object is an INSTR session, the offset parameter specifies a relative offset from the start of the instrument's address space. If the session object is a MEMACC session, the offset parameter is an absolute offset from the start of memory in that VXI address space.

VB Prototype

Out32(
  space As Short,
  offset As Long,
  val32 As Long
)

C++ Prototype

HRESULT Out32(
  short space,
  long offset,
  long val32
);

Parameters

space

Specifies the address space.

The following values are legal:

VXI_A16_SPACE Address the A16 address space of VXI/MXI bus.
VXI_A24_SPACE Address the A24 address space of VXI/MXI bus.
VXI_A32_SPACE Address the A32 address space of VXI/MXI bus.

offset

Offset (in bytes) of the starting address or register to which to write.

val32

Data to write to bus.

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, DestinationBigEndian, DestinationIncrement, SourceBigEndian, SourceIncrement, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, In8, In16, In32, Out8, Out16, Out32, MoveIn8, MoveIn16, MoveIn32, MoveOut8, MoveOut16, MoveOut32, Move, IRegister Overview