LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC toolkit and OPC server

Can I datalogging data from OPC server directly to SQL without "datasocket", and how, example maybe?

 

Thanks

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 1 of 3
(2,607 Views)

Depends on the OPC Server. Some servers, like KEPServerEX can have a Data Logging module added to them that allows the user to log data to a database directly from the server. In most cases however the data has to be read by an external client application and then logged from that application.

Fred Loveless
Kepware Technologies
http://www.kepware.com
0 Kudos
Message 2 of 3
(2,590 Views)

Dear hlod,

Can you provide me more information about your application, and why it is'nt possible for you to use DataSockets?

If you want to use OPC servers for connecting to PLCs, I can recommend the followings:

 

Here is a great tutorial, how to work with OPC Server to connect to PLCs: 

Connect LabVIEW to Any PLC Using OPC http://zone.ni.com/devzone/cda/tut/p/id/7450 

After the tutorial you're able to communicate with PLCs through NI OPC server, using I/O Server instead of DataSockets.

 

Datalogging into Databases are also made easy with LabVIEW DSC Module. Look at the following tutorial:

Data logging Options Using the LabVIEW DSC Module http://zone.ni.com/devzone/cda/tut/p/id/12525

 

For more specific solutions, feel free to browse either the LabVIEW DSC Module Help from LabVIEW, or Online: http://zone.ni.com/reference/en-XX/help/371618G-01/

 

If you have different, more custom application, which I can help you with, please post on forum some more specification of your task you want to do.

Best Regards,

Tamas Szekely

Applications Engineer

National Instruments

 


 

 

0 Kudos
Message 3 of 3
(2,558 Views)