Do you have any idea on how to receive SMS by using labVIEW? I have tried the AT commands using hyperterminal to recieve the SMS, but i don't know how to continue on labVIEW to receive?
Is the concept same with the sending SMS in labVIEW??
Solved! Go to Solution.
If you could do that using AT Commands, its the same in LabVIEW as well. Use the VISA functions, Write the commands using the Write functions to the modem and read the same using the read commands. You may even find some examples for this if you search the forum properly.
(Give kudos to good Answers, Mark it as a Solution if your problem is Solved)
thanks for your reply.
Any idea for how to find out the example codes for recieivng sms by labVIEW??
I tried to find out but so far can't find them..
Thank you for your help
For recieving sms by labVIEW you can use the VISA write function and write the AT+CMGR command into the port and then use a VISA Read function to read the sms from the modem. For example if you want to read the 3 message you can write the code AT+CMGR=3. Also include a small delay of may be 1000 milli seconds between writing and reading the sms. Try this and let me know if you have any trouble. Do post your code if you face and issues.
(Kudos are always Welcome)
thanks for your reply.... I am confused abit... as my sequences in receiving SMS at hyperterminal was started with new message notification which is "AT+CNMI=1,2,0,0,0" ,as shown in below.
if you don't mind, can i have an example code or any sequences in details for receiving SMS in labVIEW? Should i have to do together under same VI (send SMS and receive SMS together in same VI)?
Thanks heaps for your help....
This is the link that I refer to for sending and receiving SMS at hyperterminal. http://www.developershome.com/sms/howToReceiveSMSUsingPC.asp
As, there is two types of receiving SMS (AT commands) which is
(i) AT+CNMI=1,1,0,0,0 (which needs to write AT+CMGR=message location at sim card) in below figure
Secondly is AT+CNMI=1,2,0,0,0 (which doesn't need to write command to read the new message) in below figure.
In labview, which one is most suitable, I prefer use AT+CNMI=1,2,0,0,0 as we no need to write command for read new message!!
If you don't mind, any idea or steps for testing in labVIEW?
i have tried the receiving sms by labview according to your idea, but i think there is an error in this,
if you don't mind, can you help me to recover these erros?
Looking forward your reply asap
The picture below shown is the error that occurred in receiving sms labview VI. and I have attached my VI also.
thanks for reply,... I can't go to the site that u referred! can u please reupload again
what is the meaning of KBs, by the way?
I am using the labVIEW version of 2009, for testing how to receive the SMS by it, are there any example codes beside the basic serial read and write.vi which can be found in NI find examples... as I don't know how to apply this example code.
thanks alot for your help.
Happy Blissful New Year