Yup, that worked very well. I'm trying to figure out the methods of sending and receiveing data on 2 languages, PIC and VB.
I managed to get the combining of the timings and it now it reads and outputs very well. Thank you Steve.
I've been reading about qualifiers, but can only see the WAIT command, where as i'm using an interupt, this isn't really what i want.
I want to look for a command sent from VB to signal what routine to jump too. For example in the interupt if the word TIMINGS is received then it reads and stores the subsequent timing variables. But if the word FLAGS is received then it stores the flag variables etc etc.
In VB i would output something like
Code:
MSComm1.Output = "Time" & Format(Hours, "00") & Format(Minutes, "00") & Format(Seconds, "00") & Format(SuSeconds, "00")
Is this possible?
As at the moment it will just deal with the 8 numbers it receives, i want it to be more choosy depending what VB sends accross.
Many thanks,
Steve
Bookmarks