キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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 件の賞賛
メッセージ1/5
3,347件の閲覧回数

Hi JOENASSAR,

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

 

Hope it helps.

Mike

0 件の賞賛
メッセージ2/5
3,325件の閲覧回数

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 件の賞賛
メッセージ3/5
3,320件の閲覧回数

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

メッセージ4/5
3,318件の閲覧回数

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

0 件の賞賛
メッセージ5/5
3,309件の閲覧回数