Hello everyone.

I currently designing software for an Altera based oscilloscope. The data is sent out in binary. I'm using MSCOMM in VB6. I've read every single post here on MSCOMM. I've set MSCOMM mode to binary and tried most samples explained here. But I can't make heads or tails of the data. This is where I'm at:

* The circuit I'm using sends out 512 bytes binary dump. (funny looking Ys if read as a string.

* Length of the dump, as in len(variable) is 4092. Which is 512 times 8.

My problem is this, if I try to decode the binary dump either to Hex, Dec or Ascii VB6 treats each bit as a whole byte. At least that's what I'm thinking. So with each data sample of the scope-board I'm using It takes forever to decode the data and print it to text1.text.

What I'm I doing wrong? Thanks to all of you in advanced. I've solved lots of problems in this forum.