Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

when I plot a line on the CWGraph using the plotY methodthe 27th plot index is not visible..any idea why ?

I tried the following code.

Dim data(0 To 49) As Variant
Dim i As Variant
For i = 0 To 49
data(i) = 10
Next
CWGraph1.PlotY data
0 Kudos
Message 1 of 3
(3,129 Views)
I created a new VB project, added a graph (Measurement Studio version 6.0) to the form, added a button, double-clicked on the button, and added the code that you posted. The problem did not reproduce for me - I saw a continuous line.

What version of Measurement Studio are you using? Also, you could post a project that reproduces this project? Maybe there are some other properties that are set that are influencing this behavior.

- Elton
0 Kudos
Message 2 of 3
(3,129 Views)
I'm using Measurement studio version 3.0.1

I took the NI samples and tried them.
I modified a line in the plotdata function from
data(i) = Rnd * 10 (to)
data(i) = 10

Im attaching the source files here.
0 Kudos
Message 3 of 3
(3,129 Views)