Hello Sir,thanks for replying...
The problem is, in the read buffer content is displaying as "AT+CMGR=1" which is we are writing AT command into the port for reading the SMS. please kindly go that image, you will surely get what I am getting the error.
Based on the "GSM modem control.vi" which is on my website, I wrote a short program just for receiving SMS messages. You should only customize subVI for initialization of the serial port to characteristics of your GSM modem (speed transmission, handshanking, terminal character) and the program should work with your modem. If you have a GSM modem with RS232 port, then be sure to turn on RTS / CTS synchronization. If you have GSM modem with USB port then for RTS/CTS choose None.
Its assumed that you have copied all GSM subVIs from my site in one folder.
I hope you will find this program helpful.
Sorry, I've made an error. After while loop instead of ECHO OFF subVI you should call ECHO ON subVi. The program will work well with this unintentional error but is more correct to set echo on at the end of the program.
thanks for replying...Should I need to download GSM toolkit for run this VI? I already tried your VI from your website. but, I am getting the same error. Could you explain me what is error in my VI?
You should to download all GSm subVIs from my site (Link to GSM subVIs) to run test program that I post on this forum. Test program and all GSM subVIs copy in one folder. Run the program in debug mode and execute it step by step. Put probes on wires to read information from subVis. This test program works fine with my GSM modem and should work well with your GSM modem too.
Move the Serial configure out of the loop so that it runs before the while loop. Move the VISA close out and after the loop. No need to close and reconfigure the serial port on every loop iteration.
Hello sir can u help about your VI, I am trying to receive the sms but i am getting some error .., take a look on the attached vi.
i dont know what to do..