
UG-1688
Rev. 0 | Page 10 of 20
SETTING THE DAC OUTPUT
To configure the DAC output, use the
DAC Config Register
popup menu (see Figure 11). Click the
16 Bit DAC
block in the
block diagram to display the DAC configuration register. Select
the appropriate settings, and then click
Apply Changes
. It is
recommended to disable the output until the correct value in
the DAC input register is written to the device.
To change the DAC voltage or current output level, write the
appropriate hexadecimal code to the DAC input register, and
then click
Apply Changes
. Click
SW LDAC
to issue a software
LDAC command, or pull the LDAC pin low to update the DAC
output register with the values in the DAC input register. Enable
the DAC output by checking the
OUT_EN (Enable VI_OUT)
checkbox, and then click
Apply Changes
. The programmed
voltage or current is then reflected at the VI
OUT
pin.
2220
9-
01
1
DAC Config Register
Popup Menu
WRITING TO THE ADC CONFIGURATION REGISTER
The procedure to set up and configure the ADC input node is
discussed in the
data sheet. For this reason, writing
to the ADC configuration register through the
Apply Changes
function is disabled.
The dropdown list in the
SEQUENCE_COMMAND
pane
contains the list of available commands. The hexadecimal text
field in the
SEQUENCE_DATA
section is used in conjuction with
the
SEQUENCE_COMMAND
bits. The dropdown list in the
ADC IP SELECT
section is used to select the desired input node
for the ADC to convert. Click
Configure ADC
to initiate a write
to the ADC configuration register. A register read must be
performed to see the ADC result in the status register.
22209
-012
ADC Configuration Register
UPDATING DIAGNOSTIC RESULTS
has a digital diagnostic results register and an
analog diagnostic results register, which contain error flags for
the on-chip digital and analog diagnostic features. Writing 1 to
the respective error flags updates the error flag status.
To update the digital and analog diagnostic results registers,
click
Update and Readback Digital Diagnostic Result
for digital
diagnostic results registers or
Update and Readback Analog
Diagnostic Result
for analog diagnostic results registers. These
buttons initiate the writing of a 1 to the selected error flag and
then read back the updated diagnostic result.
Figure 13 shows the digital diagnostic results register. Figure 14
shows the analog diagnostic results register.
22
209-
014
DIGITAL DIAGNOSTIC RESULTS
Register
222
09-
013
ANALOG DIAGNOSTIC RESULTS
Register