From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-01-2010 09:40 AM
hi
i hav done my SMS receive system, however i would like to select the phone number only for receive......
for example, my phone number is 12345678, i want only receive the message from this number only, other than that will be ignore.....
my VI is as shown below....
could anybody please help me to edit the code to define the user's phone number......
best regard
kelvin
04-01-2010 12:18 PM
What instrument are you using to read in the data from the phone?
It looks like you are doing a serial read, so all the computer would see is which COM port is in use.
04-01-2010 01:51 PM
hi
yes, i'm using GSM modem connected by RS232 to the computer....
the receive message part has done as shown and it is work....
but i just wan to define the only certain phone number that defined will be read out, others will be ignore....
Any change shud be implement in my coding?
best regard
kelvin
04-01-2010 03:22 PM
When you recieve a message, are you able to detect the phone Number from which it came from? If yes, then:
1) look for the phone No. on the message,
2) compare it with a constant (which will be your phone No.)
3)If true, execute the rest of the code, if false then cancel.
If you want your code to be examend then best provide the VI, however, if your hardware cannot provide you with a phone number, then I don't see a way that you can filter the messages based on phone number.
Kas
04-03-2010 09:36 AM