Read-only
About VISAPassthrough

ReadBinaryCompact Method


Description

Reads binary data the same as the ReadBinary method, but returns the data in a more compact form of Safe Array. This is significantly faster but is not supported in all client environments. Note that binary data transfers over sockets are not supported.

VB Syntax

value = Vpassthru.ReadBinaryCompact (visaID)

Variable

(Type) - Description

value

(variant) - Variable to store the returned data.

Vpassthru

(object) -  A VISAPassthrough object

visaID

(long) VISA session number (see Open method).

Return Type

Safe Array of variants

Default

Not Applicable

Examples

value=Vpassthru.ReadBinaryCompact(1)

C++ Syntax

HRESULT ReadBinaryCompact(long session_num)

Interface

IVISAPassthrough