LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending sms using labview

Solved!
Go to solution

Thank you for everything and you have helped me a lot during all this time. I really appreciate your great effort to help me. God Bless you 🙂

0 Kudos
Message 31 of 36
(1,620 Views)

I need help, the message are send every 5 second and this is my problem.

I want to send only one message if weight are greeter then set in box weight, and if i set a new number greter then also must send only one message. 

And my second problem are when receive SMS to my cell, the message looks: are: 502,00000 
The word weight are missing and five zeros I do not know where they come from .




Thanks in advance for any help

Download All
0 Kudos
Message 32 of 36
(1,544 Views)

Create a boolean value in a shift register that stores a true or false based on whether a message has been sent.  Only send a message when you current condition is True and the "Already Sent" boolean is not true.  When you do send the message, send a True constant into the shift register so that later loop iterations know that the message has already been sent.

 

For your extra zeroes, the problem is that you did not wire any any format code string into the Format into String function.  So it uses its default format which is a 6 decimal place number.

 

Are you using a European operating system?  You show your number has have a comma for a decimal point instead of a period.  Could that extra comma in your number messing up the communication.  Is that comma being treated as a delimiter that is breaking up the message in some way?

0 Kudos
Message 33 of 36
(1,518 Views)

Hi

I open new topic there: http://forums.ni.com/t5/LabVIEW/Sending-SMS-using-labview/td-p/1793088

 

Now I solve the problem of zeros, transform double to string. I use WIN-XP with Slovenian language pack, we use comma for decimal point 🙂 (ex.: 1.000,00 thousand ..) .

 

I post new problem in new topic 🙂 .

 

Thanks for now 

0 Kudos
Message 34 of 36
(1,507 Views)

Hello,

 

Do you have any idea how to receive sms from the user as when the user send sms, then can receive sms using labview. Attachement is the design of receiving sms. But I still can't receive and there is error. Hope you can help me out and thank you a lot for your help. Appreciate a lot. 🙂

0 Kudos
Message 35 of 36
(1,499 Views)

Can you share Hardware details you used to send SMS.

I am using only SIM900A and connected with PC directly through RS232 to USB converter. I am not able to send SMS.

0 Kudos
Message 36 of 36
(116 Views)