Closing Your Session

NI Digital Waveform Generator/Analyzer

Closing Your Session

For any application you write, you must close the specified session to close communication with the device and free resources that it has reserved. If the session is running, it is first aborted.

You can close your session by using the following functions:

LabVIEW VI C Function
niHSDIO Close niHSDIO_close

Use these functions for both dynamic and static data operations.

Note  To prevent generating unwanted signal glitches between initializing and closing sessions, no front panel terminals or channels are tristated by the close functions—they are all left driving whatever voltage they would have been driving had you simply used the niHSDIO Abort VI or the niHSDIO_Abort function. Use the niHSDIO Reset VI or the niHSDIO_reset function before using the close functions if you want to tristate your terminals and channels before closing your session.