09-03-2021 02:29 PM
Hi, I am looking to be able to compare data and I'm thinking Clusters might be the best approach? But I am more familiar with using Cluster data in stream of data, not being able to pick a specific data to compare.
So for context, I am having one part of LabVIEW code to read in Data from excel file that contains Message Frame name, ID, Cyclic Period, Data Length and a few other things. The second part is to read in CAN data via CAN Log or X-Net, then have it start comparing Read in Data to my Excel loaded data. Where it would start by matching either CAN Frame name or CAN ID, then comparing the rest of the properties to make sure the data matches.
Would clusters be the best way to approach this? Or is there some other method in which I can make something like a buffer type of Database to pick messages to compare? Hopefully this is clear enough.
09-03-2021 06:51 PM
Clusters would work fine. If the clusters are the same type, like a typedef for instance, you can compare them directly.
09-07-2021 09:26 AM
Thank you.
So I've used Producer/Consumer and Master/Slave templates along with Notifiers and Queues. But that was to Stream and Sync data. Is there something I'm missing to be able to pick a cluster from buffer?
For example, if I were to convert data to Clusters. I think I would need to have the excel data in one cluster "buffer" of data, then when the Read In Data from Log or XNet would pick the matching Identity from Excel data to compare the data for that specific piece of Cluster Data.