PW601 Develop Utility under Windows

From LEXWiKi

(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
== Introduction ==
== Introduction ==
PW601 Develop Utility can help you to develop tool to get information about capacitor.<br />
PW601 Develop Utility can help you to develop tool to get information about capacitor.<br />
 +
== The binary file you can download from ==
== The binary file you can download from ==
Line 23: Line 24:
Sample code: [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/PW601_DLL/Windows/Ver1.0.2.5/PW601Dll_SampleCode.zip PW601Dll_SampleCode]
Sample code: [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/PW601_DLL/Windows/Ver1.0.2.5/PW601Dll_SampleCode.zip PW601Dll_SampleCode]
 +
== DLL files descreption ==
== DLL files descreption ==
Line 39: Line 41:
== How to use DLL ==
== How to use DLL ==
-
*Step1. Unzip binary zip file and put files to your programe.<br />
+
'''*Step1.''' Unzip binary zip file and put files to your programe.<br />
 +
 
If your program based on x64 environment, use PW601Dll_x64. Otherwise, use PW601Dll_x86.<br />
If your program based on x64 environment, use PW601Dll_x64. Otherwise, use PW601Dll_x86.<br />
 +
[[Image:Input_DLL.png]]
[[Image:Input_DLL.png]]
-
*Step2. Initialize PW601 resource.<br />
+
'''*Step2.''' Initialize PW601 resource.<br />
 +
 
[[Image:Init_DLL.png]]
[[Image:Init_DLL.png]]
-
*Step3. Get informations from PW601 develop DLL.<br />
+
'''*Step3.''' Get informations from PW601 develop DLL.<br />
 +
 
[[Image:Use_DLL.png]]
[[Image:Use_DLL.png]]
-
*Final Step. Release PW601 resource before leaving application.
+
'''*Final Step.''' Release PW601 resource before leaving application.
 +
 
[[Image:Release_DLL.png]]
[[Image:Release_DLL.png]]

Revision as of 15:44, 7 February 2023


Contents

Introduction

PW601 Develop Utility can help you to develop tool to get information about capacitor.


The binary file you can download from

<Google Drive>

Binary file(32 bit): PW601Dll_x86

Binary file(64 bit): PW601Dll_x64

Sample code: PW601Dll_SampleCode


<FTP>

Binary file(32 bit): PW601Dll_x86

Binary file(64 bit): PW601Dll_x64

Sample code: PW601Dll_SampleCode


DLL files descreption

PW601Dll.dll: Contains code and data about PW601 function. Dll_x86 and Dll_x64 are different.

PW601Dll.h: Header about PW601 function. Dll_x86 and Dll_x64 are the same.

PW601Dll.lib: Import library that link to PW601Dll.dll. Dll_x86 and Dll_x64 are different.

LexIo64.dll、LexIo64.sys: Based on WinIO that provids DLL to read hardware data. For x64.

LexIo32.dll、LexIo32.sys: Based on WinIO that provids DLL to read hardware data. For x86.


How to use DLL

*Step1. Unzip binary zip file and put files to your programe.

If your program based on x64 environment, use PW601Dll_x64. Otherwise, use PW601Dll_x86.

Image:Input DLL.png

*Step2. Initialize PW601 resource.

Image:Init_DLL.png

*Step3. Get informations from PW601 develop DLL.

Image:Use_DLL.png

*Final Step. Release PW601 resource before leaving application.

Image:Release_DLL.png

Personal tools