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.
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/
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.
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
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?
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
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.
Đú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.
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.
Its not worked on me
Thanks dude.. This video helped us a lot
I love this video
Hi, How would you retrieve datas from a column in database and display them on a combo box?
Hi, do you have the Licence for this version? I would be thankful for this. Cheers.
Hi, If I want to read the data from a particular row in Sql grid. Then what will be the script?
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/
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.
Nữ Thư Duyên Nguyễn cái đó thư viện mình tự tạo bạn
perfect
I have a error message "invalid connection" that means that means the connection Id passed to the function is not valid. Please advise
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
ResultCode=SQLConnect( connectionId, "DSN=...; APP=Microsoft Windows Operationg System. WSID=(local); DATABASE=...; Trusted_Connection=Tes");
SQLInsert( connectionId, "...","...");
ResultCode=SQLDisconnect( connectionId );
請問,可以借用您的版本 測試?
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?
i have a same question
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
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.
Bro, how could I achieve this in Aveva System Platform
ua-cam.com/video/wx1BK963WnQ/v-deo.html
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 ạ.
Đú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.