LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cluster array inserting not working

Solved!
Go to solution

I have a binary file that contains an array of clusters, containing values and a timestamp. I read the file to get my array (It should be empty), then I try to insert my cluster element into the array. 

 

Somehow, the element disappears and the array is left empty.

 

I am still learning LabVIEW so my problem may be obvious, but I do not know it.

 

Thank you for the help.

 

Cimpo_0-1751998061255.png

Here is the program.

 

 

Cimpo_1-1751998128316.png

Cimpo_2-1751998160424.png

 

Cimpo_3-1751998214311.png

 

0 Kudos
Message 1 of 3
(97 Views)
Solution
Accepted by topic author Cimpo

The array is not empty: you use a one-element array as default for read binary file. If you look at the other element of the final array, you will find the inserted value. Use the index in the upper left corner.

Message 2 of 3
(91 Views)

It works, thanks.

0 Kudos
Message 3 of 3
(84 Views)