LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GSM Modem can't function

Solved!
Go to solution

I have a GSM modem (WAVECOM - Fastrack supreme WM22221)...

I have used to run the example of LabVIEW but it shown as below:error.JPG

 

can anybody tell me how to solve this problem....

thank you very much... 

 

0 Kudos
Message 1 of 14
(5,765 Views)

Hi kelvin tay,

are you sure you need no flow control? Can you send other commands successfully to your GSM modem?

 

Mike

Message Edited by MikeS81 on 07-09-2009 02:29 PM
0 Kudos
Message 2 of 14
(5,754 Views)
I use a wavecom Q2687 and you should set the com port to Hardware flow control.  I get framing errors only if I abort communications.

Paul
0 Kudos
Message 3 of 14
(5,751 Views)

i have tried to send another command but oso can't function......

but my GSM modem can detect the sim card...

 

0 Kudos
Message 4 of 14
(5,746 Views)
i have set the com correctly, the computer also can detect the present of GSM modem, is it possible for my software problems?
0 Kudos
Message 5 of 14
(5,744 Views)

Hi kelvin tay,

try to use a bigger delay time. Did you make changes in the example, maybe in the block diagram?

If yes, can you upload your vi?

 

Edit: Did you try to send commands from Hyperterminal?

 

Mike

Message Edited by MikeS81 on 07-09-2009 03:36 PM
0 Kudos
Message 6 of 14
(5,741 Views)

Not work....

untitled.JPG

this is an example from labview, should be no problems....

 

0 Kudos
Message 7 of 14
(5,717 Views)

Are you using a USB to serial adapter?  It is my recollection (going back a few years ago) that I had a similiar problem using some off brand.  I have found the Keyspan USB to serial adapters to be pretty bullet proof.  One would hope that the others would resolve their issues, but I am not sure.  Just not willing to save a buck anymore on this.

 

Additionally as mentioned above, does it work in Hyperterminal?  If so, is it running at 9600 baud?  Does your modem Autobaud or do you need to configure it? 

You can also try a faster baud rate, I am running at 115200 with no issues.  

Our device that uses the wavecom unit has a prolific USB to Serial adapter on board and that works as well.


Paul
0 Kudos
Message 8 of 14
(5,711 Views)
Solution
Accepted by topic author kelvin tay

Yes, i am using a USB to serial adapter, is it possible for the driver i have installed crash with my window system?

Actually i have configure at 9600 baud, i think should be ok.......

Do you know how come the framing problem will occur?

0 Kudos
Message 9 of 14
(5,706 Views)

When I had this problem, once I confirmed that my code worked on the keyspan (which came after running on a computer with a physical com port, I just threw the USB to Serial adapter that was not working away... The cost of further troubleshooting would far exceed the cost of a new USB to serial adapter. 

If possible I would suggest that you try your code on a computer with a physical com port... if the problem goes away which it probably will) as there is no magic in your code... then you have to decide whether it is worth $40-$150 depending on which keyspan you get or to further troubleshoot your issue.

The one quick thing you can do is go to the manufacturer website and see if they have updated drivers if you have not done so already.


Paul
0 Kudos
Message 10 of 14
(5,695 Views)