Thanks guys, but that didn't do it. I actually started out that way and then split it up to see if it would change anything. Could you explain why you thought that would work? Maybe your theory would still hold if applied another way...


FWIW, here's the VB code that sends the data:

Code:
            dOutput(0) = 4 'put it into the array
            MSComm1.Output = dOutput 'and send it
            Sleep(10) 'wait 10 ms
            dOutput(0) = 2 'put it into the array
            MSComm1.Output = dOutput
I've changed the pause time between sends as well as the value and order that the numbers (currently 4 and 2) are sent in. Still the same thing on the PIC end. The second value is always doubled.

Still stumped...

-Jeff