Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

chart

Hi,

I am triying display multiple chanel using four waveform chart. I set update mode of the chart on sweep chart.
When I run my VI, I see vertical red line as indicator old and new signal, but the vertical red line is thin. I also get in the wave chart that Y-axis alwasy move in right or left direction when the value of Y scale is change. For example, I set scale of Y axis is in auto scale. at the first time  the value of Y scale is one digit, and than when the input signal become small value, the Y scale change automatically in two digit for precision, and than the Y-axis move to righ direction.

First question :
How I can set the red line more thick?

Second question :
How I can set the Y-axis keep in one position on the left side of wave chart although the value of digit of Y-axis is changed?

Thank you.

Best regard









0 Kudos
Message 1 of 6
(3,454 Views)
 

Hi Maris,

 

 

Yes, you can customize those attributes of your graph. The best place to get Help on how to do that is the LabVIEW Help; from there you can look at Configuring the X- and Y-Axes on a Graph or Chart and refer to AutoScale X or Y in order set the Y axis fixed in a determined range. Also in order to modify the line width, refer to the section Using the Plot Legend to Customize the Plot Appearance in this LabVIEW Help document: Customizing Graphs and Charts. I hope this is helpful,

 

Ana P
National Instruments
Applications Engineer
0 Kudos
Message 2 of 6
(3,420 Views)
Hi Ana,

Thank you very much for your response.
But I mean is not for setting the Y axis fixed in a determinan range. I mean is to set Y axis fixed in front panel (not move both right or left direction) although digit of scale is change.

I will illustration in this graph below :

Let's see in Y axis, Y axis use two digit number, for example Y axis is set in auto scale. When the input signal become small, the digit of Y axis will increase become 3 or 4 digit, and Y axis will move to right, and also if the input signal become bigger, the Y axis move to left. How to set the Y axis fixed in one point in the front panel, would you please, expalain to me?

The second question :

I set the chart updates to display new data, and use sweep chart.


Sweep Chart—Works similarly to a scope chart except it shows the old data on the right and the new data on the left separated by a vertical line. LabVIEW does not erase the plot in a sweep chart when the plot reaches the right border of the plotting area.

In the display, there are a vertical line to separate the old data and the new data. How I can set the vertical line more thick (for example to become 0.5 cm)? Would you please explaine to me?

I have done your suggestion to read the LabView Help, but until now I don't find it
.
Could you help me solve my problem?

Thank you very much.

Best regard

Maris

0 Kudos
Message 3 of 6
(3,384 Views)
Right click on the chart and select Advanced and unselect 'Auto Adjust Scales'. See if that doesn't fix your problem of the window moving. Right click on the axis and select formatting and pick a fixed resolution (i.e. turn off Automatic Formatting).
 
I don't know of any way to change the vertical line.
0 Kudos
Message 4 of 6
(3,368 Views)
Hi Dennis,

Thank you very much for your explaine.
Now, the Y-axis can be set fix at certain location, in front panel.

If the vertical line is not possibel to be set, Is it possible making a gap (about 1 cm) to clear separate between new and old signal?

Thank you.

Best regard
0 Kudos
Message 5 of 6
(3,336 Views)
Not that I know of.
0 Kudos
Message 6 of 6
(3,331 Views)