04-24-2012 03:03 PM
i want to receive sms from user and read it in labview, after that i need to check the sms for a correct command, the command like sending x0 to excecute a subVI.
i found the attached example online and its programmed to receive code from x0 to x10 from the user. the problem is that i dont understand how does the labview read the message. and how the labview check inside the sms for the correct code using patterns check block. also in the program it doesn't consider that the received sms will contain the sender mobile number and the time !! so how is this doen!
i need your help please.
Thank you 🙂
04-24-2012 07:44 PM
You're going to need some kind of cellular receiver. Do you have one in mind?
04-24-2012 11:55 PM
04-25-2012 07:32 AM
The program you referenced simply uses a VISA read to read out a raw string. It then parses the string for the correct information.
I would recommend you do the same. Parse the raw string for the information and command you are looking for. The Scan From String function is pretty good, though the format string can be a little tricky to figure out. Format Specifier Syntax
06-08-2012 03:23 AM
you can find main program and suVIs for GSM modem on the following site:
https://sites.google.com/site/tstalevski/labview-send---receive-sms-message
With those subVIs you can send, receive, delete and list SMS meseges. If you have some questions regarding to using programs do not hesitate to contact me by mail. In the main program you can find a small part of the program that checking the SMS message for content "cmd=XX", where X is a hexdecimal number.
Trajan Stalevski
traajn@vinca.rs
09-21-2012 04:33 AM
Just found your link, thanks you so much man, that's totally awesone !
Kudos !
Any paypal donation box available?
09-21-2012 02:00 PM
I'm glad to hear that you found my program helpful. Thanks for the offer but You do not need to pay anything.
Best regards
Trajan Stalevski
trajan@vinca.rs