Chapter 8
Interrupt Control
©
National Instruments Corporation
8-11
DAQ-STC Technical Reference Manual
/*To enable this interrupt, set AO_UC_TC_Interrupt_Enable = 1*/
}
}
Else if (Soft_Copy(AO_START1_Interrupt_Enable) is 1) then
{
If (AO_START1_St is 1) then
{
/*The interrupt was caused by AO START1 signal*/
Service the AO START1 interrupt;
/*To clear this interrupt, set AO_START1_Interrupt_Ack = 1*/
/*To enable this interrupt, set AO_START1_Interrupt_Enable = 1*/
}
}
Else if (Soft_Copy(AO_UPDATE_Interrupt_Enable) is 1) then
{
If (AO_UPDATE_St is 1) then
{
/*The interrupt was caused by AO UPDATE signal*/
Service the AO UPDATE interrupt;
/*To clear this interrupt, set AO_UPDATE_Interrupt_Ack = 1*/
/*To enable this interrupt, set AO_UPDATE_Interrupt_Enable = 1*/
}
}
Else if (Soft_Copy(AO_Error_Interrupt_Enable) is 1) then
{
If (AO_Overrun_St is 1) then
{
/*The interrupt was caused by one or both errors*/
Service the AO error interrupt;
/*To clear this interrupt, set AO_Error_Interrupt_Ack = 1*/
/*To enable this interrupt, set AO_Error_Interrupt_Enable = 1*/
}
}
Else if (Soft_Copy(AO_STOP_Interrupt_Enable) is 1) then
{
If (AO_STOP_St is 1) then
{
/*The interrupt was caused by AO STOP signal*/
Service the AO STOP interrupt;
/*To clear this interrupt, set AO_STOP_Interrupt_Ack = 1*/
/*To enable this interrupt, set AO_STOP_Interrupt_Enable = 1*/
/*This interrupt is not supported*/
}
}
Else if (Soft_Copy(AO_START_Interrupt_Enable) is 1) then
{
If (AO_START_St is 1) then