IRegister::In8

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

Reads in an 8-bit value from the specified memory space (assigned memory base + offset). This function takes the 8-bit value from 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

value As Byte = In8(
  space As Short,
  offset As Long
)

C++ Prototype

HRESULT In8(
  short space,
  long offset,
  BYTE* pVal8
);

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.

pVal8

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, In16, In32, Out8, Out16, Out32, MoveIn8, MoveIn16, MoveIn32, MoveOut8, MoveOut16, MoveOut32, Move, IRegister Overview