PostgreSql save according to event

Forum Home Forums Understanding the Software PostgreSql save according to event

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10871
    Ame5577
    Participant

    dear community I recently found your scada and I find it fascinating, I set up the connection to a postgres database according to this manual.

    https://rapidscada.net/doc/content/latest/en/modules/mod-db-export.html

    I want to save data every time a digital_input changes from 0 to 1, for that I configure in the properties of ModBbExport.dll a trigger with “INSERT INTO myTable (myData, myDataDtl) VALUES(@data, @descr);” however I can’t find where I should call or configure that trigger to save when the variable is 1.

    I appreciate your help.

    #10883
    Mikhail
    Moderator

    Hello,
    The SQL request is executed every time when new data comes from Communicator to Server service.

    #10888
    Ame5577
    Participant

    hello, thanks for replying prepare a document with the screenshots with the steps I am following to save data through events the link for the document is this:

    https://www.filemail.com/d/ceuktpkdoyvzzhk

    Thanks for your help.

    #10899
    Mikhail
    Moderator

    Thank you.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.