> Here i want to add something. If i connect a integer to float terminal > LabVIEW allocates the memory twice a times unless if i do a proper > conversion. As per your s/n it should not allocate a memory for array > conversion too. Pls Let me know if it is wrong.
Assuming you are asking, the answer is that it depends on the node, but built-in objects will typically generate code that doesn't take extra code for a single integer and float being mixed together. As I mentioned, arrays are different. There aren't instructions to deal with an array at a time, and it normally takes another buffer. A coercion dot generates the same code as an equivalent conversion block. The real time they are useful is to do conversions at a different point in the diagram. For example, if you are producing integers in a loop, building an arry, then later the array gets converted into an array of double, using either conversion or coercion dots, it will use memory for the array of ints, array of doubles, and some small storage for the scalars in the loop. If you instead do the conversion inside the loop, the integer array never gets made, and the total storage is for one array of double, and then an additional scalar inside the loop. Greg McKaskle
