Chapter 5
Programming
AT-MIO-16X User Manual
5-32
©
National Instruments Corporation
sequence of events continues ad infinitum and does not stop until the
update signal is removed or the DAC circuitry is cleared.
This sequence requires that the GATE2SEL signal in addition to the
SRC3SEL signal be set in Command Register 4. This allows Counter 1
to count the buffer retransmit signals from the source line of Counter 3
while Counter 2 is gated by the signal at its own gate pin.
Waveform Generation Programming Functions
This section provides a detailed explanation of the programming
functions necessary to generate synchronously timed analog output
waveforms.
Clearing the Analog Output Circuitry
This involves clearing the TMRREQ, DACCOMP, and DMATCA or
DMATCB bits in the Status Register. To do this, access the TMRREQ
Clear, DAC Clear, and if necessary, the DMATCA or DMATCB Clear
registers.
Selecting the Internal Update Counter
Select the desired signal at the RTSI switch to be used for updating the
DACs. OUT1, OUT2, OUT3 (available as EXTCONV*), and OUT5 are
available for updating. To route these update signals, the A side pin of
the RTSI switch must be internally routed to the B side, or trigger side.
Select a trigger line that is not being used. The signal must be routed
from the selected B side trigger line to the A4 pin on the RTSI switch.
All of this is done in one programming sequence by shifting a 56-bit
value to the RTSI switch. See the RTSI Bus Trigger Line Programming
Considerations section later in this chapter.
Notice that if OUT5 is to be used for updating, it does not need to be
routed across the RTSI switch. In this case only is it sufficient to enable
A4DRV to drive pin A4 of the RTSI switch with OUT5.
Programming the Update-Interval Counter
Select the appropriate counter (1, 2, 3, or 5) from the Am9513A
Counter/Timer to be used for updating the DACs. Active low pulsing
and no gating should be part of the mode programmed. To program the
update-interval counter, complete the following programming
Summary of Contents for DAQ AT-MIO-16X
Page 240: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 2 National Instruments Corporation...
Page 241: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 3 AT MIO 16X User Manual...
Page 242: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 4 National Instruments Corporation...
Page 243: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 5 AT MIO 16X User Manual...
Page 244: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 6 National Instruments Corporation...
Page 245: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 7 AT MIO 16X User Manual...
Page 246: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 8 National Instruments Corporation...
Page 247: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 9 AT MIO 16X User Manual...
Page 248: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 10 National Instruments Corporation...
Page 249: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 11 AT MIO 16X User Manual...
Page 250: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 12 National Instruments Corporation...
Page 251: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 13 AT MIO 16X User Manual...
Page 252: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 14 National Instruments Corporation...
Page 253: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 15 AT MIO 16X User Manual...
Page 254: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 16 National Instruments Corporation...
Page 255: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 17 AT MIO 16X User Manual...
Page 256: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 18 National Instruments Corporation...
Page 257: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 19 AT MIO 16X User Manual...
Page 258: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 20 National Instruments Corporation...
Page 259: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 21 AT MIO 16X User Manual...
Page 260: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 22 National Instruments Corporation...
Page 261: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 23 AT MIO 16X User Manual...
Page 262: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 24 National Instruments Corporation...
Page 263: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 25 AT MIO 16X User Manual...
Page 264: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 26 National Instruments Corporation...
Page 265: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 27 AT MIO 16X User Manual...
Page 266: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 28 National Instruments Corporation...
Page 267: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 29 AT MIO 16X User Manual...
Page 268: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 30 National Instruments Corporation...
Page 269: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 31 AT MIO 16X User Manual...
Page 270: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 32 National Instruments Corporation...
Page 271: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 33 AT MIO 16X User Manual...
Page 272: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 34 National Instruments Corporation...
Page 273: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 35 AT MIO 16X User Manual...
Page 274: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 36 National Instruments Corporation...
Page 275: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 37 AT MIO 16X User Manual...
Page 276: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 38 National Instruments Corporation...
Page 277: ...Appendix C AMD Am9513A Data Sheet National Instruments Corporation C 39 AT MIO 16X User Manual...
Page 278: ...Appendix C AMD Am9513A Data Sheet AT MIO 16X User Manual C 40 National Instruments Corporation...