Write-only
About VISAPassthrough

WriteBinary Method


Description

Sends binary data to the VISA pass-through device. Note that binary data transfers over sockets are not supported.

VB Syntax

Vpassthru.WriteBinary visaID, bin_data

Variable

(Type) - Description

Vpassthru

(object) -  A VISAPassthrough object

visaID

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

bin_data

(variant) Data to be sent to the VISA pass-through device.

Return Type

Not Applicable

Default

Not Applicable

Examples

Vpassthru.WriteBinary 2,"*IDN?"

C++ Syntax

HRESULT WriteBinary(long session_num, variant bin_data)

Interface

IVISAPassthrough