Forum Replies Created
-
AuthorPosts
-
EltonParticipant
I’ve already used ModDBExport module,but the data is not imported into the database(postgresql) . Before that, I had been configured as a document .
DROP TABLE IF EXISTS cnldata;— Create channel data table
CREATE TABLE cnldata (
datetime timestamp NOT NULL,
cnlnum integer NOT NULL,
val double precision NOT NULL,
stat integer NOT NULL,
PRIMARY KEY (datetime, cnlnum)
);CREATE INDEX ON cnldata (cnlnum);
The above runs at postgres ,and The insert statement runs in current data in the ModDBExport attribute
EltonParticipantHow do I set the data to be received by the Scada-Server ?
EltonParticipantok,I see what you mean.
Thank youEltonParticipantHow to bound the same communication line ?
EltonParticipant1.Generate a file that name is KpPost.dll .The file depends on a Npgsql.dll
2.Use the SetCurData method to set the current value.
3.KpTestView class inherits the KpView class and then creat input channels.EltonParticipant1.Generate a file that name is KpPost.dll .The file depends on a Npgsql.dll
2.Use the SetCurData method to set the current value.
3.KpTestView class inherits the KpView class and then creat input channels.EltonParticipantThey were really in spam! Thank you sir.
EltonParticipantI want export to postgresql database by using ModDbExport module,and it is success.
But the data is constantly exported to postgresql database .so I want to be able to control the export period,or other methods avoid continuous export. I’m not sure if I have a clear description . -
AuthorPosts