03-14-2006 07:04 AM
03-17-2006 01:40 AM
03-17-2006 04:27 AM
Your vi opens the link to usb and the file
then you start reading the data and write this to the file without checking for an error in the read.
You can also display the dat i the for loop in a second array so you see what happens realtime
and you can do it slower.
Does your device always send 512 bytes?
why do you typecast the string to u16? what are you expecting to receive?
A lot of questions but maybe you find the answer yourself now, without hardware and .sys file I cannot directly help you