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?

I want to read text data from a wirless phone having 9 pin serial port connecter,other end is connected with USB port of computer for internet connectivity.I have LabVIEW 8.2 and want to read text messages from phone set.How  can I use device address string in VISA Resource Name Control?
0 Kudos
Message 1 of 24
(4,237 Views)
That really isn't enough information to go on.Smiley Surprised  First you'll have to figure out how the device shows up in your PC.  When you connect the cable, does it show up as a COM port or something else.  Look in Windows Device Manager.
 
Once you figure out how it connects, you will have to look at what kind of command set the phone uses.  Does the phone provide an advanced manual or communications manual that lists the commands?
0 Kudos
Message 2 of 24
(4,230 Views)

Thanks for reply

When the device is connected to the computer USB port the following devices are displayed in Windows device manager

a.     Multi Port Serial Adapter

b.    TIUMP USB Serial Port (COM3)

 

In properties their details are,

a.     Multi Port Serial Adapter

 

Device type                              Multi Port Serial Adapter

Manufacturer                            Texas Instruments

Location                                   Location 0 (TUSB3410 Boot Device)

b.    TIUMP USB Serial Port (COM3)

Device type                              Port (COM & LPT)

Manufacturer                            Texas Instruments

Location                                   TUSB3410

Note: The device also uses internal HuaWei Wireless modem manufactured by   HuaWei Tech Co.Ltd

Waiting for your kind reply.

Regard Fahim

0 Kudos
Message 3 of 24
(4,202 Views)
Fahim,

Raven's right, you need to find out the commands which your phone uses. Then you can use the serial vi's (in the Instrument I/O palette)

You can use *IDN?\r\n (an universal command) to query your device.
Van L
NI Applications Engineer
0 Kudos
Message 4 of 24
(4,157 Views)
Thanks Sir!
Error -1073807298 ( VISA:(Hex 0xBFFF003E) could not perform operation because of i/o error) occured while using NI-VISA function by querying the instrument through *IDN?\r\n command.
I am newer  in LabVIEW and want to learn instrumentation by playing instruments through LabVIEW.
Regard Fahim
0 Kudos
Message 5 of 24
(4,120 Views)
The *IDN? command is fairly universal among instruments that are also made with a GPIB interface. Its not common at all among other serial connections. You have to get a set of commands from the maker of the phone in order to communicate. Otherwise you would be just wasting your time trying to send a bunch of strings that the phone does not recognize.
0 Kudos
Message 6 of 24
(4,116 Views)
Thanks for reply
you mean that it is not necessary that *IDN? is recognized by each and every Serial device.It means that we can not query black box devices (devices which have no programming commands available to the users).
Bundle of thanks ,I hope you will guide us in future too.
Regard Fahim
0 Kudos
Message 7 of 24
(4,098 Views)
Have you test AT Commands with your phone?
Raymundo Cassani
0 Kudos
Message 8 of 24
(4,081 Views)


@fahim wrote:
Thanks for reply
you mean that it is not necessary that *IDN? is recognized by each and every Serial device.It means that we can not query black box devices (devices which have no programming commands available to the users).
Bundle of thanks ,I hope you will guide us in future too.
Regard Fahim


Yes, serial devices can use any and every protocol the developer would like and frequently do so. Your device being a mobile phone there is a chance that it is using the ETSI standard for GSM devices which is based on the Hayes AT command set.

The only problem that bothers me a bit is the error you see when trying to write "IDN?" to your device. That error does not show up because the device does not understand the command but because there is something more basic that goes wrong. The first challange will be to figure out baudrate, data bits, parity and HW handshaking. One of these parameters being wrong will simply give you all kinds of weird errors.

Then you can start to try to send AT commands such as ATZ<cr><lf> which resets the device and should return an OK response.

Rolf Kalbermatter


Message Edited by rolfk on 04-06-2008 09:31 AM
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 9 of 24
(4,075 Views)
Hi.

Use the command:         AT<CR>          
If your device response "OK" your device supports AT commands
Raymundo Cassani
0 Kudos
Message 10 of 24
(4,044 Views)