IGpibIntfc::Command

Description

Writes GPIB command bytes on the bus.

This operation attempts to write count number of bytes of GPIB commands to the interface bus associated with the session object.  This operation returns only when the transfer terminates.

VB Prototype

value As Long = Command(
  buffer As SAFEARRAY(BYTE),
  count As Long
)

C++ Prototype

HRESULT Command(
  SAFEARRAY(BYTE)* buffer,
  long count,
  long* pRetCount
);

Parameters

buffer

count

pRetCount

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, AddressingState, ATNState, DevStatusByte, CICState, HS488CBLLength, NDACState, PrimaryAddress, RENState, SecondaryAddress, SRQState, SysControlState, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, Command, ControlATN, ControlREN, PassControl, SendIFC, IGpibIntfc Overview