07-19-2011 10:28 PM
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..
07-20-2011 12:27 AM
Please find the attached VIs in Previous Version
07-20-2011 12:28 AM - edited 07-20-2011 12:30 AM
Save all VIs in a Folder. Now open Multi User SMS.vi and run it.
07-25-2011 04:18 AM
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".
07-25-2011 04:24 AM
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?
07-25-2011 05:40 AM
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
07-27-2011 05:58 AM
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
07-30-2011 10:31 AM
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.
07-30-2011 11:08 AM
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.
08-01-2011 12:18 AM
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