PW601 Develop Utility under Windows

From LEXWiKi

(Difference between revisions)
Jump to: navigation, search
Line 23: Line 23:
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 ==
 +
 +
'''PW601Dll.dll''': Contains code and data about PW601 function. Dll_x86 and Dll_x64 are different.<br />
 +
 +
'''PW601Dll.h''': Header about PW601 function. Dll_x86 and Dll_x64 are the same.<br />
 +
 +
'''PW601Dll.lib''': Import library that link to PW601Dll.dll. Dll_x86 and Dll_x64 are different.<br />
 +
 +
'''LexIo64.dll、LexIo64.sys''': Based on WinIO that provids DLL to read hardware data. For x64.<br />
 +
 +
'''LexIo32.dll、LexIo32.sys''': Based on WinIO that provids DLL to read hardware data. For x86.<br />
 +
== How to use DLL ==
== How to use DLL ==
 +
 +
*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 />
 +
[[Image:Input_DLL.png]]
 +
 +
*Step2. Initialize PW601 resource.<br />
 +
[[Image:Init_DLL.png]]
 +
 +
*Step3. Get informations from PW601 develop DLL.<br />
 +
[[Image:Use_DLL.png]]
 +
 +
*Final Step. Release PW601 resource before leaving application.
 +
[[Image:Release_DLL.png]]

Revision as of 15:41, 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