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,693 Views)

tried it. But unfortunately no changes.

0 Kudos
Message 22 of 29
(1,689 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,674 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,659 Views)

Excellent. 

It's working.

What was the actual mistake?

Checking the operation completly.

Thanks very much.

0 Kudos
Message 25 of 29
(1,643 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,638 Views)

Update...

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

0 Kudos
Message 27 of 29
(1,631 Views)
Solution
Accepted by 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,621 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,599 Views)