Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending sms using LabVIEW

Hello All,

 

My issue with USB GSM Modem has solved. I used Trajan's subVIs. He has helped me a lot in order to solve this problems. He has done a wonderful job of creating those subVIs.

 

Thanks & Regards,

Manisha

0 Kudos
Message 11 of 18
(2,697 Views)

Do you mind posting your working VI's? I would like to take a look at this project.

 

Thanks.

0 Kudos
Message 12 of 18
(2,554 Views)

Hii Kud,

 

I have attached the zip file in which all the subVIs are included with my working VI.

 

Thanks & Regards,

Manisha

 

 

0 Kudos
Message 13 of 18
(2,540 Views)

Thank you for the files. I am getting errors though but I am sure I just need to set the baud rate on the serial port but I can not find it in the VI's Below is the error.

 

error -1073807298 occurred at VISA Write in GSM remove echo.vi->GSM init serial port.vi->GSM Modem Control.vi

 

Possible reason(s):

VISA:  (Hex 0xBFFF003E) Could not perform operation because of I/O error.

 

Any thoughts?

 

Thanks,

Kud

0 Kudos
Message 14 of 18
(2,529 Views)

I found the serial port properties and have changed the settings for my modem but I still get the same error.

0 Kudos
Message 15 of 18
(2,527 Views)

I'm suggesting you to download all programs from the site https://sites.google.com/site/tstalevski/labview-send---receive-sms-message and change only parameters for serial port according to your GSM modem. In the subVI "GSM init serial port.vi" choose right transfer rate and for handshaking choose RTS/CTS (if you have ordinary GSM modem, not USB GSM modem). Save changes and open the main program "GSM modem control.vi". If your GSM modem is functioning well you will send and receive SMS message with the main program. If you get any error debug program setting breakpoint on the GSM subVIs. Good luck.

 

Regards

 

Trajan

 

0 Kudos
Message 16 of 18
(2,511 Views)

Do check out the following document which tells how to send SMS using LabVIEW, via a GSM modem.

Its a ready made VI which can be used for the same :smileyhappy:

 

https://forums.ni.com/t5/Example-Code/Send-SMS-via-SIM-900-AT-GSM-modem-in-LabVIEW/ta-p/3507467

 

Feedback is welcome!

Shreyas Hebbare
Shreyas Technologies
India
0 Kudos
Message 17 of 18
(2,252 Views)

I've tested your software for sending SMS messages via GSM modem GT900 (http://decode.rs/index.php/en/gsm-telemetry/85-gt900-gsm-terminal) and your program works fine. The block diagram is password protected and I couldn't analyze the software. You should divide program into several subVI's (init srial port, set echo, remove echo ...) as I did it. If you do this writing programs will be a nice game.

 

best  regards

 

Trajan

0 Kudos
Message 18 of 18
(2,232 Views)