Download ActiveComport    |     Visit the ActiveComport website

Index - Log in! - Sign up! - Visit website
Urgent - Problem with Modem Baud Rate
 
ActiveXperts Software Forum Index -> ActiveComport Toolkit -> Development platforms
 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ram19382



Joined: 04 Feb 2008
Posts: 2
Location: India

PostPosted: Mon Feb 04, 2008 8:05 am    Post subject: Urgent - Problem with Modem Baud Rate

Dear all,

I developed a project for PC-Serial port communication in VC++. In that i opened the Comm port, it is opening with default port setting values like Baud Rate = 9600, DataBits = 8 & etc.

The exact problem is,
When i connect the Modem using Serial-Usb converter the Baud is to be set as 115200. In hyper termal with the Mentioned Baud Rate i tried modem is working Fine.

In my project the comm port is opening with default values. But what i need is, it should be open with 115200. Moreover i tried once the port was opened i used the function setcommstate() to change the values. It is not reflecting.

The reason behind this is, the Baud Rate is to be set is 115200, but in my application it is opening with 9600 as Default.
So what ever the command/ settings if i give to modem it is not working. In other way we can say for any operation the modem is not responding.
Because it was opened with 9600 as a Baud Rate.

I don't how this VC program is taking the Baud Rate 9600 as Default.

Please let me know how to solve this problem. Its Very Urgent.
Back to top
Leon



Joined: 11 Jul 2007
Posts: 408

PostPosted: Mon Feb 04, 2008 8:28 am    Post subject:

Hello Ram,

In the object, there is a property called DeviceSpeed. Use this property to select another baudrate.

Leon
Back to top
ram19382



Joined: 04 Feb 2008
Posts: 2
Location: India

PostPosted: Mon Feb 04, 2008 8:51 am    Post subject:

Hi Leon

Thanks a lot.

I'm not able to your point. In VC++ their is no function called as DeviceSpeed. If possible let me know more detailed.

Thank u.
Back to top
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum