LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

excel transfer using bluetooth

hi,

 

i need to send excel file from smart phone to labview using bluetooth. once the file received, it need to be analyze. i have no idea on how to send the excel file using bluetooth in excel. can anyone help?

0 Kudos
Message 1 of 7
(6,927 Views)

1) your smart phone and your PC both must have bluetooth,

2) bluetooth must be turned on on both devices

3) and the devices must be paired

this is bluetooth file transfer 101.

4) - you will probably need to accept the file transfer on the PC once the smartphone has sent it.

5) <EDIT> excel has nothing to do with this. Bluettooth is a datacomms protocol and you are more likely to be able to transfer files from your file manager than Excel!! </EDIT>

 

Bluetoth range is limited - I forget whether it is meant to be about 2 or 5m. (Check the protocol standards) don't expect this to work from the factory floor to a PC in the office 100m away!!

 

James

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 2 of 7
(6,901 Views)

hi,

 

i have done step 1~3. i need the file to straight feed into labview and start processing the data. for that, i need to create the bluetooth communicaition between smartphone and PC in labview. and i do not know how to establish the communication?

0 Kudos
Message 3 of 7
(6,876 Views)

Hi Varsha88,

 

I would suggest you to check out this link which explains how we can develop bluetooth applications with LabVIEW.
https://www.ni.com/en/support/documentation/supplemental/06/developing-bluetooth-applications-with-l...

 

Maybe you can refer to the link below which teach us how to interface LabVIEW with smart phones via Bluetooth.
https://forums.ni.com/t5/LabVIEW/How-to-interface-Labview-with-smart-phones-android-via-Bluetooth/td...

 

Generally for setting up a bluetooth connection is making sure that we can detect and acquire the appropriate bluetooth adrress for your device from your LabVIEW.So you need to be able to configure your device address in Android OS settings.To get started, you may refer to the link https://forums.ni.com/t5/Example-Code/Bluetooth-Discovery-in-LabVIEW/ta-p/3511986, try making use of the Bluetooth Discovery LabVIEW to detect your devices within range.

 

Besides that, you may refer to this article which teach us how to make a bluetooth device work with LabVIEW.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LNcSAM&l=en-US

 

You may refer to this forum if you are connecting  LabVIEW with Android mobile using Bluetooth.
https://forums.ni.com/t5/LabVIEW/Connect-Labview-with-Android-mobile-using-Bluetooth/td-p/2595693

 

Hope this helps.

 

Best Regards,


Rebecca

Applications Engineer
National Instruments

0 Kudos
Message 4 of 7
(6,857 Views)

hi,

 

i still cannot figure out how to send the file. attached is the file which i intend to send from my smartphone to PC to be process by labview. can u help me to create the vi. thanks

0 Kudos
Message 5 of 7
(6,822 Views)

Hi all,

 

I referred to find example/bluetooth.dll/simple bluetooth server and client.vi but  for some reasons im getting the error 59 after changing the channel in the client vi from 0 to 1 as mentioned in some forums. It was able to identify the address of my PC but when i run the client.vi i keep getting error 59. Error 59 occurred at Bluetooth Open Connection in Simple Bluetooth Client.vi- LabVIEW:  The network is down, unreachable, or has been reset.

 

I'm using LabView 11 in Windows8 64 bit. I'm not using any USB dongle. 

 

Some of the forum listed on this site that I have referred to but same error still popping up:

https://www.ni.com/en/support/documentation/supplemental/06/developing-bluetooth-applications-with-l...

 

 

Am i missing anything here? Could anyone help advise?

Thanks.

0 Kudos
Message 6 of 7
(6,780 Views)

Just to clarify, are you receiving this error when running the client? Have you executed the server before the client? The connection has to be opened before the client can search for it. 

 

The following link may also be helpful:

http://windows.microsoft.com/en-us/windows7/add-a-bluetooth-enabled-device-to-your-computer

 

Best Regards,

National Instruments
0 Kudos
Message 7 of 7
(6,724 Views)