From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-30-2014 07:21 AM
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.
05-30-2014 09:36 AM
05-30-2014 02:08 PM
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.
bets regrads
Trajan Stalevski
05-30-2014 02:10 PM
In the previous post I forgot to mention that you must first choose serial port and after that start the program.
05-30-2014 03:39 PM
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.
05-31-2014 12:16 AM
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?
05-31-2014 05:30 AM
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.
06-02-2014 05:29 AM
Hello everyone...
thanks for your replying to all my queries...Finally I can read and send the msg from the labVIEW. tried.... tried.... tried... finally, I got it...
06-02-2014 08:51 AM
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.
06-04-2014 05:56 AM
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..
thx
Joseph