DB export

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #14704
    quintelosky
    Participant

    Hi everybody

    I’m doing some test with dbexport module. I can export current data but I don’t know event query works.

    I want execute a dbexport query via script, forcing an event (I have a function that change tag status)

    How can I execute a query dbexport associated only a one tag?

    https://ibb.co/02mb4N3

    When I execute the function, I receive in log file: Unknown exporter command

    Many thanks

    #14713
    Mikhail
    Moderator

    Hi,
    If I understand the question correctly, you need to execute a SQL query on a command. First, try sending a command manually by a user. Note that SetData() function does not send a command. To send commands according to conditions, use Automatic Control Module.

    #14714
    Mikhail
    Moderator

    Don’t forget to check variables available in a SQL request.

    #14716
    quintelosky
    Participant

    Hi

    Not exactly.

    I only need: when I press a button, launch a sql for a determinate cnl written values from other channel.

    With that works for me:
    https://ibb.co/4YKJ94J

    I don’t know if exists other method to do the same

    Many thanks

    #14720
    Mikhail
    Moderator

    Hi,
    The screenshot is correct. You can set device and object fields to empty. Channel number is enough.

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