The sampling start condition is selected from the following table.
The control of Sampling start and stop are independent, and they are set
separately.
Software |
External Trigger Rising Edge |
External Trigger Falling Edge |
Level Comparison |
In Range Comparison |
Out Range Comparison |
Event Controller Output |
Sampling starts immediately after executing the conversion start function (AioStartAi) under the set sampling condition, and stores the conversion data in memory.
After executing the conversion start function (AioStartAi), it is in the status of waiting for the external control signal. When an external control signal (TTL) in the preset edge direction is input, sampling starts and stores the conversion data in memory.
After executing the conversion start function (AioStartAi), compare the preset value of comparison level with the magnitude of the analog signal of the specified channel. Start storing the conversion data, when they match the comparison condition.
Start storing the conversion data with the output signal from event
controller which is the start condition.
Please refer to the tutorial of Event
Controller.
The start condition is set by function AioSetAiStartTrigger.
Ret = AioSetAiStartTrigger ( Id , AiStartTrigger )
The values and meanings set in AiStartTrigger are as follows.
0 |
Software |
1 |
External Trigger Rising Edge |
2 |
External Trigger Falling Edge |
3 |
Level Comparison |
4 |
In Range Comparison |
5 |
Out Range Comparison |
10 |
Event Controller Output |
The values that can be set depend on the devices. Please refer to [Specifications
based on devices] of function AioSetAiStartTrigger.
When level comparison is used as the start condition, please set
the level comparison start condition.