niHSDIO_reset

NI Digital Waveform Generator/Analyzer

niHSDIO_reset

Specific Function

C Function Prototype

ViStatus niHSDIO_reset (ViSession vi);

Purpose

Call this function to reset the session to its Initial state. All channels and front panel terminals are put into a high-impedance state. All software attributes are reset to their initial values.

During a reset, routes of signals between this and other devices are released, regardless of which device created the route. For instance, a trigger signal being exported to a PXI trigger line and used by another device will no longer be exported.

niHSDIO_reset is applied to the entire device. If you have both a generation and an acquisition session active, niHSDIO_reset resets the current session, including attributes, and invalidates the other session if it is committed or running. The other session must be closed.

Parameters

Name Type Description
vi ViSession This handle identifies your instrument session. vi was obtained from the niHSDIO_InitAcquisitionSession or niHSDIO_InitGenerationSession function.

Return Value