CNiIviDriver::SetSession

Measurement Studio IVI

Class
CNiIviDriver::
SetSession()
Data ItemsFunctionsGo to hierarchy chart    Prev page: SetSessionNext page: CNiIviDriver    
Public Function Declared in:
NiIviDriver.h

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

inline void SetSession(
    ViSession vi,
    bool destructorClosesSession = false);

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

Sets the object session to the value provided. The object verifies that the session is of the correct type. If the object is already using a valid session and the DestructorClosesSession property is true, the function closes the existing session.

Shortcut to top of page. Parameters

ViSession vi

Session to associate with the object.

bool destructorClosesSession = false

Determines if the session associated with the object is closed when the object is destroyed.

'See Also' icon -- Shortcut to top of page. See Also