LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send SMS using an ordinary Mobile Phone

Solved!
Go to solution

Hello, 

Got busy in some other activities and now working on the task.

I was succeeded in sending sms using the AT Commands help given in the pdf document through Hyperterminal.

Now trying the same thing with labview. I could not get the results

i.e. i was sending AT from the PC but getting AT again inplace of OK when reading the port.

I couldn't understand where the actual problem lies.

Anyone may please guide.

Thanks

0 Kudos
Message 11 of 29
(1,192 Views)
0 Kudos
Message 12 of 29
(1,191 Views)

Hi Intelligent,

which termination char do you use in hyperterminal? You should use the same in LabVIEW.

 

Mike

0 Kudos
Message 13 of 29
(1,187 Views)

Actually i wrote AT to the bus and tried to receive OK from it.

But it could not work in LabVIEW.

But as a response i get AT from it.

I dont understand it's reason.

0 Kudos
Message 14 of 29
(1,185 Views)

Hi,

try it with \r\n (code display) as termination char.

Why don't you read the entire data from the serial interface? I think, if you would read the entire response, then you could see the needed termination character.

 

Mike

0 Kudos
Message 15 of 29
(1,182 Views)

Tried to read 4 characters from the port but only two characters were received which were same as previous i.e. AT.

As you advised to use the termination character, i found unable to enter \n or \r. As the fields of entry were limited to hex, octal, Decimal, binary and SI notation.

0 Kudos
Message 16 of 29
(1,178 Views)

Hi,

you can switch the termination char off and add "\r\n" (still in code display) to your AT command (in the string).

 

Mike

0 Kudos
Message 17 of 29
(1,173 Views)

Changes into a broken wire.

Also attaching the file for your kind refrence.

0 Kudos
Message 18 of 29
(1,166 Views)

Hi,

see the attachment please.

 

Mike

0 Kudos
Message 19 of 29
(1,163 Views)

"AT/r/n" are now seen in the read.

Hence what is send is received.

File also attached

0 Kudos
Message 20 of 29
(1,158 Views)