Writing data from Intouch to SQL using Blind list, and using SQLDataGrid to access the Database.

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 24

  • @rogaco09
    @rogaco09 2 роки тому

    The following code works for me (AVEVA InTouch 2020):
    ResultCode=SQLConnect( ConnectionId, "DSN=MixingStation;
    DB=Intouch");
    SQLInsert( ConnectionId, "Report","MaterialData" );
    ResultCode=SQLDisconnect ( ConnectionId );
    PD: ResultCode and ConnectionId I defined like MemoryInteger
    ResultCode
    Integer variable returned from most SQL functions. ResultCode is returned as zero (0) if the function is
    successful and a negative integer if it fails.
    ConnectionID
    Name of a memory integer tag that holds the number (ID) assigned by the SQLConnect() function to each
    database connection.

  • @akashbanaulikar2278
    @akashbanaulikar2278 4 роки тому

    Thanks dude.. This video helped us a lot

  • @spk7054
    @spk7054 6 місяців тому

    I love this video

  • @VinhLe-op2ix
    @VinhLe-op2ix 2 місяці тому

    Hi, How would you retrieve datas from a column in database and display them on a combo box?

  • @MrEdwinAgustinus
    @MrEdwinAgustinus 4 роки тому +1

    Hi, do you have the Licence for this version? I would be thankful for this. Cheers.

  • @wonderware_aveva2129
    @wonderware_aveva2129 3 роки тому

    Hi, If I want to read the data from a particular row in Sql grid. Then what will be the script?

  • @smdautomationcompanylimite
    @smdautomationcompanylimite  5 років тому

    Nếu có câu hỏi nào cá bạn có thể comment phía dưới, hoặc để trong những topic ở trong này mình sẽ cố gang trả lời. facebook.com/groups/426215507822804/

    • @hoahongtim82
      @hoahongtim82 4 роки тому

      hi Bạn, Automation_Book Graphic mình muốn có thì lấy ở đâu vậy bạn? vì phần mềm intouch mình ko thấy có các Graphic này. Lần đầu tiên mình làm dự án Wonderware Intouch này nên gặp khó khăn trong report. Mong bạn hỗ trợ. Thanks.

    • @smdautomationcompanylimite
      @smdautomationcompanylimite  4 роки тому

      Nữ Thư Duyên Nguyễn cái đó thư viện mình tự tạo bạn

  • @spk7054
    @spk7054 6 місяців тому

    perfect

  • @ahmedalyelmeadawy3711
    @ahmedalyelmeadawy3711 3 роки тому

    I have a error message "invalid connection" that means that means the connection Id passed to the function is not valid. Please advise

  • @coolnagarajan6553
    @coolnagarajan6553 2 роки тому

    Hello sir I am trying this same communication but the data was not pushed into SQL server
    The button 'Write to SQL' I write the same action script what you give but it asked me to initialised ReadCode and ConnectionID please support me sir

  • @windas5456
    @windas5456 17 днів тому

    ResultCode=SQLConnect( connectionId, "DSN=...; APP=Microsoft Windows Operationg System. WSID=(local); DATABASE=...; Trusted_Connection=Tes");
    SQLInsert( connectionId, "...","...");
    ResultCode=SQLDisconnect( connectionId );

  • @a777215170
    @a777215170 2 роки тому

    請問,可以借用您的版本 測試?

  • @임경묵-g2o
    @임경묵-g2o 2 роки тому

    Hi, thanks a lot to made this video. Can i ask something about this video? 1st. I want to ask about the data type of "ResultCode", 2nd. What is it the ConnectionID? Is it Computer Name or SQL ID?

    • @narayana_abdillah
      @narayana_abdillah 2 роки тому

      i have a same question

    • @rogaco09
      @rogaco09 2 роки тому

      The following code works for me (AVEVA InTouch 2020):
      ResultCode=SQLConnect( ConnectionId, "DSN=MixingStation;
      DB=Intouch");
      SQLInsert( ConnectionId, "Report","MaterialData" );
      ResultCode=SQLDisconnect ( ConnectionId );
      PD: ResultCode and ConnectionId I defined like MemoryInteger
      Roger, CR

    • @rogaco09
      @rogaco09 2 роки тому

      ResultCode
      Integer variable returned from most SQL functions. ResultCode is returned as zero (0) if the function is
      successful and a negative integer if it fails.
      ConnectionID
      Name of a memory integer tag that holds the number (ID) assigned by the SQLConnect() function to each
      database connection.

  • @ali49k
    @ali49k 2 роки тому

    Bro, how could I achieve this in Aveva System Platform

    • @maurybeck6306
      @maurybeck6306 2 роки тому

      ua-cam.com/video/wx1BK963WnQ/v-deo.html

  • @NgocNguyen-ql3vp
    @NgocNguyen-ql3vp 5 років тому

    Công cụ historian của intouch rất mạnh. với những tag đến hàng trăm hoặc nghìn tag thì như thế này liệu ổn k ạ.

    • @smdautomationcompanylimite
      @smdautomationcompanylimite  5 років тому

      Đúng là rất mạnh nhưng bạn phải trả tiền licence cũng rất mắc. còn việc có bao nhiêu tag thì phần mềm đã hỗ trợ bạn không cần phải lo lắng cho nhà sản xuất phần mềm đâu.