Results 1 to 7 of 7

Thread: qextserialport BAUDRATE problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2008
    Posts
    46
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: qextserialport BAUDRATE problem

    Hey thanks for the reply, Actually i will be connecting the RS-232 cable to a target board and then from the the target board it will connected to another computer to check out in its Huperterminal. So i really don't think i can write a program to receive and display on other computer. Actually the test program written in Qt with qextserialport works perfectly fine i can receive and display it on the other computer but i get the problem when i try to view it on the HyperTerminal. It is not consistent i can receive and view the data at times and all of a sudden it stops working. I cross checked all the hardware connections replaced the RS232 cables also but no luck. I think its because of the Baud and other serial comm configuration. The configuration which i have given in the program is not setting at all i think the program is taking some default values on it own. !!


    Thank You

  2. #2
    Join Date
    Mar 2008
    Posts
    46
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: qextserialport BAUDRATE problem

    Hello

    Has any one sucessfully done a program in Qt using qextserialport to send some data or any thing to another computer using RS232 and receive it on the other computers Hyperterminal. I am having serious problems with qextserialport in communicating with the Hyperterminal. I am able to send data using the same program and the same settings to another computer to a program written in Qt to receive from comm port. I downloaded a windows program and tested it in which i can view every thing i send on the other computers Hyperterminal. But no luck with qextserialport. Any body have some idea regarding this problem.


    Thank You

  3. #3
    Join Date
    Jun 2006
    Posts
    64
    Thanks
    10
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qextserialport BAUDRATE problem

    G'Day,

    I have played with qextserialport a little bit and found that I had to close the serial port then change the baud rate and reopen the serial port again. I also found hyperterminal to be flakey. I used minicom under Linux and Telex under windows when testing my apps.

    Hope this helps...

    B1.

  4. #4
    Join Date
    Mar 2008
    Posts
    46
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: qextserialport BAUDRATE problem

    Hey i have a small problem there. Actually i have to communicate with a ATMELTarget board to its Hyperterminal, So if i see the data pass through the systems hyperterminal it will be the same for Target Board. Thats the reason i have to use Hyperminal program to test my program before i cud actually use it on the target board. ??!!


    Thank You

  5. #5

    Default Re: qextserialport BAUDRATE problem

    Quote Originally Posted by b1 View Post
    I have played with qextserialport a little bit and found that I had to close the serial port then change the baud rate and reopen the serial port again. I also found hyperterminal to be flakey. I used minicom under Linux and Telex under windows when testing my apps.
    I know - this is an old thread, but maybee this helps others.

    Under Linux, I also had to to close the serial port then change the baud rate and reopen the serial port again.

    Under Window - this didn't work. I had to do it the other way arround. First open the port, and than set the baud rate. Strange - but that's how it works for me.

    Frank

Similar Threads

  1. Steps in solving a programming problem?
    By triperzonak in forum General Programming
    Replies: 8
    Last Post: 5th August 2008, 08:47
  2. Problem in QExtserialport program.
    By dheeraj in forum Qt Programming
    Replies: 5
    Last Post: 31st May 2008, 10:24
  3. Replies: 16
    Last Post: 7th March 2006, 15:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.