LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DATA TYPE MISMATCH

I HAVE TO PLOT THE PEAKS OF THE GRAPH ACQUIRED FROM DAQ. BUT THE OUTPUT PEAK DETECTION VI IS OF CLUSTER TYPE AND THE ACQUIRED DATA IS OF DYNAMIC. NOW HOW TO PLOT THE BOTH ON THE SAME DISPLY WINDOW?
0 Kudos
Message 1 of 8
(3,179 Views)

PLEASE DON'T YELL!  Turn off your Caps Lock.

 

What do you mean by "cluster type"?  A waveform datatype?

 

In the Express palette under Signal Manipulation, there are two Express VI's to convert to or from the dynamic datatype from/to scalars, arrays, waveforms, or waveform arrays.

0 Kudos
Message 2 of 8
(3,177 Views)
waveform peak detection vi offers "1-D array" output at the location output port. How it can be matched with dynamic data type?
0 Kudos
Message 3 of 8
(3,161 Views)

Those are arrays of the amplitudes and locations of the peaks.  So those arrays really don't have the same meaning as a waveform array or dynamic data type.

 

How do you want that information to appear on a graph?  Please post the VI you have so far, and perhaps a sketch of how you want the data to appear on the graph.

0 Kudos
Message 4 of 8
(3,137 Views)
I want to mark the time values of these peaks on the graph.
0 Kudos
Message 5 of 8
(3,111 Views)
Search the forums.  I know there have been threads discussing putting annotations on graphs.
0 Kudos
Message 6 of 8
(3,096 Views)
there are too many. but My problem is till not solved. it is an dynamic data. whenever i am converting it to get an array my time collums is getting changed. :smileyindifferent:   the stime was from 0 to 100 with data at each 0.01 sec, but the plotted graph has time axis 0-100...
0 Kudos
Message 7 of 8
(3,023 Views)

sukhiray wrote:
there are too many. but My problem is till not solved. it is an dynamic data. whenever i am converting it to get an array my time collums is getting changed. the stime was from 0 to 100 with data at each 0.01 sec, but the plotted graph has time axis 0-10000 or somthing like that.

A plain array does not have information about the x-values. So when you graph an array, you need to set the offset an multiplier for the x-axis, either manually or via a property node. If you don't it will assume x0=0, dx=1, basically using the array index as X.

Message Edited by altenbach on 04-27-2009 12:01 AM
Message 8 of 8
(3,018 Views)