11-18-2011 08:13 AM
Can I identify the datatype of WaveformGraph?
ClassName property showed the same name.
WaveformGraph can accept waveform and two dimensional numberic array.
I want to distinguish the data type of WaveformGraph then write different codes.
labmaster.
11-18-2011 10:19 AM - edited 11-18-2011 10:26 AM
You need info on the wire going to the Graph terminal, not the Graph itself.
Test the wire's type string with Variant to Flattened String from the Variant palette. Look up Help for Type Descriptors for more info, but the skinny of what you need is shown below.
EDIT: If you use OpenG, they have a VI called Get TDEnum from Data which will make the job even easier.