Sorry Steve, that didn't work.
I presume with this code it is looking for 0,1 or to be the qualifier?
If so, how do i get it to look for red, green or blue as the qualifier.
Thats what i would like it to perform as a test example. ie if VB sends out Red, it then goes to the Sub1 routine and then captures the follwoing eight bytes.
If Blue is sent as the qualifier, then it jumps to Sub2 and just sends out a text string.
Any ideas?
I've messed with the code i have so far and with your modified example as above, but no joy.
This is driving me round the twist, been working on this piece of code for about a week now.
Many thanks again,
Steve




Bookmarks