LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending sms using labview

Solved!
Go to solution

HI Himanshu Goyal,

 

Thank you for your quick response and help. But sadly, I can't open your VI since yours is 2010 laview and mine is labview 2009 so I can't open your VI. But I have attached my code for you to see and it can send one person only but for multiple users, where should I modify it? Any suggestion from you 🙂 Looking forward to your reply..

 

0 Kudos
Message 21 of 36
(1,897 Views)

Please find the attached VIs in Previous Version

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
Download All
0 Kudos
Message 22 of 36
(1,890 Views)

Save all VIs in a Folder. Now open Multi User SMS.vi and run it.

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 23 of 36
(1,888 Views)

Hello Himanshu Goyal,

 

Thank you very much for your help as it helps me a lot but may I know why there is nothing in your front panel for multi user SMS?And I have tried your codes and it is working. But I have changed your string constant from block diagram into change control, after that I can't send sms. sorry for my ignorance. And hope you can explain it to me about why you use string constant instead of using string control"Array".

 

 

0 Kudos
Message 24 of 36
(1,857 Views)

Btw, Attachment is my codes as I follow your steps but I want to control it from my front panel not from my block diagram. And you helped me a lot so thank you a lot for your help 🙂 And any better idea to amend my codes?

Download All
0 Kudos
Message 25 of 36
(1,856 Views)

Hi Genevie,

 

As you says you make it control and it stop working. According to me this should not happen, may be the issue with your time delay between both write function give some delay.

If still you got some trouble to send the SMS please let me know in detail so I will help you.

 

Thanks and Regards

Himanshu Goyal

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 26 of 36
(1,852 Views)

hi

 

           this prabu iam trying to send message to mobile through labview 8.5.is there any ready made code available for this application.

i am using sony ericcsion K530i mobile an nokia n72.

 

i need sample as soon as possible.

 

i want labview 8.5 vi in working condition else please send the procedure to send message.

 

thanks

0 Kudos
Message 27 of 36
(1,827 Views)

Hi Himanshu Goyal,

 

I have been trying my code to send multiple phone number but that seems to be some problems with my code since it can only send to one person but never able to send another number although I put it inside the string control. Attachment is my code and hope you can try it in some time. And as you mentioned that I can change my delay, so I have changed my time delay but it still have some problems for sending multiple users. BTW i have tried your code and change it to control, it works. Only my code got problem. Please looking forward to your kind reply ASAP. Thank you very much, your effort is much more appreciated.

Download All
0 Kudos
Message 28 of 36
(1,809 Views)

Why do you have a while loop with stop button in your subVI?  Generally, subVI's don't have while loops.

 

Your VI runs, it sends the first set of data to your subVI, the subVI runs, but it never finishes because you have to hit the stop button to stop the loop, but since it is subVI, you don't have a front panel open up.

 

It won't even send the first one because the real code is in a case structure tied to the control Send SMS.  It is set to False, and you have no way to make that true since you didn't put a terminal to it on the connector panel of the subVI.

 

Get rid of the case structure, get rid of the while loop and stop button in the subVI.

0 Kudos
Message 29 of 36
(1,806 Views)

Hi Genevie,

 

As Ravens says in your SubVI no need for your while loop.
If you keep while loop inside your subVI there is no such condition to come out from the loop. So your code stuck in while loop.

 

Some points listed below to make your code reliable.


1. you remoave your case structure and use this VI only in the condition of any event or Alarm occure to send the SMS, otherwise no need to use this VI.
2. Open your port in initial loop or code and close the port in the end of the code no need to open and close the port again and again.
3. In Sub VI we required some delay that is not for the VI delay that delay we required between to serial write function.

 

I made some changes in you VI please find the attachment.

 

Thanks and Regards

Himanshu Goyal

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 30 of 36
(1,773 Views)