01-12-2011 01:00 PM
Hello,
How can I programm my file.vi in order to read each byte of a file (.dat) ,about 80Mbyte, and then take each byte out through the serial USB port. Thanks
01-13-2011 12:45 AM
Hi JOENASSAR,
you can read the file byte by byte. See the attached image for an example.
Hope it helps.
Mike
01-13-2011 12:58 AM
Hi Mike,
Not adding delay inside FOR loop will not be problem or is it required only for while loop??
pls bear with my question..
01-13-2011 01:01 AM
Hi G K,
no it's not only for while loop, but i think in this case the write function will break the process to also give the processor time for other tasks.
Mike
01-13-2011 02:47 AM - edited 01-13-2011 02:51 AM
Mike thanks for the reply and you are right... ( i simulate the same..:)
i was always keep delay inside loop and hereafter i will not do the same for serial write..