===================================================================== = Counter Driver = = API-CNT(98/PC) Ver4.51 = = CONTEC Co.,Ltd. = ===================================================================== - Contents =========== Introduction Restrictions Notes The files installed Sample programs Career at version up - Introduction ============== Thank you for purchasing this product. The following descriptions of the API-CNT(98/PC)NT,W95 includes some material not shown in the help messages. Be sure to read it carefully. - Restrictions ============== This product corresponds to WindowsMe/98SE/98/95, and Windows Server 2003 /Vista/XP/2000/NT. Keep in mind that it does not correspond to Windows 3.1 and 16Bit application. - Notes ======= - In case of installing this product for Windows Server 2003/Vista/XP/2000 /NT, please be sure to login by Administrator. - In case of executing "API-TOOL Configuration", please be sure to login by Administrator. - How to install ===================== - Please execute the installer developed with the following places when you download it from our homepage. Development Emvironment(Full Set) C:\TEMP\APIPAC\CNT\Disk1\Setup.exe Run-Time Emvironment(Run-Time only) C:\TEMP\APIPAC\Runtime\CNT\Disk1\Setup.exe Before mounting the board when using it with Windows Vista Please execute "C:\TEMP\INF\WinVista\CNT\DPInst.exe" and install the driver. Please refer to the registration method of the hardware installed in the Development Environment. * C:\TEMP: extract place of default - It is possible to install it from Autorun.exe when installed from CD-ROM of API-PAC(W32). - The files installed ===================== - This product uses a setup program to install files in the System directory or other directory designated by the user in the following configuration. - If another API-TOOL drivers have already been installed, the files will be installed in that directory. \ CONFIG.EXE Configuration program for entry of hardware settings. PCCARDNT.EXE Utility program to recognize PC Card on NT4.0 . CNT\CNTNTD.CHM Help File *1 CTSTCNT.EXE Utility program to diagnose the CNT board. CNT\VER3.10\CNTNTD.CHM Help file for Ver.2.40 *1 CNT\SAMPLES\ Sample programs *1 *1 It is not installed in "RunTime Install". \\System - Common files for API-TOOL MSGECHO.OCX OCX for event in VB MSGECHO.DEP For Distribution Wizard CMESSAGE.OCX OCX for event in VB APCFG.VXD Device driver for CONFIG.EXE APCFG.DLL DLL file necessary for execution of CONFIG.EXE. - System files for API-CNT(98/PC)W95 APICNT.DLL DLL file for calling device driver APICNT00.VXD Device driver APICNT01.VXD Device driver APICNT02.VXD Device driver APICNT03.VXD Device driver APICNT.DEP For Distribution Wizard - Common files for OS OC30.DLL Used in MSGECHO.OCX MFCANS32.DLL " OLEPRO32.DLL " OLEAUT32.DLL " MSVCRT20.DLL " \\system32 - Common files for API-TOOL MSGECHO.OCX OCX for event in VB MSGECHO.DEP For Distribution Wizard CMESSAGE.OCX OCX for event in VB APCFG.DLL DLL file necessary for execution of CONFIG.EXE. - System files for API-CNT(98/PC)NT APICNT.DLL DLL file for calling device driver APICNT.DEP For Distribution Wizard - Common files for OS OC30.DLL Used in MSGECHO.OCX MFCANS32.DLL " OLEPRO32.DLL " OLEAUT32.DLL " MSVCRT20.DLL " \\system32\drivers - Common files for API-TOOL APCFG.SYS Device driver for CONFIG.EXE - System files for API-CNT(98/PC)NT APICNT00.SYS Device driver APICNT01.SYS Device driver APICNT02.SYS Device driver APICNT03.SYS Device driver - Sample programs ================= The sample programs consist of the following directories for every language. \ | +--\CNT | +--\SAMPLES | +--\INC Include(header) file for C/C++ | Module file for VB | +--\LIB Library file for C/C++ | +--\BC45 Sample program for Borland C++(C language)Ver4.52 | +--\VB4 Sample program for Visual Basic Ver4.0(32bit) | +--\VB6 Sample program for Visual Basic Ver6.0 | +--\VBNET Sample program for Visual Basic.NET | +--\VC2C Sample program for VisualC++(C language)Ver2.0 | +--\VC2CPP Sample program for VisualC++(C++)Ver2.0 | +--\VCNET Sample program for Visual C++.NET | +--\VCs Sample program for Visual C#.NET | +--\VC6C Sample program for VisualC++(C language)Ver6.0 | +--\VC6CPP Sample program for VisualC++(C++)Ver6.0 | +--\BC45 Sample program for Borland C++ Ver4.52 | +--\CntMaster Sample program only for bus master transfer function loading devices Explanation of a folder \CNT\SAMPLES\INC There is a file which performed the function definition for C/C++ , and VB. When a program is constructed, please use these files, include it in case of C/C++, add it to a project in case of VB. Moreover, please do not edit these files. \CNT\SAMPLES\LIB There is a LIB file for C/C++. When a program is constructed, add them to a project. In addition, the file is divided into for the VisualC++, and the BorlandC++. ApiCnt.lib for VisualC++ ApiCntBc.lib for BorlandC++ - Career at version up API-CNT(98/PC)NT ======================================== Ver4.50->Ver4.51 (Ver. Jun.2007) ------------------------------------- - Trouble with the possibility that the count value acquisition by the bus master transfer cannot be normally done is corrected. Ver4.40->Ver4.50 (Ver. Feb.2007) ----------------- - Supports Windows Vista. - Help file form change(*.HLP->*.CHM) - Samples\CntMaster\Vbnet\Sampling program Trouble that cannot normally write file the sampling data is corrected. - Samples\CntMaster\Vbnet\Sync program Memory protection addition from garbage collection Ver4.32->Ver4.40 (Ver. Nov.2006) ----------------- - Add the usable device Added device : CNT-3208M-PE Ver4.31->Ver4.32 ----------------- - When the hardware event occurs afterwards when software stops when set to counter start/stop by the hardware event, trouble that starts the counter is corrected. Moreover, when software stops because of this setting, trouble that the counter starts only for software to be going to start next time is corrected. Ver4.30->Ver4.31 (Ver. Aug.2006) ----------------- - Change driver name: API-CNT(98/PC)NT,W95 -> API-CNT(98/PC) - Trouble that cannot end the process when CntSetSamplingBuff() is executed while forwarding it in the bus master is corrected. Ver4.21->Ver4.30 (Ver. Apr.2006) ----------------- - Add the usable device Added device : CNT-3204MT-LPE - Supports Visual Basic 2005. - Supports Visual C# 2005. - Supports Visual C++ 2005. - The device that cannot be used when the photo coupler is specified with CntSelectChannelSignal() corrects trouble to which the error is not returned. Ver4.20->Ver4.21 ----------------- - Trouble from which the message when the interrupt of two or more channels enters almost at the same time by CntNotifyCountUp() might not be notified is corrected. Ver4.10->Ver4.20 (Ver. Aug.2005) ----------------- - Supports Windows Server 2003. Ver4.00->Ver4.10 (Ver. Jun.2005) ----------------- - Add function: CntGetWritePointerUserBuf() - Because the mistake was found in "About general transfer formats" of HELP, it corrects it. Ver3.50->Ver4.00 (Ver. Apr.2005) ----------------- - Add the usable device Added device : CNT24-4(PCI)H, CNT24-4D(PCI)H, CNT32-4MT(LPCI) Ver3.47->Ver3.50 (Ver. Jan.2005) ----------------- - Add the usable device Added device : CNT32-4MT(CB) - In order to make the sample program only for CNT32-8M(PCI) correspond to CNT32-4MT(CB), change the number of use channels into 4Ch from 8Ch. - Follow on it and it is a sample folder name. From "\Cnt8M" It changes into "\CntMaster." - Fault with the environment which a resource cannot acquire normally is corrected. - CntSetSamplingBuff() When a Ring argument is outside the range, it corrects so that the return value of 434h may be returned. - CntSetOutputSignalEvent() When a ChNo argument is outside the range, a return value is corrected to 404h from 405h. - CntSetSamplingMode() When a ChNo argument is outside the range, a return value is corrected to 404h from 405h. - CntSetInputSignalEvent() When a ChNo argument is outside the range, a return value is corrected to 404h from 405h. - CntSetCountUpEvent() When a ChNo argument is outside the range, a return value is corrected to 404h from 405h. - CntSetPresetReg() When a ChNo argument is outside the range, a return value is corrected to 404h from 405h. Ver3.46->Ver3.47 ----------------- - When a sampling transmission count carried out going up from 24 bits to 25 bits, the fault which is not counted normally was corrected. Ver3.45->Ver3.46 (Ver. Oct.2004) ----------------- - Visual C#.NET support - When CNT32-8M (PCI) are used in EAD(CB) SF, bus master transmission corrects the fault which may not operate normally. - Since the unit of Internal Clock had become us on the SamplingMode screen of the sample program Sampling of VB6, correct a display to ns. Ver3.44->Ver3.45 ----------------- - Function for CNT32-8M (PCI) CntNotifySamplingStop() and CntNotifySamplingCount() When it calls two or more times, the fault which may start a memory leak is corrected. - Function for CNT32-8M (PCI) The fault which a notice omission may generate in CntNotifySamplingCount() is corrected. Ver3.43->Ver3.44 ----------------- - When two or more channels are sampled by CNT32-8M (PCI) and the sampled total number of channels exceeds 0xFFFFFFFF, correct the fault it becomes impossible to acquire the normal number of samplings. Ver3.42->Ver3.43 (Ver. Nov.2003) ----------------- - VisualBasic.NET 2003 support. - VisualC++.NET 2003 support. - Fixed problem with HyperThreading PC. Ver3.41->Ver3.42 ----------------- - Fixed CNT32-8M(PCI) problem that borrow interrupt occurs when start counter. Ver3.40->Ver3.41 ----------------- - Fixed CNT32-8M(PCI) problem that counter value become 0xFFFFFFFF when digital filter is set. Ver3.34->Ver3.40 (Dec.2002) ----------------- - VisualBasic.NET support. - VisualC++.NET support. - Fixed CNT32-8M(PCI) problem that transfer count may not correct when transfer count is near 0x1000000 hex decimal. - Fixed CNT32-8M(PCI) problem that from counter start with sampling to counter start not with sampling, counter start or stop condition does not chenge. Ver3.33->Ver3.34 (Aug.2002) ----------------- - Fixed CNT24-4(PCI), CNT24-4D(PCI), CNT24-4(PC) driver CntTime function wait mode problem that wait time is not correct. - Fixed CNT32-8M(PCI) problem that stack segment break some bytes. Ver3.32->Ver3.33 (Web Release) ----------------- - Fixed CNT32-8M(PCI) driver that bus master stop event may raise incorrect time. Ver3.31->Ver3.32 ----------------- - Fixed CNT24-4D(PCI) driver that did not report using resources. Ver3.30->Ver3.31 (Web Release) ----------------- - Fixed CNT32-8M(PCI) driver that busmaster transfer problem cause from memory status. Ver3.20->Ver3.30 (Ver. Jan.2002) ----------------- - Fixed invalid counter value when interrupt. - Support Windows XP Professional and Windows XP Home Edition. - Under the Windows NT environment, a modification has been made that allows the driver to access the assigned I/O spaces even though these I/O spaces are not within the specification definition. Ver3.10->Ver3.20 (Ver. Aug.2001) ----------------- - Add the usable board Added board : CNT32-8M(PCI) - Add function : Usable functions deviding CntCnt function. New functions for CNT32-8M(PCI) - Help : Renewal of documentation to use counter board. - It can be possible that multiprocess can access to one board. - Diagnosis program Diagnosis program has moniter function and report function. Ver3.00->Ver3.10 ---------------- - Add the usable board Added board : CNT24-4D(PCI) : This is a counter board for Line-receiver/ - Add function : CntSetInputType Ver2.50->Ver3.00 (Ver. Oct.2000) ---------------- - Version up with the driver for Windows95. Ver2.40->Ver2.50 (Ver. Apr.2000) ---------------- - Support Console-Apprication. - Support Windows2000 Ver2.31->Ver2.40 (Ver.June 1998) ---------------- - Add the board number Usable board number is 16. - Delete the device driver REGBRD.SYS to regist boards with PCI bus to resouce in system Ver2.10->Ver2.31 ---------------- - Add the usable board Added board : CNT24-4(PCI) : This is a counter board for PCI bus. - Add the function for Plug & Play. - Add the device driver REGBRD.SYS to regist boards with PCI bus to resouce in system : Refer to "- Suggestions. - About registrying PCI Bus Registration to System" Ver2.00->Ver2.10 ---------------- - Support the interrupt The interrupt event function enhances the responsiveness of data - Support Visual C++ Ver5.0, Visual Basic Ver5.0 Ver1.00->Ver2.00 ---------------- - Support WindowsNT Ver4.0 - Career at version up API-CNT(98/PC)W95 ======================================== Ver4.40->Ver4.50 ----------------- - Update with API-CNT(98/PC)NT. Ver4.32->Ver4.40 (Ver. Nov.2006) ----------------- - Update with API-CNT(98/PC)NT. Ver4.31->Ver4.32 ----------------- - When the hardware event occurs afterwards when software stops when set to counter start/stop by the hardware event, trouble that starts the counter is corrected. Moreover, when software stops because of this setting, trouble that the counter starts only for software to be going to start next time is corrected. Ver4.30->Ver4.31 (Ver. Aug.2006) ----------------- - Change driver name: API-CNT(98/PC)NT,W95 -> API-CNT(98/PC) Ver4.21->Ver4.30 (Ver. Apr.2006) ----------------- - The device that cannot be used when the photo coupler is specified with CntSelectChannelSignal() corrects trouble to which the error is not returned. Ver4.20->Ver4.21 ----------------- - Trouble from which the message when the interrupt of two or more channels enters almost at the same time by CntNotifyCountUp() might not be notified is corrected. Ver4.10->Ver4.20 (Ver. Aug.2005) ----------------- - Update with API-CNT(98/PC)NT. Ver4.00->Ver4.10 (Ver. Jun.2005) ----------------- - Add function: CntGetWritePointerUserBuf() - Because the mistake was found in "About general transfer formats" of HELP, it corrects it. Ver3.50->Ver4.00 (Ver. Apr.2005) ----------------- - Add the usable device Added device : CNT24-4(PCI)H, CNT24-4D(PCI)H, CNT32-4MT(LPCI) Ver3.47->Ver3.50 (Ver. Jan.2005) ----------------- - Add the usable device Added device : CNT32-4MT(CB) - In order to make the sample program only for CNT32-8M(PCI) correspond to CNT32-4MT(CB), change the number of use channels into 4Ch from 8Ch. - Follow on it and it is a sample folder name. From "\Cnt8M" It changes into "\CntMaster." - CntSetSamplingBuff() When a Ring argument is outside the range, it corrects so that the return value of 434h may be returned. - CntSetOutputSignalEvent() When a ChNo argument is outside the range, a return value is corrected to 404h from 405h. - CntSetSamplingMode() When a ChNo argument is outside the range, a return value is corrected to 404h from 405h. - CntSetInputSignalEvent() When a ChNo argument is outside the range, a return value is corrected to 404h from 405h. - CntSetCountUpEvent() When a ChNo argument is outside the range, a return value is corrected to 404h from 405h. - CntSetPresetReg() When a ChNo argument is outside the range, a return value is corrected to 404h from 405h. Ver3.46->Ver3.47 ----------------- - When a sampling transmission count carried out going up from 24 bits to 25 bits, the fault which is not counted normally was corrected. Ver3.45->Ver3.46 (Ver. Oct.2004) ----------------- - Visual C#.NET support - When CNT32-8M (PCI) are used in EAD(CB) SF, bus master transmission corrects the fault which may not operate normally. - Since the unit of Internal Clock had become us on the SamplingMode screen of the sample program Sampling of VB6, correct a display to ns. Ver3.44->Ver3.45 ----------------- - Function for CNT32-8M (PCI) CntNotifySamplingStop() and CntNotifySamplingCount() When it calls two or more times, the fault which may start a memory leak is corrected. - Function for CNT32-8M (PCI) The fault which a notice omission may generate in CntNotifySamplingCount() is corrected. Ver3.43->Ver3.44 ----------------- - When two or more channels are sampled by CNT32-8M (PCI) and the sampled total number of channels exceeds 0xFFFFFFFF, correct the fault it becomes impossible to acquire the normal number of samplings. Ver3.42->Ver3.43 (Ver. Nov.2003) ----------------- - VisualBasic.NET 2003 support. - VisualC++.NET 2003 support. - Version up with the NT driver. Ver3.41->Ver3.42 ----------------- - Fixed CNT32-8M(PCI) problem that borrow interrupt occurs when start counter. Ver3.40->Ver3.41 ----------------- - Fixed CNT32-8M(PCI) problem that counter value become 0xFFFFFFFF when digital filter is set. Ver3.34->Ver3.40 (Dec.2002) ----------------- - VisualBasic.NET support. - VisualC++.NET support. - Fixed CNT32-8M(PCI) problem that transfer count may not correct when transfer count is near 0x1000000 hex decimal. - Fixed CNT32-8M(PCI) problem that from counter start with sampling to counter start not with sampling, counter start or stop condition does not chenge. Ver3.33->Ver3.34 (Aug.2002) ----------------- - Fixed CNT24-4(PCI), CNT24-4D(PCI), CNT24-4(PC) driver CntTime function wait mode problem that wait time is not correct. Ver3.31->Ver3.33 (Web Release) ----------------- - Fixed CNT32-8M(PCI) driver that bus master stop event may raise incorrect time. Ver3.30->Ver3.31 (Web Release) ----------------- - Fixed CNT32-8M(PCI) driver that busmaster transfer problem cause from memory status. Ver3.20->Ver3.30 (Ver. Jan.2002) ----------------- - Fixed invalid counter value when interrupt. Ver3.10->Ver3.20 (Ver. Aug.2001) ----------------- - Add the usable board Added board : CNT32-8M(PCI) - Add function : Usable functions deviding CntCnt function. New functions for CNT32-8M(PCI) - Help : Renewal of documentation to use counter board. - It can be possible that multiprocess can access to one board. - Diagnosis program Diagnosis program has moniter function and report function. Ver3.00->Ver3.10 ---------------- - Add the usable board Added board : CNT24-4D(PCI) : This is a counter board for Line-receiver/ - Add function : CntSetInputType Ver2.50->Ver3.00 (Ver. Oct.2000) ---------------- - Support WindowsMe Ver2.41->Ver2.50 (Ver. Apr.2000) ---------------- - Support Console-Apprication. Ver2.40->Ver2.41 (Ver. Apr.1999) ---------------- - Support Windows98 Ver2.32->Ver2.40 (Ver.June 1998) ---------------- - Add the board number Usable board number is 16. Ver1.00->Ver2.32 ---------------- - Add the usable board Added board : CNT24-4(PCI) : This is a counter board for PCI bus. - Add the function for Plug & Play.