===================================================================== = API-CNT(LNX) Additional Sample Programs = = Timer Notification = = Ver.1.00 = = CONTEC Co., Ltd. = ===================================================================== - Introduction ======================= This package is the additional sample programs to show usage examples that are not presented in the sample programs of the development environment for API-CNT(LNX). Please use it as a reference when using the API-CNT(LNX) development environment. - Specification ======================= [Supported driver] API-CNT(LNX) [Supported development languages] gcc (C, C++) Python (3.12) [Supported devices] Devices that support the timer function - About this sample ======================= This is a sample program that uses the timer notification function of device to called callback function at specified interval and count up them. - Usage ======================= 1. Initialization - Select the command [1 : CntInit] to specify the device name. 2. Start Timer Operation - Select the command [2 : Timer Operation Start] to start timer operation after specifying the timer value. For the values that can be set, refer to the item of CntSetTimeUpEvent from the function reference of HELP. If executed normally, the notification count will start counting up at the specified time interval. 3. Stop Timer Operation - Select the command [3 : Timer Operation Stop] to stop timer operation. 4. End Processing - Select the command [4 : CntExit] to perform the exit handling of device. 5. End Program - Select the command [q : Quit] to exit the program. - Version History ======================= Ver.1.00 (Web Release 2024.09) ---------------------------------------- - First release