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
已解决! 转到解答。
There's the Utility Library that includes Thread Safe Queues
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?
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?
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.
You could find this StackOverflow discussion useful in this respect.