02-10-2010 07:45 AM
Hi,
In my application, I have to send a number of variables from a cRIO to my host.
The values are all integers.
What is the difference in performance between these two approaches:
Using a lot of scalar integer shared variables
Using a shared variable that holds an array and send all my values through this array.
I have not found any information which one is the better solution.
Thank you.
Christian
02-11-2010 09:47 AM
Hi Christian,
you can go both ways without a big difference in performance. I would personally prefer an array because you have one variable that you can work with which makes the diagram more readable.
There is a benchmark in this article that shows memory usage with different data types. They are all about the same.
I suppose that the variations in speed will be similar to that.
Hope this helps,
David
02-18-2010 05:15 AM
Hi,
thx a lot, this is important information, so I have to check other parts of my VI that may produce performance issues 🙂
Christian