Results 1 to 8 of 8

Thread: serial communication question (resolve)

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2004
    Location
    San Isidro
    Posts
    326

    Unhappy serial communication question (resolve)

    hello gurus vb expert

    is it possible to display the result im sending
    in serial port communication even if my PC is not connected
    to the hardware im sending into?


    Help! i want to test my code if im sending the right info but the equipment that i want to test havent arrived yet and i have a deadline.
    Last edited by VBcielle; Dec 2nd, 2004 at 12:20 AM.

  2. #2
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457
    Link pins 2 and 3 on your serial port and what comes back into your receive buffer is exactly what you sent. Print it using debug.print.
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2004
    Location
    San Isidro
    Posts
    326
    thanks for the quick reply David

    can u explain it further im a little bit slow here...

    what do u mean by link 2 and 3 on my serial port?
    How do i do that? please reply

  4. #4
    Still learning kebo's Avatar
    Join Date
    Apr 2004
    Location
    Gardnerville,nv
    Posts
    3,762
    I think David is refering to a quick and dirty null modem. Look here
    kevin
    Process control doesn't give you good quality, it gives you consistent quality.
    Good quality comes from consistently doing the right things.

    Vague general questions have vague general answers.
    A $100 donation is required for me to help you if you PM me asking for help. Instructions for donating to one of our local charities will be provided.

    ______________________________
    Last edited by kebo : Now. Reason: superfluous typo's

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2004
    Location
    San Isidro
    Posts
    326
    hi kevin thanks for the reply



    okie i hope i understand it right...

    i have to connect 2 pins 2 and 3 like the picture attached


    can i use wires to connect this pin?
    Last edited by VBcielle; Dec 1st, 2004 at 10:21 PM.

  6. #6

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2004
    Location
    San Isidro
    Posts
    326

    serial communication question (resolve)

    here is the attached file

    Hope anyone could help!!
    Attached Images Attached Images  
    Last edited by VBcielle; Dec 2nd, 2004 at 12:17 AM.

  7. #7
    Frenzied Member David.Poundall's Avatar
    Join Date
    Sep 2002
    Location
    Robin Hood Land
    Posts
    1,457
    Yes, as you are using a 25 way serial port though you should be able to poke a wire into pins 2 and 3 to make the link. If you were using a 9 way serial port, you would have to try linking two pins - not good. You would need to get a female "D" connector and make the link on that.
    David

    Learn the Rules so that you know how to break them properly.

    Printing dll dBTools MZTools Winsock API WinsockVB More Winsock SGrid2 MSChart Mail2Web

    If you have found this thread useful then read this

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 2004
    Location
    San Isidro
    Posts
    326
    okie thanks David ill try to do that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width