LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
cmteuffel

allow arrays of cluster of datatype for "write datalog"

Status: Declined
Moved to CAR database. CAR#295382

I think there is an design issue with reading and writing datalog files. Since labview can't handle arrays of arrays the "read datalog" vi returns an array of clusters of arrays if the datatype of the datalog is an array and more than one dataset should be returned. That is, a single dataset can be an array and should be handled as such. The counter part vi "write datalog" accepts datasets of the type specified with "open datalog" and arrays of this datatype. But it does not accept arrays of clusters of arrays and labview can't handle arrays of arrays. Hence, the design of the datalog vi's is unbalanced. One can not write the result of "read datalog" back to the file using "write datalog". Surely there are easy ways to work around this flaw but fixing the design would be helpful and is easy to accomplish without breaking existing code.

4 Comments
AristosQueue (NI)
NI Employee (retired)

I talked with a LV manager who long ago, in the days of his youth, implemented the datalog functions. He dug into it a bit and tells me that is a bug. I couldn't find any existing CARs on this. Congratulations, you're the first person to report this issue since... I don't know when those functions were introduced, but it was LV 5.1 or earlier.

G-Money
NI Employee (retired)
Status changed to: Declined
Moved to CAR database. CAR#295382
G-Money
NI Employee (retired)

I have created a corrective action request so that R&D will take a look at this issue. Since this is a bug and not an idea, I will close out this idea. Thanks for bringing to this to our attention though! Its customer feedback like this that helps make LabVIEW better!

cmteuffel
Member

It's nice to see this issue beeing recognized so fast. Is the CAR database open for normal users and if so, where do I find it?