niHSDIO_ResetDevice

NI Digital Waveform Generator/Analyzer

niHSDIO_ResetDevice

Specific Function

C Function Prototype

ViStatus niHSDIO_ResetDevice (ViSession vi);

Purpose

Call this function to reset the device to its Initial state and reload its FPGA. All channels and front panel terminals are put into a high-impedance state. All software attributes are reset to their initial values. The entire contents of the FPGA and EEPROM files are reloaded. Use this function to re-enable your device if it has disabled itself because the device temperature has risen above its optimal operating temperature.

During a device 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_ResetDevice is applied to the entire device. If you have both a generation and an acquisition session active, niHSDIO_ResetDevice resets the current session, including attributes, and invalidates the other session if it is committed or running. The other session must be closed.


Generally, calling niHSDIO_reset is acceptable instead of calling niHSDIO_ResetDevice. niHSDIO_reset executes more quickly.

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