IRegister64::MoveIn16Ex

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

Moves an 16-bit block of data from the specified memory space (assigned memory base + offset) to local memory.  This function reads the 16-bit value from the address space pointed to by space.  The offset must be a valid memory address in the space. 

Note: This method uses 64-bit integers. It can be used in Visual Basic.NET (VB.NET), but not in Visual Basic 6 (VB6) or earlier versions of Visual Basic.

If the session object is an INSTR session, the offset parameters specify relative offsets from the start of the instrument's address space.  If the session object is a MEMACC session, the offset parameters are absolute offsets from the start of memory in the specified VXI address space.

Note: The MoveInX functions do a block move of memory from a VXI device if the SourceIncrement property is one.  However, they do a FIFO read of a VXI memory location if the SourceIncrement property is zero.

VB Prototype

value As SAFEARRAY(Short) = MoveIn16Ex(
  space As Short,
  offset As Long,
  length As Long
)

C++ Prototype

HRESULT MoveIn16Ex(
  short space,
  int64 offset,
  long length,
  SAFEARRAY(short)* pBuf16
);

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 address or register from which to read.

length

Number of elements to transfer, where the data width of the elements to transfer is identical to data width.

pBuf16

Data read from 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, In8Ex,In16, In16Ex, In32, In32Ex, In64, In64Ex, Out8, Out8Ex, Out16, Out16Ex, Out32, Out32Ex, Out64, Out64Ex, MoveIn8, MoveIn8Ex, MoveIn16, MoveIn16Ex, MoveIn32, MoveIn32Ex, MoveIn64, MoveIn64Ex, MoveOut8, MoveOut8Ex, MoveOut16, MoveOut16Ex, MoveOut32, MoveOut32Ex, MoveOut64, MoveOut64Ex, Move, MoveEx, IRegister64 Overview