09-13-2006 08:02 AM - edited 09-13-2006 08:02 AM
Message Edited by BobChuck on 09-13-2006 09:03 AM
09-13-2006 08:34 AM
A waveform graph cannot accept a cluster of two dbls to plot and certainly won't accept an array of clusters. On the other hand, a waveform chart will. You just have the wrong type of indicator.
When you are programming, make sure you have context help turned on. If you are on the diagram, the context help will display the data types that can be wired to graphs, charts, and xy graphs and can usually be used to explain problems you might be having.
09-13-2006 09:40 AM
I'm sorry, but I have to disagree. To initialize the waveform graph, there is a 1-D array of clusters (of 2 DBLs) wired into it. I've attached the relevant code.
It CAN be done. I know this for a fact. I have code that does it. I would like to know HOW I can reproduce it.
09-13-2006 09:53 AM - edited 09-13-2006 09:53 AM
Message Edited by Dennis Knutson on 09-13-2006 08:58 AM
09-13-2006 10:26 AM - edited 09-13-2006 10:26 AM
Hi Bob,
I have to second Dennis' request for you to post the code.
From the image you posted in looks like you are presenting an array of clusters where each cluster is an X-Y pair of complex ... ?
Not sure.
But if you posted your code we could get you an answer pronto!
So please help us help you by posting some code.
Ben
Message Edited by Ben on 09-13-2006 10:27 AM
09-13-2006 01:02 PM
09-13-2006 01:09 PM - edited 09-13-2006 01:09 PM
@BobChuck wrote:
... I would like to know HOW I can reproduce it.
Dennis is right ... it's an XY Graph.
If you have an XY Graph in LV6.1 and create a reference to it, the reference will say "WaveformGraph"; the property node for it will say "WFGraph" ... but it's still an XY Graph. There were fewer ClassIDs back in 2000/2001. If you open and run attached VI in LV8, I think the class ID will be 82 or 83; in LV6 it's 24.
<edit> I need to learn how to type faster</edit>
Message Edited by Donald on 09-13-2006 02:14 PM
09-13-2006 01:09 PM