Hi,

Oh, I also thought you did ADC sampling since you asked about measurment speed but OK.

I must be blind but I can't for the life of me see where in the code you're actually sending anything from the PIC to the PC.
Are you using the USART or are you using USB or am I completely missunderstanding this.

Anyway, if the PIC is executing the exact same code when you view the data "real time" as it does when you "record" it then there can't really be any problem with the PIC code or the link to the PC. The problem in that case must be with the VB code.

Why not flip an output each time the PIC processes a message and measure the frequency of that of that output. Then you'll see how many messages per second the PIC is actually processing.

/Henrik.