Code:
for i = 0 to 11
HSERIN2 1000,SYNC,[COM(i)] 'Rx ACK & SYNC pattern (2 x 6 bytes)
next i
This looks like a solution as to get 512 bytes I can just do 'for i=0 to 511'.
Thanks for the info. Just wanted to confirm if the above is a good way to get continues data. I can communicate with the camera up to getting a snapshot. It all works fine up to there.
Now, I am figuring a way to get the 512 bytes of picture data. Has anyone tried the above without any loss of data (as I am thinking the loop may cause a slight delay and data might be lost in that). Just wanted to check if the above method has been tried by someone before.
Bookmarks