LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I plot Data in StripChart using ActiveX in LW/CVI

I have a DAQ with multichannel, I use an external synchronisation and I like to display my Data in RT using CWGraphChart. When I use PlotChartXY I can only plot the width my graph and then it stop (no stripchart possible!!!). But when I make the same with PlotChartY without my external synchronisation, the STRIPCHART works but I have a problem with synchronisation�I hope you understand what I mean. If somebody can help me or send me an example using stripchart with ActiveX, I will be very thank.
Alex
0 Kudos
Message 1 of 5
(4,204 Views)
Hello

Instead of using the activex control, you should use the native CVI strip chart. You can use the PlotStripChart() function to plot multiple traces. Check out the CVI samples under ..\CVI\Samples\userint\stripchart.prj to see how the function works. It should be alot faster and simpler to use than the activex control.

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 5
(4,204 Views)
Hallo Bilal,
You are right about PlotStripChart but I have to plot multiple traces with different scales. And I like to choose the scaling for every plot. and this is not possible with CVI. With CVI, I can define at most 2 Axis. That's why I use ActiveX. Please send me more information about ActiveX if you have.

Thanks!
Alex
0 Kudos
Message 3 of 5
(4,204 Views)
Here is the documentation for the cwgraph control, I hope this helps you out. This should help you with understanding the properties and methods of the controls. The help is targetted for VB so you would need to interpolate it for CVI.

I hope this helps

Bilal
Bilal Durrani
NI
0 Kudos
Message 4 of 5
(4,204 Views)
Thank you, I have already this file. it's delivered with NI Mesurement Studio...
And the problem that this help is for VB and I need a lot of time to interpolate. That's why I'm looking for examples. For example, how can I intepolate .
when I want to change my plotcolor, I read the color value with CVI-Numeric-Color and I write cwplotLinecolor(hdl,null,color)> I haven't got the right color. That means it's not enough to interpolate the VB Help.
You understand probably what I mean and you can finally help me...
Alex
0 Kudos
Message 5 of 5
(4,204 Views)