08-06-2009 09:54 AM
Solved! Go to Solution.
08-06-2009 10:07 AM - edited 08-06-2009 10:15 AM
The cluster does not match the datatype of the input on your vi. Make sure both clusters have the same structure or better yet, use a typedef. Post your code and we can tell you exactly what is wrong.
08-06-2009 10:28 AM
08-06-2009 10:30 AM
Hello,
I would guess, although it is difficult to tell from the picture that you are trying to put a cluster into an input that wants an array of clusters (as the broken wire gets thicker)
08-06-2009 11:28 AM
First, a screen shot is not code. You CANNOT debug an image.
Second, you should open the function you are calling to look at the expected data type. The other way to do it is to right click on the input of the function and select 'Create Constant'. Either method will show that you need a 1D cluster array.
I don't know what you expect to do with the function. You are getting a single point and your XY plot will show only a single point and it might not even be visible so your next question is going to be why doesn't my plot show anything. I also don't know why you are using the picture XY graph as opposed to the regular XY Graph. My guess is that you used the regular graph first and had the same issue of trying to display a single point.
08-06-2009 04:09 PM
08-06-2009 04:43 PM - edited 08-06-2009 04:45 PM
This VI is from the shipping example "Waveform and XY Plots.vi" and you are not using it right. As others have already hinted, you need an array of xy clusters. (Note the autoindexing output tunnel!).
Here's the code from the example.

What are you actually trying to do? Why don't you use a plain xy graph?
08-10-2009 03:27 AM
Firstly that was only the relevant part of the circuit, the actual one is placed in a loop, so multiple points will be plotted, secondly this is the only xy graph I could find, I to got it from the example shown in the comment above and don't understand the difference between mine and theres. Anyways I cant find 'plain xy graph' when I search in the functions pallette??
Cheers
08-10-2009 09:35 AM
XY graph is an indicator that you get from the front panel palettes.
What circuit are you talking about? If you are referring to your LabVIEW code, then that is a block diagram.