collapse_allSyntax

Top  Previous  Next

 

Boonton55xxx IVI Driver Reference


 

IIviDriver.Initialize Method


IIviDriver See Also



Opens the I/O session to the instrument. Driver methods and properties that access the instrument are only accessible after Initialize is called. Initialize optionally performs a Reset and queries the instrument to validate the instrument model.

Namespace: Ivi.Driver.Interop

Assembly: Ivi.Driver.Interop (in Ivi.Driver.Interop.DLL)

Visual Basic

Public Sub Initialize ( _
 ByVal  ResourceName As String  _
 ByVal  IdQuery As Boolean  _
 ByVal  Reset As Boolean  _
 ByVal  OptionString As String  _
)

C#

public void  Initialize(
 string  ResourceName,
 bool  IdQuery,
 bool  Reset,
 string  OptionString
)

Visual C++

HRESULT Initialize(
 BSTR  ResourceName,
 VARIANT_BOOL  IdQuery,
 VARIANT_BOOL  Reset,
 BSTR  OptionString
);

Parameters

ResourceName

An IVI logical name or an instrument specific string that identifies the address of the instrument, such as a VISA resource descriptor string.

IdQuery

Specifies whether to verify the ID of the instrument.

Reset

Specifies whether to reset the instrument.

OptionString

The user can use the OptionsString parameter to specify the initial values of certain IVI inherent attributes for the session. The format of an assignment in the OptionsString parameteris "Name=Value", where Name is one of: RangeCheck, QuerytInstrStatus, Cache, Simulate, RecordCoercions, InterchangeCheck,or DriverSetup. Value is either true or false except for DriverSetup. If the Options String parameter contains an assignment for the Driver Setup attribute, the Initialize function assumes that everything following "DriverSetup=" is part of the assignment.

collapse_allRequirements

Supported Models

All supported

collapse_allSee Also

Reference

IIviDriver Interface

Ivi.Driver.Interop Namespace

Footer image

Copyright 2013-16 Boonton. All rights reserved.