01-04-2019 01:04 AM
Dear Forum,
I have multiple binary file that consist of X and Y 1D arrays in a cluster.
I want to separate to its component to analyze more only X array or only Y array.
I attached the binary files.
I have tried using unbundle and unbundle by name, the result is failed.
do you have some suggestion?
Solved! Go to Solution.
01-04-2019 03:26 AM - edited 01-04-2019 03:28 AM
Do you have any existing code that can open the data in these files? Or the code that created these .bin files?
If you can show those details, it would be much easier to help.
I'm currently trying to find the array sizes to read the values, but from "cluster of 2x 1D array" it's a little tricky 😉
Are you sure it's that way, and not a 1D array of clusters of points (i.e. [(X0,Y0), (X1,Y1), ... ] ?)
Edit: It's definitely a 1D array of a cluster of points (should have tried before posting). Will post a second reply with solution in a moment.
01-04-2019 03:34 AM
I don't have that can open the data.
the program to write this binary file is common, i think. but I store in binary files with two 1D array of waveform and I inserted into "build array".
I am sorry, I am beginner in using labview. I really appreciated your help, sir.
01-04-2019 03:34 AM
01-04-2019 03:37 AM
Ok sir, i will try your IV and inform you. thank you
01-04-2019 03:39 AM
Can you show the way that you create the files? Even a screenshot of the Write Binary File node and its inputs would probably be enough.
I'm not exactly sure what you mean with your previous post regarding using Build Array on two 1D arrays of waveforms.
In particular, doing that can produce either a 2D array of waveforms, or a longer array of waveforms.
The waveforms also each contain an array (the Y values).
I suspect that you're probably doing something else, but so far I haven't successfully guessed what 🙂
01-04-2019 03:47 AM
yes, sir. you are correct. I was wrong explaining unintentionally. it was another trial to avoid using cluster.
but, i use express VI to combine two waveform. each waveform is 1D array. so the cluster as i check using context help is cluster of 2 elements.
here i posted how it was saved.
I am sorry for my mistake before