LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cluster to file

Dear all,

i am trying to save a cluster in a Binary file.

when i save the single cluster to file, both, write and read operations work fine. But, when i make an array of same cluster, the program writes it properly to file, but gives a NULL output when read.

 

i am attaching my program here. Pls have a look at it and tell me where's the problem.

 

Thanks,

Ritesh 

0 Kudos
Message 1 of 3
(6,678 Views)

Hi Ritesh,

 

I would recommend you use the datalog functions to write an array of clusters in binary format. I am not able to find any examples, but you can replace the functions in your file with the corresponding datalog functions. Try it out and let us know if you have any questions.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Message 2 of 3
(6,667 Views)

Hi Ritesh,

see the attachment.

 

Mike

Message 3 of 3
(6,656 Views)