LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SMS help

Hi, i know that sending an sms in labview has already been covered before and rather adequately. I have tried using the sample VIs that have been provided in the forum but i still can't send smses. I am using a itegno modem that i believe uses AT wavecom commands. I have attached a VI that i have made for sending SMS but it also doesn't send sms eventhough there are no errors when i run the VI. So i was wondering whether you guys can take a look and see where is the problem. I am really new to Labview but i have to finish this by the end of this month so i would really appreciate your help. Thank you:)

0 Kudos
Message 1 of 2
(2,303 Views)

It is good practice to open and close the VISA sessions.  Assuming the data is actually going out the COM port as it is now, you are not looking for any data coming back.  Is tehre responses to these message?  Have you tried using HyperTerminal to determine these commands work?  It is also bad practice to not wire your error clusters.  If you did so, you would not need the sequence structure, and your code would be much easier to understand.  You can also should have an indicator for the output error.  Some people, such as myself do not have automatic error handling enabled, so I have no way of knowing whether an error has occurred without turning it back on.

 

You also seem to have carriage returns for some commands and not others.  Do you know that the carriage return is the correct line termination caracter?  It could be a linefeed or a carriage return and linefeed.

0 Kudos
Message 2 of 2
(2,301 Views)