filmov
tv
Record OPC Data to MySQL

Показать описание
Record OPC Data to MySQL using COPC32 ActiveX control.
Dim objConn As New MySqlConnection
Dim objCmd As New MySqlCommand
Dim strConnString, strSQL As String
Dim intNumRows As Integer
strConnString = "Server=localhost;User Id=root; Password=123456; Database=mydb; Pooling=false"
objConn.ConnectionString = strConnString
objConn.Open()
strSQL = "INSERT INTO t1 values (NOW()," & v(0) & "," & v(1) & "," & v(2) & ")"
objCmd = New MySqlCommand(strSQL, objConn)
intNumRows = objCmd.ExecuteScalar()
objConn.Close()
objConn = Nothing
Dim objConn As New MySqlConnection
Dim objCmd As New MySqlCommand
Dim strConnString, strSQL As String
Dim intNumRows As Integer
strConnString = "Server=localhost;User Id=root; Password=123456; Database=mydb; Pooling=false"
objConn.ConnectionString = strConnString
objConn.Open()
strSQL = "INSERT INTO t1 values (NOW()," & v(0) & "," & v(1) & "," & v(2) & ")"
objCmd = New MySqlCommand(strSQL, objConn)
intNumRows = objCmd.ExecuteScalar()
objConn.Close()
objConn = Nothing
Record OPC Data to MySQL
How to send Calculated OPC Data to MS SQL? (KEPServerEX & OPC Router)
OPC UA 2 SQL
OPC Data Logging (ICONICS) to Microsoft SQL Server
COPC32: OPC Data Logging
How to Log to SQL Server with the OPC Data Logger
OPC Data Logger: Logging Data To a CSV File
Case Study-Tunneling OPC Data to SQL Server
OPC Data Logger: Starting and Stopping Continuous Logging
OPC ODBC read from database
Arduino OPC Server to MySQL Database with VB.NET
017 | How to Download & Install MySQL ODBC Connector to Log Data from KEPServerEX to MySQL Datab...
Getting Started - OPC Data Logger
Archive OPC data in SQL Server - SQL Server Management Studio
OPC UA to SQL Server
Datenaustausch zwischen OPC-Clients über den OPC Data Exchange Server
Node RED, MODBUS, OPC UA, Google MySQL Cloud database
OPC Data Logger by Excel
Connect Matrikon OPC Client ODBC to SQL server with random simulation data.
DataHub OPC Logger
How to do bulk insert in SQL - CSV file to Table #shorts #sql #sqlqueries #coding #sqlserver
002 | OPC-DA Data Logger in Python | SQLite + CSV Data Logging Support |
Archive OPC data in Microsoft SQL Server
Creating MSQL Database and Table Link to OPC Kepware
Комментарии