Digital Input Counter [DiCounter]


 

How to use

 

  1. Enter the device name registered by Device Manager into Device Name. Click the DioInit button.

  2. Specify the signal change pattern as a condition for counting input signals.
    Select Rising, Falling, or both for each channel from the Count Edge drop-down list
    and press the DioSetCountEdge button.

  3. To confirm that the specified count value is matched,
    enter the comparison register value in decimal for each channel at Comparison Register Value
    and press the DioSetCountMatchValue button.

  4. Click the DioStartCount button to start count.

  5. Click the DioReadCount button to display the count value at that time.

  6. Click the DioGetCountStatus button to display the count status at that time.
    Please refer to DioGetCountStatus for the details of the status.

  7. Click the DioStopCount button to stop count.

  8. Click the DioExit button to stop using the device.

  9. Click the Exit button to exit the program.

 

Note

This sample can be used only for the device with count function.