3.6.1.8 LDAC Source and UPDATE Mode
Use this function to set the source and update mode for the LDAC<0..1> signals.
Function
AO_LDAC_Source_And_Update_Mode
{
Begin critical section;
AO_Configuration_Start = 1;
AO_LDAC0_Source_Select = 0 (LDAC0 will output UPDATE) or
AO_DAC0_Update_Mode = 0 (immediate-update mode) or 1 (timed-update mode);
AO_LDAC1_Source_Select = 0 (LDAC1 will output UPDATE) or
AO_DAC1_Update_Mode = 0 (immediate-update mode) or 1 (timed-update mode);
AO_Configuration_End = 1;
End critical section;
}
3.6.1.9 Stop On Error
Use this function to set the error conditions upon which the AOTM will stop.
Function
AO_Errors_To_Stop_On
{
Begin critical section;
AO_Configuration_Start = 1;
AO_Stop_On_BC_TC_Error = 0 (continue on BC_TC error) or
AO_Stop_On_BC_TC_Trigger_Error = 0 (continue on BC_TC trigger error) or
AO_Stop_On_Overrun_Error = 0 (continue on overrun error) or
AO_Configuration_End = 1;
End critical section;
}
3.6.1.10 FIFO Mode
Use this function to select the data FIFO condition on which interrupt or DMA requests will
be generated, if you want the DAQ-STC to generate them. You can also use this function to
program FIFO control for local buffer mode, with or without pauses.
© National Instruments Corporation
Chapter 3
1 (LDAC0 will output UPDATE2);
1 (LDAC1 will output UPDATE2);
1 (stop on BC_TC error);
1 (stop on BC_TC trigger error);
1 (stop on overrun error);
3-29
Analog Output Timing/Control
DAQ-STC Technical Reference Manual