LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

identify the data type in WaveformGraph

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.

0 Kudos
Message 1 of 2
(2,191 Views)

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.

 

 

Type String.png

 

 

EDIT: If you use OpenG, they have a VI called Get TDEnum from Data which will make the job even easier.

Richard






0 Kudos
Message 2 of 2
(2,176 Views)