01-11-2010 09:26 AM
Hello,
I want to fill a waveform graph wit multiple waveforms programatically. It means, the graph is in the main vi, and I use in another vi the reference of the graph. First I have to resolve the correct reference of the Waveform graph, then I use the "Value" property node. The value must be variant, that should be no problem. But the property node works only with 1D array, and not with 2D.
How can I fill it with 2D array programatically? I use LabView 8.6, see attached sample.
Mitulatbati
Solved! Go to Solution.
01-11-2010 09:42 AM
01-11-2010 09:44 AM
01-12-2010 01:05 AM
Thanks for the answers.
@David_78: doesn´t matter, which reference will be connected to the property node. It doesn´t work with both. The original version has only the reference of the waveform graph, not the generic one. Both should work, because both has "Value" property.
@smercurio_fc: the problem is, that the attached VI is not a subVI of the main VI, which has the waveform graph. So I can´t pass a reference to it. I´m building a .dll, which has a main window with - among other things - this waveform graph. All the other display elements on this window will be manipulated via resolved references, everything works fine except the waveform graph. The way how I get the control reference for the other controls, is the same always - and works fine.
Any idea would help
01-12-2010 04:45 AM
Hi mitulabati,
You must specify the Data type you will be feeding to your graph, the default type is a 1D Array.
To do this, connect an empty 2D Array directly to the graph, this will change the input settings for your waveform and now the Property node will accept this new data type.
Hope this helps
01-12-2010 05:24 AM