![]() | Download Help (Windows Only) |
ViStatus = niHSDIO_ResetDevice ( ViSession vi);
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, signal routes 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 is no longer 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.
Input | ||
Name | Type | Description |
vi | ViSession | Identifies your instrument session. vi was obtained from the niHSDIO_InitAcquisitionSession or niHSDIO_InitGenerationSession function. |
Name | Type | Description | ||||||||
Status | ViStatus | Reports the status of this operation. To obtain a text description of the status code, call the niHSDIO_error_message function. To obtain additional information concerning the error condition, use the niHSDIO_GetError and niHSDIO_ClearError functions. The general meaning of the status code is as follows:
|
Helpful
Not Helpful