openPDC with external database

I see, you are trying to archive measurements into SQLite. Firstly, you can certainly do this, but I do not think this is a solution that is going to scale very well - I would certainly consider using a time-series database for this type of task, e.g., the openHistorian. In the case of openHistorian, you can setup an STTP connection to your openPDC and immediately receive all data and have it archived, with trending and graphing tools at your disposal, e.g., Grafana.

However, if you really need to archive data into SQLite (or other database) because it suits your current needs, you can use the built-in AdoOutputAdapter. Note that in order for this to work the database will need a table to hold the measurement results. For detailed information on this, see this post:
https://gridbits.gridprotectionalliance.org/t/openhistorian-historian-data-to-be-saved-into-rdbms-oracle-sql-server-using-adoadapters/565/2

One difference for SQLite is that in addition to a proper ConnectionString (as you posted above), you will also need to set a proper DataProviderString, for a SQLite ADO connection, this data provider string will be as follows:

AssemblyName={System.Data.SQLite, Version=1.0.109.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139}; ConnectionType=System.Data.SQLite.SQLiteConnection; AdapterType=System.Data.SQLite.SQLiteDataAdapter

Hope that helps.

Thanks,
Ritchie