05-24-2011 06:44 AM
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
05-24-2011 07:01 AM
tried it. But unfortunately no changes.
05-24-2011 07:49 AM - edited 05-24-2011 07:49 AM
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
05-24-2011 09:17 AM
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'.
05-24-2011 11:38 PM
Excellent.
It's working.
What was the actual mistake?
Checking the operation completly.
Thanks very much.
05-25-2011 12:39 AM
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.
05-25-2011 02:04 AM
Update...
All working execpt the last of sending writing Cntrl Z at the end
05-25-2011 03:29 AM
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.
05-25-2011 09:23 AM
Thanks very much to all of you.
The code of <Cntrl> Z was /1A.
My program is running now.