NI-Digital Pattern Driver C Function Reference

niDigital_reset

  • Updated2023-11-24
  • 1 minute(s) read

niDigital_reset

Utility Group

Resets a digital pattern instrument to a known state.

This function performs the following actions:

  • Aborts pattern execution.
  • Clears pin maps, time sets, source and capture waveforms, and patterns.
  • Resets all properties to default values, including the niDigital Selected Function property that is set to Disconnect, causing the I/O switches to open.
  • Stops exporting all external signals and events.

C Function Prototype: ViStatus niDigital_reset (ViSession vi)

Parameter Description
vi The specified instrument session the niDigital_init or niDigital_InitWithOptions function returns.

Return value: Reports the status of the operation.

Log in to get a better experience