Bluetooth program adquisition
Hola. Soy una alumna de 3º ITI electronica y estoy realizando un proyecto final de carrera.
Para
nuestro trabajo necesitamos poder enviar la informacion (una vez
tratada en labview) hacia dispositivos Bluetooth (movil, PDA) y
mediante Wi-Fi. La verdad es que desconocemos cómo hacerlo, y el manual
del software se queda bastante escaso en estos temas. Si alguien sabe
de alguna página en la cual se explique esto o pueda mostrarnos algun
ejemplo de prueba que pueda servirnos como punto de partida, le estaría
muy agradecida. Gracias de antemano.
Hello. I'm a engineering student doing my
final project to get my degree. We need to send the information
from Labview in a PC to Bluetooth and Wi-Fi devices. We don't
know how to do it. The users guide is very simple and does not give
enought information. We would like to receive some information about
how to start , how to do a program to send, if it is necesary some
drivers.....
Please contact me by e-mail or link me some webs that could be helply.
Thanks!
Hola! Go to the www.ni.com website and search for labview bluetooth. At least the first two links listed can be useful for you:
http://sine.ni.com/apps/we/nievn.ni?action=display_offerings_by_event&event_id=14397&event_subtype=W...
http://zone.ni.com/devzone/conceptd.nsf/webmain/5EB9312A6470F16A86256E7500726F15
Start from there, then ask more info if you need (better if more specific).
Ciao
Paolo
Paolo
LV 7.0, 7.1, 8.0.1, 2011
Similar Messages
-
J2SE Bluetooth Programming-connecting PC to a Bluetooth Eanbled Phone
Hi
Iam trying to connect my PC (USB Bluetooth Dongle connected) to a Bluetooth Phone,
need to transfer some files using Bluetooth
There are Sufficeient information on J2ME Bluetooth Programming,
Does anybody know of a tutorial on J2SE bluetooth programming?
Kindly Reply,There is no spec for Bluetooth in JSE. However, there are implementations of the JSR-82 spec (for JME) on the Standard platform. Off hand I can only recall BlueCove. Might be a good start.
-
Hi,
I've encountered some problem while trying to write out a program on a mobile device to discover some device and show the information
below is my code:
import javax.bluetooth.*;
import java.util.Vector.*;
public class btClient implements DiscoveryListener {
private LocalDevice localDevice; // local Bluetooth Manager
private DiscoveryAgent discoveryAgent; // discovery agent
Vector discoveredDevices = new Vector();
private RemoteDevice[] retrieveDevices;
/** Creates a new instance of btClient */
public btClient()
public void deviceDiscovered(javax.bluetooth.RemoteDevice remoteDevice, javax.bluetooth.DeviceClass deviceClass)
discoveredDevices.addElement(remoteDevice);
public void inquiryCompleted(int param)
int i;
int s;
s = discoveredDevices.size();
if(s >0)
for(i = 0; i<s; i++)
RemoteDevice rd = (RemoteDevice)discoveredDevices.elementAt(i);
public void servicesDiscovered(int transID,javax.bluetooth.ServiceRecord[] serviceRecord)
public void serviceSearchCompleted(int transID, int responseCode)
public RemoteDevice[] btInit() throws BluetoothStateException
RemoteDevice[] result;
localDevice = null;
discoveryAgent = null;
localDevice = LocalDevice.getLocalDevice(); // Retrieve the local device to get to the Bluetooth Manager
localDevice.setDiscoverable(DiscoveryAgent.GIAC); // Servers set the discoverable mode to GIAC
discoveryAgent = localDevice.getDiscoveryAgent(); // Clients retrieve the discovery agent
this.showDev();
if(discoveredDevices.size() >0)
retrieveDevices = new RemoteDevice[discoveredDevices.size()];
for(int i =0; i<discoveredDevices.size(); i++)
retrieveDevices[i] = (RemoteDevice)discoveredDevices.elementAt(i);
return retrieveDevices;
public void showDev()
boolean started = false;
discoveredDevices.removeAllElements();
try
//retrieveDevices = discoveryAgent.retrieveDevices(discoveryAgent.CACHED);
started = discoveryAgent.startInquiry(DiscoveryAgent.GIAC, this);
catch(BluetoothStateException e)
System.err.println("Error"+ e);
if(started)
System.out.println("Inquiry Started");
else
System.out.println("Inquiry Failed");
}//end
From what i know the startInquiry() will call the deviceDiscovered(), however when i am using a debugging I don't see that it step into the method, also, when i tried to deploy it to a few mobile handset, it don't seem to work too. What is wrong with my coding?import javax.bluetooth.*;
import java.util.Vector;
* @author Reiji
public class btClient implements DiscoveryListener {
private LocalDevice localDevice; // local Bluetooth Manager
private DiscoveryAgent discoveryAgent; // discovery agent
Vector discoveredDevices = new Vector();
private RemoteDevice[] retrieveDevices;
/** Creates a new instance of btClient */
public btClient()
public void deviceDiscovered(javax.bluetooth.RemoteDevice remoteDevice, javax.bluetooth.DeviceClass deviceClass)
discoveredDevices.addElement(remoteDevice);
public void inquiryCompleted(int param)
int i;
int s;
s = discoveredDevices.size();
if(s >0)
for(i = 0; i<s; i++)
RemoteDevice rd = (RemoteDevice)discoveredDevices.elementAt(i);
public void servicesDiscovered(int transID,javax.bluetooth.ServiceRecord[] serviceRecord)
public void serviceSearchCompleted(int transID, int responseCode)
public RemoteDevice[] btInit() throws BluetoothStateException
RemoteDevice[] result;
localDevice = null;
discoveryAgent = null;
localDevice = LocalDevice.getLocalDevice(); // Retrieve the local device to get to the Bluetooth Manager
localDevice.setDiscoverable(DiscoveryAgent.GIAC); // Servers set the discoverable mode to GIAC
discoveryAgent = localDevice.getDiscoveryAgent(); // Clients retrieve the discovery agent
this.showDev();
if(discoveredDevices.size() >0)
retrieveDevices = new RemoteDevice[discoveredDevices.size()];
for(int i =0; i<discoveredDevices.size(); i++)
retrieveDevices[i] = (RemoteDevice)discoveredDevices.elementAt(i);
return retrieveDevices;
public void showDev()
boolean started = false;
discoveredDevices.removeAllElements();
try
//retrieveDevices = discoveryAgent.retrieveDevices(discoveryAgent.CACHED);
started = discoveryAgent.startInquiry(DiscoveryAgent.GIAC, this);
catch(BluetoothStateException e)
System.err.println("Error"+ e);
if(started)
System.out.println("Inquiry Started");
else
System.out.println("Inquiry Failed");
}sorry, this is the repost of my code thanks :) -
How to start bluetooth programming with c# in visual studio?
i am currently in final year , thought of doing project on bluetooth but dont know how to go about.
Hi saieesh1638,
Based on your issue, I did some research about your issue. I find a MSDN blog about the Bluetooth with c# issue, maybe you will be get some useful message.
Reference:
http://blogs.msdn.com/b/codejunkie/archive/2008/09/13/bluetooth-device-control-development-using-c.aspx
In addition, since this forum is discuss the VS IDE issue, if you have any issue about the Bluetooth with c#, I suggest you can post the issue directly to C# forum:https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=csharpgeneral,
maybe you will get better support.
Thanks for your understanding.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Help: New to J2ME (bluetooth) programming
Hi peoples
I am pretty new J2ME. I am trying to work on a project by using client server methodology, initially I would like to connect mobile phone with computer so that it can fetch data from database that situated in the computer.
I also need some direction installing java classes in actual mobile device.
Please help
Many thanks
-ImmyHi,
You need to give more information regarding what IDE you want to use etc. However, I am using Netbeans 5.0 with JDK1.5 alongwith Netbeans Mobility Pack 5.0. All of these can be downloaded from the sun website. You'll also need Java Wireless Toolkit Latest version. Once this has been properly setup then you'll need to follow some examples to see how things work in J2ME. I think you can start from http://www.netbeans.org/kb/50/quickstart-mobility.html
To communicate with your PC using bluetooth you'll need a Microsoft support bluetooth dongle and an API than you can use to access services. I am using Bluecove 1.2 and it is working perfectly fine. It can be downloaded from http://sourceforge.net/projects/bluecove/.
let me know if you have any further questions.
Thanks,
Sid. -
Can any one please guide me which and how to use Java API's to make a bluetooth connection between two PCs which are Bluetooth enabled. I want to send a string message from a laptop to another!!!
Thnx in anticipation...Hi all,
Don't worry about this - With a little bit of reverse engineering, I figured it out. If anyone else is having the same trouble, then reply to this thread and I'll see if I can help. If anyone also knows how to send an sms message via a bluetooth connection from a pc to a mobile phone using avetana, then that would be great. -
Hi everyone.
I'm trying to develop a web application on Netbeans that involves bluetooth connectivity. I am using my bluetooth enable Laptop (HP nx7400). What I want is to be able to send files across from my laptop to my mobile (Nokia N80). can anyone help me? as far as I know I wouldn't need to initialite the bluetooth stack.. so I guess all I need to do is implement the device and service discover methods, right?? how?
Thank you very much in advance.hi JoachimRohde
Thank you for your reply. I have already read the thread you kindly suggested thanks. I've managed to download avetanaBluetooth.jar SDK also run the test example and have a look a the source code.
Now what I need to do is be able to use the avetanaBluetooth library methods in my appliaction (which i am not sure how) I have included the avetanaBluetooth.jar in my CLASSPATH but I am not sure how to call Connector.open() or startInquiry() from my application. can you please give me some hints on that??
But: a web application? Not a desktop application?Yes, do u think that is possible?
again.. many thanks in advance. -
Building Bluetooth program on LabVIEW
Hi there,
I am doing a project where I am suppose to build a Bluetooth software using LabVIEW to replace the current Bluetooth software for a set of timing lights (uses Bluetooth as means of communicating with the computer). This is how the setup is suppose to work,
1. The timing lights are on. A set of 7 pairs. One emitter and one receiver each. Light from emitter is received by the receiver. All 7 pairs are linked to the computer via Bluetooth.
2. When the connection between the emitter and receiver is broken, a signal is sent to the computer.
That is basically how they work. I have tried the Bluetooth examples but they are somewhat different from what I need to do. I was wondering if it was possible to just create one Bluetooth VI which is able to just acquire, process and present the signals (either light received or not) from the timing lights just like a data acquisition VI.
p/s I am new to how Bluetooth works so I am not sure what signal(s) is sent from the timing lights. How can I check what signal is sent from the timing lights? Any help on this is really appreciated. Thx.> I am doing a project where I am suppose to build a Bluetooth software using LabVIEW
> to replace the current Bluetooth software for a set of timing lights (uses Bluetooth as
> means of communicating with the computer).
There are really two separate tasks here - first, getting registers (or variables) for the timing lights.
The second task is transmitting the data by Bluetooth radio/software.
> 1. The timing lights are on. A set of 7 pairs. One emitter and one receiver each.
So each receiver is a separate Bluetooth radio? Then when you do a "Bluetooth Discover"
you should find (at least) 7 addresses (listed for example as 12:34:56:7a:bc:de").
Use each of these addresses as an input to a separate "Bluetooth Open" - which will give
you 7 separate connection ID's. Most likely you will use Channel 1 for the Bluetooth Open too.
Then it's simply a matter of using "Bluetooth Read" to listen for any response. I use a 1ms
timeout and ignore timeout errors ("the device just doesn't have anything to say"). You
may always expect a response from yours (light or no light), or you may want a longer timeout,
and/or use a timer so that you aren't polling every microsecond.
> 2. When the connection between the emitter and receiver is broken, a signal is sent to the computer.
> I was wondering if it was possible to just create one Bluetooth VI which is able to just acquire,
> process and present the signals (either light received or not) from the timing lights just like a data acquisition VI.
Sure. I would use a state machine. The "initialize" would do a discover (if you don't have the addresses
hard coded). You may need some method of selecting devices so that you don't get everybody's
cell-phone head set.
Then go to state "open" where you open all 7 bluetooths. Pass the 7 connectID's to the "Read" state
where you read the current data from all 7 receivers. (If you have to write a message to them before
you can read a response, be sure to do that too.) This data is presented on the panel in any
format you desire. Put in the desired time-delay/polling rate and continue in the "Read" state.
The Stop button on your panel takes you out of the Read state and goes to the Disconnect state
where you disconnect all 7 bluetooths.
That should do it.
~~Les Hammer -
Beginning Bluetooth Programming - Basic Stack Question
I have moderate but not extensive experience with Java development, and have just stumbled across the javax.bluetooth JSR-082 packages. I'm interested in using these packages, but have a general question or two that deals just as much with bluetooth as it does with Java itself...if anyone could be of help, it would be much appreciated.
Despite all the articles I've read, I'm a bit confused about the initialization of the bluetooth stack. My laptop has bluetooth integrated into it, is running XPSP2, and from what I can tell its now using the WIDCOMM driver. Does this mean that I have access to the WIDCOMM stack (ostensibly using the Broadcom SDK)? Or do I need additional software? I also keep reading that XP has included the Microsoft Bluetooth Stack...but nowhere do I read how to access it, nor any instructions, nor the beginning of instructions, for initialization of either the WIDCOMM or Microsoft stacks within the context of JSR-082. Any suggestions or input would be appreciated.See: http://developers.sun.com/techtopics/mobility/midp/articles/bluetooth1/
-
Bluetooth does not work properly on Tecra M9
I have a problem trying to use my Bluetooth on Toshiba Tecra
M9 laptop.
When I go to Control Panel "Bluetooth Devices" does not show on the list. The only reference to Bluetooth is "Bluetooth Com".
If I double click on the Bluetooth icon in Systray I cannot open a Bluetooth device. I get a warning flag saying "Bluetooth is not Ready".
The problem is that I cannot turn "on" bluetooth on the laptop (even after turning on the Wi-Fi switch at the front of the laptop).
The "Bluetooth Devices" icon in Control panel is missing.
Any Ideas
Thanks in advance...Install the latest Bluetooth stack and start "Bluetooth Settings" of the "Toshiba->Bluetooth" program folder.
-
How can I use bluetooth to add photos from my i phone onto my ipad.
They are both recognizing each other and discoverable. Please explain what I can do with this bluetooth connection between them.
I remember that when my macbook tiger was new, a friend bluetoothed programs from his apple to mine. Why can't I get my iphone to share photos for example with my new i-pad? thanks for any assistance or enlightenment.Dale2010 wrote:
How can I use bluetooth to add photos from my i phone onto my ipad.
This is not a supported profile...
See Here > http://support.apple.com/kb/HT3647
For More information on using Bluetooth Check the User Manuals for your Devices... -
Zwei iPod touch via bluetooth verbinden/Connecting two iPod touch via Bluetooth
Hallo,
ich möchte, um das Spiel Shrek Kart im Mehrspieler-Modus zu spielen, zwei iPod touch mit bluetooth verbinden. Leider finden sich die Geräte gegenseitig nicht.
Wer kann mir helfen?
Danke!
Hi,
I would like to play the Shrek Kart Game in the multiplaye modus. Therefore I have to connect my two iPod touch via bluetooth. Unfortunately they don`t find one another.
Who can help?
THANKS!Ipod Touch Via Bluetooth wrote:
so the only was is to use the cable to connnect it from my notebook to Ipod touch??
depends. for syncing and software updates: yes.
for putting e.g. MS Office files or .pdf files on it: check out e.g. _*Flash Drive*_ or _*Documents To Go*_. both require a wi-fi connection, though.
what about if I download any bluetooth program from the App Store ( For Example: iBlueNova ).
searching the app store for iBlueNova did not bring up anything for me. instead, search for +bluetooth fileshare+. maybe that app is for you ...
JGG -
Missing ActiveSync from Bluetooth Configuration
Hi,
I know this is partly my fault ....
I had bluetooth active sync with my smartphone for a while. But then it stopped working. In trying to troubleshoot, I thought I'd delete the active sync servie and reinstall it.
So, I pressed the delete button - but there's no add functionality.
I've uninstalled the enhanced bluetooth program from the control panel, and then reinstalled it with the latest download from the Lenovo site. I still can't find the active sync service anywhere though. What have I got to do to get it back?
I'm running a T400 (6474-R1U) with Windows XP.
Thanks.Hi,
I know this is partly my fault ....
I had bluetooth active sync with my smartphone for a while. But then it stopped working. In trying to troubleshoot, I thought I'd delete the active sync servie and reinstall it.
So, I pressed the delete button - but there's no add functionality.
I've uninstalled the enhanced bluetooth program from the control panel, and then reinstalled it with the latest download from the Lenovo site. I still can't find the active sync service anywhere though. What have I got to do to get it back?
I'm running a T400 (6474-R1U) with Windows XP.
Thanks. -
Connecting bluesence AD (bluetooth device)
hi there,
I have a big problem. I have a bluesence AD, which is a bluetooth device that sends data from a sensor. i tried it with the software that comes along with the hardware and it works fine.
BUT: I want to read the data using a labview program, and it just won't work!
i tried the example bluetooth programs and i always get an error, saying that the 'network is already in use'.......
I think i understand how it's suposed to work, but do i have to connect the bluetooth device using a 'normal' connection program, or do i have to connct using a labview application?!?!?!?
could someone please help me with that?
thx a lot!
fabhi,
thx for your reply, but i already tried this. doesn't work at all. the VI does not find any bluetooth device (cell phone......).
with the bluetooth device come a software, wich simulates a virtual COM port. can i use this one to collect the data?
what do you think?
thak you!
fabian -
Trouble deleting phones off the bluetooth menu
I added a few peoples phones to my bluetooth on my laptop but now im trying to delete them, but apparently i can ONLY delete my own phone... When i click on other peoples phones the DELETE button greys out... how do i delete the other phone??
When i go to the preferences the only phones listed are:
MINE
Vincent
Motorola Phone
MINE being the only one that the DELETE button doesnt gray out with.
and when i go to the bluetooth program to transfer a file to or from a phone or the comp. these names pop up...
Bush
MINE
Vincent
Tim
Motorola Phone
Why arent Bush or Tim listed under the bluetooth preferences??Searching found this:
How to delete old devices from Bluetooth File Exchange list
Maybe you are looking for
-
How can i move contacts from my gmail account
Is there a way to move contacts from my gmail account to my IPhone 4?
-
How can I upgrade from Infinity to 56K dial-up?
I have had Infinity for about a month. At first everything was great, 38Mbps. I am about 25m from the cabinet where the optical fibre is terminated so I expected this to be quite consistent. Seven days ago the speed dropped to about 5Mbps and over th
-
Bring to the PR the price from Info-Record
Hello experts, If I am working with info-records that are created automatically when doing the PO with the price of last PO, I would like to bring this price to the PR when doing for the same material and vendor. Is it possible? I only get the price
-
Errors when using the Call statement for MS SQL Server
I've tried executing a Stored Procedure using the Call method of Portal 2 Go. But it gets an internal error b/c of it. Any Ideas why and how to resolve?
-
How to separate an accessory toolbox from the main (default) toolbox?
Hi, I accidently snapped a toolbox (containing the Transform, Align and Pathfinder tools) to the main (default) toolbox on the left of the window. Now I can't unsnapp it. If I close the toolbox (by clicking the "x"), it also closes the main toolbox..