LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read sms in labview

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 🙂  

0 Kudos
Message 1 of 7
(3,967 Views)

You're going to need some kind of cellular receiver.  Do you have one in mind?

Chris
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 2 of 7
(3,949 Views)
Yes , i have a Gsm modem snd i can send sms from labview
0 Kudos
Message 3 of 7
(3,942 Views)

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

Chris
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 4 of 7
(3,928 Views)

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

Message 5 of 7
(3,843 Views)

Just found your link, thanks you so much man, that's totally awesone !

Kudos !

Any paypal donation box available?

 

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

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

0 Kudos
Message 7 of 7
(3,631 Views)