Start
⑤ CNT Sampling [cnt_start_samp.vi]

 

 Select to perform the sampling of the counter input

 When "counter synchronization start" in "trigger settings" is selected, the counter will also start at the same time

 When synchronizing the start of sampling with multiple boards, the slave should execute this VI before starting master

 


IN/OUT Terminal layout

 


Input terminal

CntSamplingChannelNum

Initial value: 1

Specify the number of channels used for sampling

It is specified from Ch 0 with consecutive number of channels
For example, if 2 is specified, it becomes Ch 0, Ch 1 setting

  

CntSamplingBuffer

Initial value: 1M

Specify the size of the buffer used for sampling

Unit is data

    0: 1M
    1: 10M
    2: 100M

  

CntMemoryType

Initial value: 0 (FIFO)

Set the memory type of the sampling buffer

    0: FIFO
    1: RING

Read the specified number of data from the beginning of the data accumulated in the FIFO buffer
Reads the specified number of data backward from the latest data RING sampled

  

CntCounterMode

"-1" can be set

Initial value: 0 (integrating counter)

Specify the operation mode of the counter

    0: Integration counter
    1: Difference counter

 

CntSamplingTimes

Initial value: 0

Specify the number of sampling and get confirmation notification by the CNT sample "Status" VI 

You can receive notifications of the number specified in this setting with CntSamplingCount of "Status" VI
It can be used for periodic processing and data acquisition every constant sampling

If 0 (initial value) is specified, no notification is made