LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Binary Saving and Binary to Ascii Conversion

Hi guys,

 

I performed a search on this question, got some similar old posts but I am still unsure on how to do this...

 

I am saving data in a .txt file containing a timestamp followed by an array every 40 ms or so.. I have attached an excel screenshot showing the way data is saved. The problem is that saving data in string format is relatively slow and this results in getting some "finished lates" occasionally. I tried saving directly into binary and the improvement was considerable. The problem is that I dont know if the way I am saving my timestamp is OK in order to post-convert it into ascii AND also that I dont know how to actually convert the bin data into ascii..

 

I have attached screenshots of my original vi saving into ascii format and my attempt to make it save into binary.

 

Please let me know if a) the way I am saving into binary is OK (escpecially the timestamp) and b) how to read and convert it later so that I can make it look like the format shown in the excel screenshot...

 

Thanks very much for your time,

Harry 

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

hi charmand79,

  Please look at this attachment..Just used the read binary file vi with type as cluster..

 

 

Thanks and regards,

srikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 2 of 2
(2,764 Views)