Level Trigger Stop or External Stop Trigger doesn't work

If the current number of samplings is less than the number of samplings which is set by AioSetAiStopTimes function, the input of level trigger stop or external trigger stop is ignored and sampling continues.
The level trigger stop or external trigger stop takes effect after the current number of samplings exceeds the value set by AioSetAiStopTimes function.
This phenomenon only occurs when using the analog E-series device.

 

If you want to enable the level trigger or external trigger immediately after the operation starts, please set 1 to the parameter of AioSetAiStopTimes function after setting the level trigger or external trigger with the AioSetAiStopTrigger function.

(Example) When setting the stop condition to "External trigger rising edge"
   Ret = AioSetAiStopTimes ( Id , 1 )   //Set the number of samplings to 1

 

Analog E-series devices
   AD12-16(PCI)EV
   AD12-16U(PCI)EV
   AD16-16(PCI)EV
   AD16-16U(PCI)EV
   AIO-121601E3-PE
   AIO-121601UE3-PE
   AIO-161601E3-PE
   AIO-161601UE3-PE
   AI-1216I2-PCI