Owner's manual

Chapter 4: PowerDAQ Software
48
Auto-regeneration output (pattern regeneration)
Some testing and control application require a continuous regeneration
of the same output pattern. For these purposes PowerDAQ DIO board
defines an especially dedicated mode, called auto-regeneration I/O.
Auto-regeneration mode can be used to create fixed length patterns
without any host intervention of user software after the subsystem has
initialized. An application writes data to the buffer of the PowerDAQ
driver board and each time the end of buffer is reached, it starts to re-
send the same buffer again. Note, that 2048 samples can fit into the
on-board DSP memory and auto regeneration of up to 2048 samples
will not require any intervention of the host PC.
Auto-regeneration is basically subset of a buffered output mode and
every buffered output example may be easily modified to the
regenerate mode.
Example, listed below may be easily modified to work in regenerate
mode, modification require only change of couple of defines and well
commented in the example source code:
pddo_buf.c - digital output stream (-ST boards only)