LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Write OPC Server (CVI)

1) I want to write an OPC server ( and an ActiveX Control ) with CVI. Is it possible ?
2) I want to use a CWGraph with 2 plots. Each plot is directly connected with a data source and the data sources are differents. More the data are not updated in the same time (if I use the updated event). Is it possible not to update the data in the same time or must I synchronize the plot ?
If the X axis is real time, is it possible to automatically update the time when data are plotted ?.

thank's a lot
0 Kudos
Message 1 of 3
(3,452 Views)
1) No, you can't write ActiveX controls in CVI. We also don't have libraries included to write an OPC server. We do include libraries (DataSocket) to run applications as a OPC clients reading from an OPC server.

2) No, strip chars don't have to be synchronized. You can plot to each line individually by calling Chart functions on each Plot object instead of on the whole graph control.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 3
(3,452 Views)
thank you for your help. My last question is the following :

When you use data socket to bind Y data of a plot with a real time chart (x-axis is in date format) how can you provide data to the X axis to be really the actual time ?.
0 Kudos
Message 3 of 3
(3,452 Views)