09-14-2006 07:39 AM
09-14-2006 08:32 AM
@BobChuck wrote:
I know this can be done on a waveform graph, using NaN, but I've tried using NaN with a XY-Graph and it doesn't work. How can I accomplish this?
09-14-2006 08:57 AM - edited 09-14-2006 08:57 AM
Nice one Donald I like that (also to the original author too )
I was building this alternative
while Donald posted.
The Alarm (x,y) need to be plotted as points
David
Message Edited by David Crawford on 09-14-2006 02:57 PM
Message Edited by David Crawford on 09-14-2006 02:58 PM
09-14-2006 03:03 PM
09-15-2006 11:17 AM
BobChuck wrote:... I need to feed the XY Graph an array, not a cluster. I don't think that I can convert the (very large) program to handle a cluster, and I haven't even been able to test the main program to make sure it works because the graph is generated in a SubVI but displayed by the main (which wants an array).
BobChuck,
Depending on the complexity of the program YMMV, but to convert your graph array (i.e. single plot … array of clusters of X and Y) to a multiplot graph (array of clusters of array of clusters of X and Y ... I think I got that right), you'd just need to insert Build Cluster Array functions where needed.
You'd also have to replace the strict control refnum on your existing subVI (which is typed as a single-plot) with one typed as a multiplot. If you need more background on control references (strict vs. weak, etc.) there's an good old overview here.
Revised demo attached.