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

How do I Make My Binary Data Graph as a Square Wave?

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

Problem:
I am graphing an array of binary numbers on a WaveformGraph using Measurement Studio support for .NET, but the graph always appears as a sawtooth wave.  How do I make the graph appear as a digital waveform?



Solution:
Change the LineStep property of the WaveformPlot by right-clicking on the WaveformGraph and selecting Edit Plots.  Altering the property to XYStep will yield a result that appears as a digital waveform.







Related Links:
Developer Zone Example: Creating a Simple Graph Application with the Measurement Studio WaveformGraph Control in Visual Basic .NET

KnowledgeBase 3LDGNU9F: Creating Stem Plots Using Measurement Studio Graphs
KnowledgeBase 42PFKO5B: Graphing and Charting in Measurement Studio Web Forms Applications

Attachments:





Report Date: 10/17/2007
Last Updated: 11/12/2008
Document ID: 4EGIKP6X

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