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?

Thank you Rolf Kalbermatter and  Raymundo Cassani
 
You have give me new hope!
I have found modem commands but did not found protocols i.e what is baud rate ,data  bits etc.
I am trying to get it ,then woul tell you the results.If you have any idea then please tell me.
Regard Fahim
 
0 Kudos
Message 11 of 24
(1,571 Views)
I´ve used AT commands to control cel phones, to call and send SMS.

Try to use 9600 baudrate, NO parity, 8 bits data and 1 bit Stop, all the cel phones tested by me work with this configuration.
Good LuckSmiley Wink
Raymundo Cassani
0 Kudos
Message 12 of 24
(1,561 Views)


@Ray Cassani wrote:
I´ve used AT commands to control cel phones, to call and send SMS.

Try to use 9600 baudrate, NO parity, 8 bits data and 1 bit Stop, all the cel phones tested by me work with this configuration.
Good LuckSmiley Wink


Except that my old Siemens one used to have 19200 if I'm not mistaken. It's quite helpful to have a higher baudrate than the maximum possible 14400 raw datarate for cases where you want to use it in data mode (but not all GSM modems support data mode).

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 13 of 24
(1,554 Views)
Yes the device was properly configured but it reports same error while using "*IDN"  and device dependent commands with VISA  WRITE function.I think there might be some thing wrong with syntex entry of the  commands.
Once again I am thankfull to you for guiding me.
fahim
0 Kudos
Message 14 of 24
(1,535 Views)


@fahim wrote:
Yes the device was properly configured but it reports same error while using "*IDN"  and device dependent commands with VISA  WRITE function.I think there might be some thing wrong with syntex entry of the  commands.
Once again I am thankfull to you for guiding me.
fahim


Please forget *IDN. That is only gonna work for some measurement devices but definitely not for phones, modems or whatsoever.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 15 of 24
(1,523 Views)
Of course we saw that  not every device recognizes *IDN?  , and thus is not a auniversal command, which is a drawback of LabVIEW.
fahim
0 Kudos
Message 16 of 24
(1,507 Views)
The *IDN? command has nothing at all to do with LabVIEW. It is a standard command for gpib instruments and was adopted in IEEE-488.2. There absolutely no standards at all for serial instruments beyond the electrical one for RS-232. I don't believe your phone issue is related to LabVIEW either but one way to find out is to use Hyperterminal. Try to comunicate using this program and see if you can issue the modem commands. If you can't, then there is a problem with the com setup or the phone does not use the standard AT commands.
Message 17 of 24
(1,503 Views)
Dear Dennis LONG LIVE!
 
Though I would use Hyperterminal to check, but I am  interested in palying instruments using LabVIEW,ICom setup is correct as when i run LabVIEW in debugg mode to check where the error is reported it is observed that serial config function executes sucessfully but Write function reports error.Config function changes the setup of phone modem and does not work when i switch bak to Internet,I  have to change the baudrate back to 230400 bps from what I had changed by LabVIEW serial config function of VISA. It seems the problem is with standard AT commands.
Regard fahim
0 Kudos
Message 18 of 24
(1,498 Views)

It seems to me that you are not configuring the port correctly in LabVIEW if you have to reconfigure it later for the phone to connect. The fact that the VISA Congifure Serial Port does not report an error does not mean that it is correct. The VISA Configure Serial Port will report an error if you cannot configure a port to a certain setting. It does not check to see if that setting is correct for the device you are connected to. That is a limitation of all serial devices. As an example, I have a product that I need to do some serial communication with. I configured the port for 115200 baud, did a write, and then a read. I got a timeout error on the read. The problem was that with the newest release of firmware, the baud rate for the product was changed to 19200. So, I had to change the VISA Configure Serial Port. The lesson here is that you have to be very careful in understanding serial errors.

Again, as a debug aid, I strongly suggest you first try using Hyperterminal to just see if you can get anything to work.

Message 19 of 24
(1,493 Views)

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

0 Kudos
Message 20 of 24
(1,466 Views)