LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data type errors

I am getting this error when I connect  History Data Property Node to mean:

 

These cannot be wired together because their data types (numeric, string, array, cluster, etc.) do not match. Show the Context Help window to see what data type is required.

The type of the source is 1D array of double [64-bit real (~15 digit precision)]. The type of the sink is double [64-bit real (~15 digit precision)]. "

 


Please help me to resolve this error. Any help will appreciate. Thanks in advance.

0 Kudos
Message 1 of 16
(4,279 Views)
Are you using the PtByPt Mean? The standard Mean function has an array for an input.
0 Kudos
Message 2 of 16
(4,276 Views)

I am using pt by pt mean

0 Kudos
Message 3 of 16
(4,271 Views)
That explains the error then. Why did you pick that function?
0 Kudos
Message 4 of 16
(4,269 Views)

Coz I have taken the values from graph and it takes the mean of all point in graph.

 

Is any way to resolve this error????

 

For your informatiom, I want to take the mean or average of output points that is displaying in graph. Is any way to take the avergae of all output values of graph?????

0 Kudos
Message 5 of 16
(4,251 Views)

@Haris115 wrote:

Coz I have taken the values from graph and it takes the mean of all point in graph.

 

Is any way to resolve this error????

 

For your informatiom, I want to take the mean or average of output points that is displaying in graph. Is any way to take the avergae of all output values of graph?????


Yeah use the Mean.VI instead of Mean ptByPt.vi.  Read the help on these two functions and you'll see one takes an average of a bunch of points, while the other takes one new point at a time to be averaged.

0 Kudos
Message 6 of 16
(4,249 Views)

How to find Mean.VI and used in my program??????

0 Kudos
Message 7 of 16
(4,245 Views)
I told you to use the Mean function in my first answer.

Use the search button on your function palette or use quick drop.
0 Kudos
Message 8 of 16
(4,242 Views)

Thanks dear. 

 

Can you tell me that where to connect the output of Mean.vi to see the mean result??????

0 Kudos
Message 9 of 16
(4,240 Views)

Thanks dear. 

 

Can you tell me that where to connect the output of Mean.vi to see the mean result??????

 

0 Kudos
Message 10 of 16
(4,236 Views)