Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

CWGraph plot multi lines with NI DAQ in Visual Basic 6.0

Hi,guys

Now I want to display two or more data lines through CWGraph in Visua Basic 6.0,but I just display one plot successfully.The code as follows:

CWGraph1.plotY(data)

data() is the array for data acquisition from USB 6251.

Pls help to achieve it,thank you very much.

0 Kudos
Message 1 of 2
(6,607 Views)

According to the Help file information on the CWGraph.PlotY method, yData can be a one-dimensional array that updates the first plot on the graph or a two-dimensional array that updates the first n plots on the graph.

0 Kudos
Message 2 of 2
(6,581 Views)