LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

i have wireless phone with serial port ,connected to USB port of computer.How can I read data from phone?

Your statements are confusing. In the previous post you said you had to set the baud rate to 230400 in order for the connection to. Now you say you are trying to set the baud rate to 115200. Why are you trying to set it to 115200? Are you just trying every baud rate listed? If the device really does work at 230400, why would want to screw around with other baud rates?
 
Remember, even if you do get a correct baud rate, there is no guarantee the AT commands will work. Do a search for a program called Portmon. Its a free utility now owned by Microsoft. Set up the phone as it normally would to connect to the internet and turn portmon on. See if you can determine the protocol from the portmon trace.
Message 21 of 24
(724 Views)


@fahim wrote:

Dear Dennis

I tried to use HyperTerminal to talk to my modem, but commands could not be typed in HyperTerminal window.  I followed the following steps. If there is error in steps then kindly tell me what is wrong.

1.      Clicked on START, then ACCESSORIES, then COMMUNICATIONS, then HYPERTERMINAL

2.      Entered the name like COM_3 then clicked OK

3.   Selected COM3 from the list and clicked

3.      Selected baud rate 115200 bps and then clicked Apply then clicked OK.

4.      HyperTerminal window was appeared with name COM_3

5.      I typed AT but nothing was appeared in window

Regard Fahim



Basically that proofs that the problem is not with LabVIEW nor VISA at all, but that you have a fundamental problem to communicate with the device. What this problem could be we can't tell you for sure. Here is a list:

1) Cable problem (since it is an USB interface that is not likely)
2) Wrong serial port parameters (baudrate, data bits, parity, handshaking, Dennis already pointed you to the inconsistencies in your posts concerning the baudrates).
3) Your modem does not use the AT command set

Number 2) you can influence and hopefully you have a manual where this is documented
The only possiblity to overcome number 3) is to get the  command specification from the manufacturer or in lack of this find someone else who knows the command set. Looking here for that is however most likely an exercise in vain. We do work with things we can make work, not with stuff the manufacturer thinks needing to keep secret.

Rolf Kalbermatter


Message Edited by rolfk on 04-09-2008 07:43 AM
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 22 of 24
(714 Views)
Dear Rolf Kalbermatter
Baudrate 230400 is default rate selected by modem manufacturer used for internet. By selecting baud rate 115200 I only tried to talk to modem to test the AT command as advised by Dennis.I agree with your condition (1) & (3).
In my reply 22 was, the problem of why not keyboard  typing displayed in HyperTerminal window.
 
However I learned many from this discussion, if not raised the problem than i had not learnt.
This is my free time hoby to paly with instruments so that in future I can handle complex problems.
I am quite new in the field of instrumentation.
Thanks Rolf Kalbermatter
Thanks Dennis
regard fahim
0 Kudos
Message 23 of 24
(697 Views)
There was no suggestion from anyone to set you phone to 115200. That was a buad rate that you apparently chose at random. since you knew that 230400 was a baud rate supported by the vendor, you should have used that - and only that.
 
Your 'playing' with the phone is not really representative of anything you will see in the future. With real serial instruments, you will receive documentation. I guess I hadn't paid attention to what your intentions were to the device. Since you are just 'playing' around, it would be much more productive to find a cheap instrument that you can actually learn something with.
0 Kudos
Message 24 of 24
(693 Views)