11.HOW TO GENERATE AN ANALOG OUTPUT
This chapter describes how to generate an analog output directly (without the use of the driver software).
Thus there are three steps required to generate an analog output. Each step is described in detail. The steps must be completed in the sequence shown below.
To generate an analog output on one or more channels:
1.Write the LSB (least significant byte) to the board at register Base + 0.
2.Write the channel number to the board at register Base + 2..
3.Write the MSB (most significant byte) to the board.
4.Repeat steps
5.Update all changed channels by reading Base + 0 or Base + 1.
Hardware Update Command
A hardware update command can occur with a falling edge on the external trigger, pin 48 of J3.
To use hardware updating, or triggering, you must program the TRIGEN bit at Base + 3. See Chapter 3 for details.
⇒Note: When a channel is updated, its output will change only if new data has been written to it since the last update. For example, if you do a simultaneous update on all channels but you only wrote data to channel 0, then only channel 0 will change, and channels 1 - 15 will stay the same.
⇒Note: If hardware updating is enabled, software updating will still work.
Copyright 2001 Diamond Systems Corp. |