LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

continuous binary save then convert to spreadsheet

Solved!
Go to solution

Hello,

 

I'm trying to continuously save time stamps to a binary file on every iteration of a while loop, and then when the code is stopped I would like that file to be converter to a csv file.  I'm having trouble implementing this, could someone point out where I'm going wrong, thanks!TimeToBinary.JPG 

0 Kudos
Message 1 of 4
(2,531 Views)

Your index/replace isn't working because your array is empty.

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 4
(2,524 Views)
Solution
Accepted by topic author Fibo

Check out:  How can I write and read binary files

 

"prepend array or string size" needs to be = TRUE on the binary write. 

 

I'm not sure why you want to save as a single element 2D array.  Attached is a simplified version.

 

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 3 of 4
(2,519 Views)

awesome, that worked.... I was just doing the 2D array thing cause I'm going to have some more data once I get pass this step.

0 Kudos
Message 4 of 4
(2,507 Views)