Write-only
About VISAPassthrough

Close Method


Description

Closes the specified remote VISA session. VISA sessions should always be closed when you are finished communicating with the remote device. Use this command to close (end) each VISA session that was opened successfully using the Open method. If you have more than one open session, and need to close them all at the same time, it may be faster and easier to use the Reset method.

VB Syntax

Vpassthru.Close visaID

Variable

(Type) - Description

Vpassthru

(object) -  A VISAPassthrough object

visaID

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

Return Type

Not Applicable

Default

Not Applicable

Examples

Vpassthru.Close 2

C++ Syntax

HRESULT Close(long session_num)

Interface

IVISAPassthrough