Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Measurement Studio Waveform Graph Not Plotting Data When Bound to Certain Data Sources

Primary Software: Measurement Studio>>.NET Support
Primary Software Version: 8.1.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I have created a variable that is of data type Array of Double Waveform. When I bind a Measurement Studio waveform graph to this variable, the graph doesn't show anything. However, when I bind my waveform graph to an Array of Double data type, the graph displays correctly. What's going on and how can I get my graph to display the correct data?

Solution:
When binding a waveform graph to a data source, you need to specify the appropriate plotting method for the waveform graph to use. The plot method that is called when a waveform graph is bound to a data source comes from the WaveformGraph.BindingMethod property. The default value is PlotY.


Since the default value for the BindingMethod property is PlotY, then plotting an array of doubles works correctly since you don't have to change the plot mode. However, for example, in NI LabVIEW, you can create a shared variable of data type Array of Double Waveform. If you try to bind this variable to a waveform graph, you need to set the BindingMethod property to PlotWaveforms.

Related Links:

Attachments:


BindingMethod.jpg


Report Date: 05/07/2007
Last Updated: 06/12/2007
Document ID: 48PE79UU

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit