05-21-2017 10:12 AM
Hi all,
I need to aggregate some amount of data.
I would like to use standard data structures because I have specific template of data to process. Are there any CVI libraries that already contain these datatypes? For now there is only List in "Programmer's toolbox" library in CVI.
Thanks for the support
Solved! Go to Solution.
05-21-2017 03:29 PM
There's the Utility Library that includes Thread Safe Queues
05-22-2017 12:46 AM
And a bit more simple than that? In my case, I would like to use vector. And I would like to work with it a data container. Because I need to send it out to GPIB. How do you suggest to do that?
05-22-2017 01:40 AM - edited 05-22-2017 01:40 AM
I'm afraid I cannot understand your needs, due to my lack in terminology and GPIB experience.
Could a struct accomplish your needs? What is your device expecting to receive?
Or can you detail your problem a bit more?
05-22-2017 01:50 AM
I need easy manipulation on adding/extracting new data node, I need my data to be sequentially stored in memory and I need an instantaneous API that estimates how much data nodes were stored. Than send it over GPIB from ptr - X and 1024 bytes next to it. Struct is inconvenient way to do it.
05-22-2017 02:19 AM
You could find this StackOverflow discussion useful in this respect.
05-24-2017 12:22 AM
Thanks, I will try to use their suggestions.