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

Changing Display Mode for the Measurement Studio Digital Graph Makes the Data Disappear

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

Problem: I am using the Measurement Studio Digital graph control with Samples as the display mode for the graph. If I change the display mode from Samples to Time at run time, the data on the graph disappears. My X-axis mode is set to Fixed with a range of 0 to 100. Why is this happening?

Solution: When the display mode is changed to Time, the axis displays values in terms of time. Internally, these time values are stored as doubles. If you have a certain start time value set for the graph, this value is the first point of the axis. When the start time is converted to a double value, it becomes larger than 100. Since the axis is set to display values only between 0 and 100, the data is no longer visible.

Set DigitalWaveformGraph.XAxis.Mode to AutoScaleLoose or AutoScaleExact to ensure the X-axis always displays the relevant range when switching between Time and Samples as the display mode.


Related Links:

Attachments:





Report Date: 10/11/2005
Last Updated: 05/07/2006
Document ID: 3QAF515B

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