CNiIviDriver

Measurement Studio IVI

Class CNiIviDriver Data ItemsFunctionsGo to hierarchy chart    Prev page: SetSessionNext page: DestructorClosesSession    
Class Declared in:
NiIviDriver.h

'Overview' icon -- Shortcut to top of page. Overview

CNiIviDriver is the base class from which all instrument driver classes inherit. CNiIviDriver provides functionality common to all instrument drivers.

Hierarchy Chart Hierarchy Chart

'Data Items' icon -- Shortcut to top of page. Data Items

Public data bool DestructorClosesSession Determines if the session associated with the object is closed when the object is destroyed.
Public data CNiIviDriverOperation DriverOperation Properties that control the behavior of the specific driver.
Public data CNiIviSpecificDriverIdentity SpecificDriverIdentity Information about the specific driver.
Public data CNiIviUtility Utility Additional utility settings.

'Functions' icon -- Shortcut to top of page. Functions

Public function inline void

CloseSession()

Closes the driver session associated with the object.
Public function inline ViSession

GetSession() const

Return the session associated with the object.
Public function inline bool

SessionIsValid() const

Indicates if the session associated with the object is valid.
Public function inline void

SetSession( const CString& rsrcName, bool reset, bool idQuery, const CString& options = "", bool destructorClosesSession = true )

Constructor that creates a new session from the resource descriptor provided and assigns it to the object.
Public function inline void

SetSession( ViSession vi, bool destructorClosesSession = false )

Sets the object session to the value provided.