NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
J_EPS
Posts: 2
0 Kudos

How Do I Get Yt Chart To Display not Only on y-Axis?

I am importing data from a simple ASCII file w/ no time information (simply displacement values) and I want this to display on a Yt chart. Currently the Chart displays a small dot on the Yaxis- that moves up and down, but will not diplay along the x-axis. How do I fix this so it will display along the whole chart?!

 

I have included a file with this simple part of my program I am having problems with and the file I am trying to import from.

 

Thanks! 

Active Participant
CJ_Butler__DASYLab_Pro
Posts: 746
0 Kudos

Re: How Do I Get Yt Chart To Display not Only on y-Axis?

At 2 samples / second, you shouldn't be using the Y/t Chart. That displays a block of data at a time, and your block size is 1.

 

Use the Chart Recorder, and it will plot all of the data correctly.

 

You can change the sample rate in the Read Data module dialog, if you want to generate data faster than the 2 Hz in this worksheet. 

 

Printscreen0018.jpg

- cj
Member
J_EPS
Posts: 2
0 Kudos

Re: How Do I Get Yt Chart To Display not Only on y-Axis?

Thank you!

 

Does the XY Chart display in Time blocks as well or does that work like the chart recorder?

Active Participant
CJ_Butler__DASYLab_Pro
Posts: 746
0 Kudos

Re: How Do I Get Yt Chart To Display not Only on y-Axis?

The X/Y chart is block based - you define the number of blocks that will be plotted, but each block is plotted as it is received.

 

The Chart Recorder is one of the most flexible displays, allowing data of varying block size and sample rate to be plotted. It is time based, and plots each block as received. It does need at least two points to draw the line.

 

The Y/t Chart and the X/Y chart are less flexible, and are optimized for speed, plotting a full block or blocks as received. The Y/t Chart has some additional features - Fast Recorder and 

 

The Diagram module is time based and plots each block as received.

- cj
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page