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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send SMS using an ordinary Mobile Phone

Solved!
Go to solution

Hi,

please make sure you have changed the string constant VIEW to "code display" before you enter "\r\n" to it. You can change the display style with a right click on the string constant.

 

Mike

0 Kudos
Message 21 of 29
(1,331 Views)

tried it. But unfortunately no changes.

0 Kudos
Message 22 of 29
(1,327 Views)

Hi,

hm, i think now you should start to check the hyper terminal settings. Check which baudrate and other connection data you use and use the same in your LabVIEW program.

 

Mike 

0 Kudos
Message 23 of 29
(1,312 Views)

I've added in a 'Bytes at Port' property node before the Visa Read.

 

Also, I've expanded the Read Buffer indicator.

 

The 'AT' that you were seeing is the 'echo' of your VIsa Write.

 

So now when it's run, you should see 'AT' followed by 'OK'.

 

 

Message 24 of 29
(1,297 Views)

Excellent. 

It's working.

What was the actual mistake?

Checking the operation completly.

Thanks very much.

0 Kudos
Message 25 of 29
(1,281 Views)

what about when sending AT+CMGF=1.

Could it dont just by replication of the previous code.

A problem here i found in replication is that i dont receive OK and when the program is run again, i dont get OK for AT.

 

0 Kudos
Message 26 of 29
(1,276 Views)

Update...

All working execpt the last of sending writing Cntrl Z at the end

0 Kudos
Message 27 of 29
(1,269 Views)
Solution
Accepted by topic author Getwonder

Does this post help, there's a couple of suggestions there?

 

http://forums.ni.com/t5/LabVIEW/How-do-I-enter-CTRL-C-into-a-string-control-in-LabVIEW/m-p/208314

 

Obviously, this is for ctrl-c using a value of 3, but try with a value of 26 for ctrl-z and concatenate it into your input string.

Message 28 of 29
(1,259 Views)

Thanks very much to all of you.

The code of <Cntrl> Z was /1A.

My program is running now. 

0 Kudos
Message 29 of 29
(1,237 Views)