07-14-2006 03:24 PM
07-15-2006 01:46 PM
Type casting is not conversion. It takes the data that you have and simply reads is as the new data type. If the representations match, then the new data will be readable. Otherwise, it won't.
In general, I would recommend avoiding doing this automatically, because the data representation might change or because you could mess it up (what would happen, for instance, if you changed the order of the channels?). Instead, since you have named channels, I would advise using a VI which will do a bundle by name. If you need to reuse the code, delegate that functionality to a specific subVI which you will be able to replace.
If you do want to do this automatically, I would try looking at Kevin's method here, but I don't think it would work with named clusters. You could try reading the data structures white paper, but that would not help you if NI decides to change the data structures.
07-15-2006 02:35 PM - edited 07-15-2006 02:35 PM
Message Edited by tbd on 07-15-2006 02:37 PM
07-17-2006 10:05 AM - edited 07-17-2006 10:05 AM
Message Edited by Jarrod S. on 07-17-2006 10:06 AM