Instruction manual

AMPDIO DRIVERS
Page 94
6.4.1.13 Control Hardware Reinitialization DIO_TC_SetResetOnRegister
Controls whether or not the board registration functions reinitialize the hardware on the board
being registered. By default, the board registration functions do reinitialize the hardware.
SUPPORTED IN VERSION 4.40 ONWARDS.
Initialization involves setting PPI ports to input mode (using 8255 mode 0), any other digital
outputs to zero, ADC channels to bipolar, single-ended mode and maximum input range, ADC
multiplexer to channel 0, ADC conversion trigger source to software trigger, DAC channels to
bipolar with minimum output range and all DAC outputs set to 0 (which generally produces 0V
output). Note that timer counter channels and counter clock and gate connections are not
initialized.
Note that regardless of the DLL reinitializing the hardware on the board being registered,
versions of the hardware device driver prior to version 4.40 also reinitialize the hardware on a
board everytime it is opened. Version 4.40 of the hardware device driver only initializes the
hardware once before it is opened for the first time. The registerBoard and registerBoardPci
functions may open several unopen boards temporarily while looking for the one specified by
the function's parameters. The DLL only initializes the hardware on at most one of these
boards (the one referred to by the returned board handle), but older versions of the device
driver will reinitialize the hardware on each of them.
DIO_TC_SetResetOnRegister (fROR)
where fROR short: controls whether or not subsequent
calls to the board registration functions will
reinitialize the hardware on the board referred
to by their returned board handles:
0 = Do not reinitialize hardware
other = Reinitialize hardware (default)
Returns void.
Prior Calls none
See Also DIO_TC_GetResetOnRegister
registerBoard
registerBoardEx
registerBoardPci
6.4.1.14 Check Whether Hardware Will be Reinitialized DIO_TC_GetResetOnRegister
Indicates whether or not the board registration functions will reinitialize the hardware on the
board being registered. See the description of the DIO_TC_SetResetOnRegister function for
more details.
SUPPORTED IN VERSION 4.40 ONWARDS.
i = DIO_TC_GetResetOnRegister ()
Returns short: Value indicating whether or not subsequent calls to the board
registration functions will reinitialize the hardware on the board:
0 = Do not reinitialize hardware
1 = Reinitialize hardware (default)