Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

waveformgraph increment double-speed

Hi! I've 2 WaveFormGraph, the first one contains just one plot with DefaultIncrement = 1, the second contains 2 plots, each one with DefaultIncrement = 1. Every second, I plot an array of double to each plot. After plotting for a minute, the first waveformgraph shows a correct range from 12:00 to 12:01 but the second waveformgraph shows 12:05. This is the code i use for

 

waveformgraph1.Plots[0].PlotY(array);

 

 

waveformgraph2.Plots[0].PlotY(array); 

waveformgraph2.Plots[1].PlotY(array);

 

 

 

The problem exists also using PlotYAppend, plotting a single value at time and specifying the increment (as attribute of PlotYAppend) too.

Message Edited by karpediemnow on 08-03-2009 09:05 AM
0 Kudos
Message 1 of 4
(3,904 Views)
It seems that time increment depends on how many plots the waveform contains. So, if i use 2 plots and i desire to have 1 second increment on x axis, i must set DefaultIncrement = 0.5 for each plot (generally DefaultIncrement = Increment / NumberOfPlots). It's a so strange behaviour!
0 Kudos
Message 2 of 4
(3,899 Views)

Hi karpediemnow,


I'm trying to reproduce your behaviour and report it to R&D.

 

Could you tell me which is your Development enviroment (CVI I guess) and which version.

 

Thanks so much for your report.

 

M

 

 

Message Edited by matteobr on 08-04-2009 05:16 AM
Matteo Brunella
Application Engineer
NI Italy
0 Kudos
Message 3 of 4
(3,881 Views)
Thank you, i'm using Measurement Studio for .NET C#  8.6
Message Edited by karpediemnow on 08-04-2009 09:57 AM
0 Kudos
Message 4 of 4
(3,872 Views)