Results 1 to 2 of 2

Thread: Online Error Tracking by using MSComm control...HOW???

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2000
    Location
    Malaysia
    Posts
    12

    Lightbulb

    Hello! I am currently a student, and i am now doing my Industrial Training. I need to write a Error Tracking Application/System by using Visual Basic. This application should be able to keep track of 4 machines inside production line, whereas the work station at another place(lab). The 4 machines will transmit their on-line error message to work station and my application will receieve this error message and store it respectively.
    My question is: Is it possible to use MSComm control in VB so that the Comm Port able to communicate with those machines? If it is possible then how to make it?
    By the way, do u guys know what is RS232? Can it related with this case? Hope u guys can help me, it would be grateful to get come comment from you and thanks a lot!!!!!
    Regards, Jesse

  2. #2
    New Member
    Join Date
    Jul 2000
    Location
    UK Essex
    Posts
    12

    Wink MsComm Control

    Yea you can communicate with the machines, I have done a similar thing at work.

    Add the mscomm control to your components.

    Depending on the settings that the machine uses you will need to set the properties on the Comm Control. Eg Baud Rate, parity etc.

    A good way to test it is to get a com lead and loop from one com port to another on your pc, then send sample strings from one to you application on the other.


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