在 07-15-2008 03:40 AM
請問是PC的藍芽與PDA的藍芽通訊嗎?
還是筆電與筆電的藍芽通訊???
LabVIEW的版本是???
在 07-17-2008 09:18 PM
您必須安裝labview 8.5, labview for pda 8.5.在PC上。
另外請看以下KB
Yes, LabVIEW PDA Module 7.1 and later supports Bluetooth communication on Palm OS 5.0 or later devices and Pocket PC 2003 devices with the WIDCOMM Bluetooth driver version 1.4 or later. On Pocket PC 2003 devices, additional files must be installed to the device. See the Getting Started with the LabVIEW PDA Module manual linked below for instructions on these additional files.
http://www.ni.com/pdf/manuals/371296b.pdf
第七頁,或者全部看完即可。
我們這裡測試是OK的
Thanks
NI Taiwan Applications Engineers
在 07-20-2008 01:04 AM
hi leiko,
(1) uuid是我們自己設定的,它只是一個identifier。
server端要為每一個service指定一個不同的uuid。(所以每一個service都會對應一個uuid)
關於uuid,您可以google一下它的規格。
在 NI Examples Finder 中,您可以直接參考 "Advanced Bluetooth Client.vi" 跟 "Advanced Bluetooth Server.vi",
在這個範例中有一次提供三個service。(也就設定了三個uuid)
(2) 這裡只是讓您對每一個service設定"名稱"與"描述"。(不設定亦可)
每一個service會有一個uuid,server端也可以再替它設定"名稱(Name)"與"描述(Discription)",這樣client端才可以知道這個service是做什麼的。
在client端,可以利用Bluetooth RFCOMM Service Discovery來取得所有的service列表。
除了可以看到每個service的uuid,也可以取得service description,就可以知道server端設定的每個service是做什麼的。(請參考上述的同一個範例程式)
提供了uuid(或再增加service description)後,Bluetooth Create Listener會為它指定一個channel。
(3) 這只是一個subVI,裡面寫著要送出什麼資料。
這邊只要用您想要送出的資料取代即可,記得格式必須是String。
以上資訊提供您參考。希望能解答到您的問題。
謝謝。