LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to send sms for phone by bluetooth

hello, I just registered now and i'm new Smiley Very Happy but I am using labview 8.2 before 4 months for my senior project which is....I connected to labtops  by labview via  bluetooth  so one server and the other client.one of the things that I have to do is to make the server  send SMS  for phone when something bad happen. I am now stucking on this problem and I don't have any Idea about and how to do it. I only have less than 2 months to finish the project :womansad:

I want to know how to send an SMS from labview to any phone??????????? some people said that I need to have SMS modem to do it and others said by bluetooth!!!!!!!!!!

I want the easier way because its a project that show a small sample of what labview can do in some actions.

If I want to send an SMS to someone on the same room so by the bluetooth would be better 🙂 so if any one knows how to do it please give me some help

thank you
0 Kudos
Message 1 of 16
(5,040 Views)

Hey Reemon,

Nice question! Using the native LV Bluetooth VIs to send SMS isn't easy, but there are alternative ways to do it if you're interested.

If you're happy using ActiveX and Outlook, try this Microsoft add-in:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=240080b4-986e-4afb-ab21-3af2...

there are some notes on how to configure it and use it here:

http://www.inspectmygadget.com/2007/10/02/windows-xp-send-an-sms-directly-from-outlook/

There also used to be (2007) a direct utility you can get for Windows XP (from Microsoft) which can send SMS via Bluetooth once your phone is paired (so this does all the nasty Bluetooth work for you). This utility had a 'front panel' but can also be activated from the command line - so you can use the System Exec VI in LabVIEW to run the .EXE and send it the SMS message via the command line. I say used to be because I can't find any trace of it on the Microsoft site, so they may have stopped supporting it (try Googling it yourself in case it turns up). Shame if it's gone because it was useful!

Finally, if you have a dedicated SIM which will ONLY be used for this purpose, the neatest way to send SMS is to get a USB module which you put your SIM into, then plugs into the PC USB port. You can then use the AT command set to configure it and send SMS - you do this using VISA and the USB dongle as a 'modem'. I used this for a large project last year and it worked really well! The module we used was:

http://www.alibaba.com/showroom/GPRS_USB_Modem.html

But I'm sure there are loads of others available.

I know this isn't strictly using Bluetooth, but if you do decide to go this way then let me know, I may be able to dig up some of the code you need for it.

Hope one of these methods is some help!

Good Luck!

Mark

Certified LabVIEW Architect
0 Kudos
Message 2 of 16
(5,036 Views)
thank you my friend for your reply I realy appreciate your  consern, but the problem  is : I  don't  know  which  way  to use ,   please  if you have already made it can you send it to me. if you don't have I realy wish that you tell me what to do cause I am still a biggner in lab view and not familiar with those things.
I realy don't care if we will use a bluetooth or not , I just need the short way

if any body have the vi for this application please help me I will just use it in my senior project not to sell a product looool Smiley Tongue


thank you,



Message Edited by reemon on 03-15-2008 03:04 AM
0 Kudos
Message 3 of 16
(4,991 Views)
where are you guys no body reply:mansad:
0 Kudos
Message 4 of 16
(4,978 Views)


reemon wrote:
where are you guys no body reply:mansad:



It's Saturday.  The weekend.  People are probably doing things with their families.  There isn't as much traffic on the forums during the weekend.

Be patient!Smiley Wink

0 Kudos
Message 5 of 16
(4,964 Views)


Ravens Fan wrote:

It's Saturday.  The weekend.  People are probably doing things with their families.  There isn't as much traffic on the forums during the weekend.

Be patient!Smiley Wink



 

its sunday now and nobody replySmiley Sad


0 Kudos
Message 6 of 16
(4,945 Views)
Sunday is still the weekend Smiley Happy
0 Kudos
Message 7 of 16
(4,936 Views)

Cheers for that Jeff, someone needs to tell my boss (we were in a meeting until 7:30 last night!) Smiley Sad


With regards to the question, which route you go really depends on circumstances -
if you have money to buy one of the Samba modems I personally would do it that way (although you can pretty much do that same thing just by hooking your phone up anyway - see forum post below)

http://forums.ni.com/ni/board/message?board.id=170&message.id=73367&query.id=140714#M73367

When you have the modem (or phone) setup you need to send AT commands to it using the correct COM port, there's a tutorial on these commands here:

http://www.smssolutions.net/tutorials/gsm/sendsmsat/

These can be sent using the VISA VIs in LabVIEW, or if you prefer the Express VIs, the Instrument I/O Assistant makes building up the required steps really easily.

I don't have all of this ready built for you I'm afraid (my code is in C#), but as always the LabVIEW examples get you most of the way there, check out the Basic Serial Read and Write.vi for an example of how to use the VISA VIs.

The LabVIEW Basics 1 course also teaches Instument Control with VISA very well Smiley Wink

I hope this helps you get a bit further!

Good Luck with your project!

Mark



Message Edited by MarkLee on 03-17-2008 12:23 PM
Certified LabVIEW Architect
0 Kudos
Message 8 of 16
(4,930 Views)
thank you very much for your help 🙂

I will start searching about it by the web sites that you gave me....................Smiley Wink

and if someone who had already build a vi for sending sms to phone please share it with us and I promise after finishing my vi I will share it with you.

let us help each otherSmiley Happy
0 Kudos
Message 9 of 16
(4,908 Views)

guys I found a gsm modem but I want to check is it compatable with labview because I found that it support at commands and our sim card on Qatar  because one of my friend had it and she's using it in her senior project without any problem.

 

please give me a reply as soon as possible cauase I need to buy it soon

0 Kudos
Message 10 of 16
(4,837 Views)