Forum Replies Created
-
AuthorPosts
-
Elton
ParticipantI’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
Elton
ParticipantHow do I set the data to be received by the Scada-Server ?
Elton
Participantok,I see what you mean.
Thank youElton
ParticipantHow to bound the same communication line ?
Elton
Participant1.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.Elton
Participant1.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.Elton
ParticipantThey were really in spam! Thank you sir.
Elton
ParticipantI 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