National Instruments 321645c-01 用户手册

下载
页码 554
Chapter 2
Function Reference — AO_Change_Parameter
NI-DAQ FRM for PC Compatibles
2-28
©
 National Instruments Corporation
Legal values for paramValue depend on paramID. The following paragraphs list features 
you can configure along with legal values for paramID with explanations and corresponding 
legal values for paramValue.
Reglitching
Every time you change the state of your DAC, a very small glitch is generated in the signal 
generated by the DAC. When reglitching is turned off, glitch size depends on the binary 
patterns that are written into the DAC; the glitch is largest when the most significant bit in the 
pattern changes (when the waveform crosses the midrange of the DAC); it is smaller in other 
cases. When reglitching is turned on, the glitch size is much less dependent on the bit pattern. 
To change the reglitching parameter, set paramID to 
ND_REGLITCH
.
If you are not concerned about this, you are likely to be satisfied by the default values NI-DAQ 
selects for you if you do not call this function. The following table lists devices on which you 
can change this parameter.
Voltage or Current Output
Some devices require separate calibration constants for voltage and current outputs. Setting 
the output type to voltage or current for these devices causes the driver to use the correct 
calibration constants and to interpret the input data correctly in 
AO_VWrite
. To change the 
output type, set paramID to 
ND_OUTPUT_TYPE
.
Table 2-3.  Reglitching Parameters for Permissible Devices
Device Type
Per Channel
Selection Possible
Legal Range for 
paramValue
Default Setting for 
paramValue
AT-MIO-16X
No
ND_OFF
 and 
ND_ON
ND_ON
AT-MIO-16E-1 
AT-MIO-16E-2 
AT-MIO-64E-3 
NEC-MIO-16E-4
PCI-MIO-16E-1
VXI-MIO-64E-1
VXI-MIO-64XE-10
Yes
ND_OFF
 and 
ND_ON
ND_OFF
Caution:  If you turn off reglitching on the AT-MIO-16X, timing problems that NI-DAQ cannot detect might occur.