For a device with sampling function, it is possible to retrieve the count value (Sampling) periodically by using internal clock or external clock. It is necessary to perform sampling setting not only for using counter in sampling mode but also for using a usual counter. The sampling data is stored directly in the memory of the specified application.
In sampling mode, two or more continuous channels from channel 0 to a specified channel of the counter are sampled at the same time.
Except for software start/stop, sampling can also start/stop by the rising edge or falling edge of external signal. Moreover, It is possible to stop sampling with specified times, or start/stop sampling when the count becomes a specified value.
For sampling, except for condition setting of channel/start/clock/stop mentioned above, it is also need to set items such as the buffer for storing sampling data, sampling completion notification and specified time sampling completion notification.
For devices with synchronous control connector, when sampling channels are not enough in one board, by connecting two or more boards with synchronous control connector, sampling can be performed for all the connected boards in the same condition. Please refer to the chapter of when Using Two or More Boards at the Same Time or synchronous control connector for details.
Flow Chart of Sampling Mode
Sampling Condition Setting
Sampling Start
Sampling Completion
when Using Two or More Boards at the Same Time