pawhan11 Posted January 7, 2016 Report Share Posted January 7, 2016 Hello, I need to extract data from Variant Waveform in OpenG there is function Cluster to Array of VData but I can't find any for Waveforms. Anyone done that before? Quote Link to comment
hooovahh Posted January 7, 2016 Report Share Posted January 7, 2016 Uh...variant to data the primitive that turns a variant into the data type you want, if you know the data type, which it sounds like you do. The OpenG stuff is most convenient if you don't know what you data type is. This is most common on APIs that are made to be more generic and detect multiple data types and act on them differently, or for things like message communication APIs when the payload can be anything. Oh and if you have a cluster and want to turn it into an array of variants you can use the variant to data here too, telling it to convert into an array of variants. Post your actual data types so we can help more. EDIT: Maybe something like this? Quote Link to comment
pawhan11 Posted January 7, 2016 Author Report Share Posted January 7, 2016 Thanks but that is not what I meant. I found brutal solution for now: Quote Link to comment
hooovahh Posted January 7, 2016 Report Share Posted January 7, 2016 So maybe a strange question, but what's this conversion do for you? The information is already available in that original variant. All this does it convert it into another data type. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.