From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

varient data type

I want to read a waveform graph data from another vi.  But output is varient type and for changing it into the right type of waveform gragh, when I connect the output of "varient to data" function to a waveform gragh and it's local variable to type input, it generates an error that "he data type of the variant is not compatible with the data type wired to the type input." Does anyone help me in this problem?
0 Kudos
Message 1 of 3
(2,473 Views)

Here is the code,

 

....is there any idea?

0 Kudos
Message 2 of 3
(2,465 Views)

Hi Maryam

Since you already know that the varient should be converted to waveform, wire waveform constant to the "varient to data" directly and read your waveform.

Try the attached VI

good luck

Tareq

0 Kudos
Message 3 of 3
(2,462 Views)