Shih-Shen Lu

統計

學習紀錄‎ > ‎

[RFID project] Passive reader SDK使用方式

posted 24 Jun 2009 02:23 by Shih-Shen Lu   [ updated 29 Jun 2009 22:20 ]
使用流程如下:
1. 將RfidSdk下的WebDirectSrv複製到IIS server的網站資料夾下,一般預設是C:\Inetpub\wwwroot

2.進入到RfidSdk底下的WinDirect,修改1)WinDirect /WinDirect.exe.config, 2)WinDirect\bin/Debug/WinDirect.exe.config
修改成如下:藍色粗體字的部份請對應1)Web server 2)連到電腦的comport
//-----------------Start-----------------------------------------------------------------------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<!-- Global settings -->
<!-- The first page shown when the application is launched. -->
<add key="DefaultUrl" value="http://140.123.102.180/WebDirectSrv/"/>
<!-- RFID reader type (Options: Passive, Active) -->
<add key="RfidReaderType" value="Passive" />
<!-- RFID reader interface (Options: RS232, TCPIP) -->
<add key="RfidReaderInterface" value="RS232" />
<!-- RFID reader RS-232 port name (Ex. COM1, COM2, etc) -->
<add key="RfidReaderRS232PortName" value="COM6" />
<!-- RFID reader list (items seperated by commas. Ex. "192.168.1.1,192:5003.168.1.2:5003") -->
<add key="RfidReaderList" value="192.168.1.200:5003" />
<!-- SYRIS -->
<!-- SYRIS passive RFID tag offset -->
<add key="SyrisRfidPassiveTagIdOffset" value="0"/>
<!-- SYRIS passive RFID tag ID byte count -->
<add key="SyrisRfidPassiveTagIdByteCount" value="8" />
<!-- SYRIS active RFID tag ID byte count -->
<add key="SyrisRfidActiveTagIdByteCount" value="8" />
</appSettings>
</configuration>
//-----------------End-----------------------------------------------------------------------------------------------------------------------------------

3. 執行WinDirect\bin/Debug/WinDirect.exe
之後將tag去給reader 感應,就會看到tag號碼顯示在網頁上面了。