Results 1 to 3 of 3

Thread: Fastest speed through Serial port?(RESOLVED)

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2002
    Posts
    142

    Fastest speed through Serial port?(RESOLVED)

    Dear .NETers,
    I have a project where I am trying to read in binary packets from the serial port. These packets are sent from a PIC controller. This 16 byte packet is sent at 250 hz even at 57600 baud with a 1.2 milisecond pause between packets. Has anyone been able to receive data this quickly using VB.net? If so, do you have any code examples I can look at. I know that vb was considered very slow but machine are much faster now and we now have VB.net.

    I basically want to read these binary packets into a database and also be able to display them on a stripchart.

    Thanks in advance,
    Bebandit
    Last edited by bebandit; Sep 25th, 2003 at 10:25 AM.

  2. #2
    Lively Member
    Join Date
    Jul 2003
    Location
    Kuala Lumpur (Malaysia)
    Posts
    92

    Smile

    Hi,

    To communicate with the Serial Communication Port without using back the MsComm then you have to use the P/Invoke method to develope the base class event.

    Please refer to the link below for the source code and the article, but it is in Visual C#.Net.

    http://msdn.microsoft.com/msdnmag/is...m/default.aspx

  3. #3
    Addicted Member parminder's Avatar
    Join Date
    Apr 2003
    Location
    India
    Posts
    168
    in microsoft download centre, there is 101vbnetsamples.zip file, having 101 vb.net samples. one sample is based on COM port

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