LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dat files

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

 

 

0 Kudos
Message 1 of 5
(2,817 Views)

Hi JOENASSAR,

you can read the file byte by byte. See the attached image for an example.

 

Hope it helps.

Mike

0 Kudos
Message 2 of 5
(2,795 Views)

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..

0 Kudos
Message 3 of 5
(2,790 Views)

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

Message 4 of 5
(2,788 Views)

Mike thanks for the reply and you are right... ( i simulate the same..Smiley Happy:)

 

i was always keep delay inside loop and hereafter i will not do the same for serial write..

0 Kudos
Message 5 of 5
(2,779 Views)