Forum Replies Created
-
AuthorPosts
-
manjey73ParticipantI think you can, you need another calculated channel and use the formula to put it in time. If you are satisfied that it will show the time, but here you need to try with formulas depending on how you want to see the view. The simplest thing is to enter the data in DateTime and tell the channel to display only the time
manjey73ParticipantThey can be displayed as ASCII text by applying time formatting. It seems that there are corresponding formulas in C#.
Show your example how you display time on a mnemonic circuit
-
This reply was modified 4 years, 3 months ago by
manjey73.
manjey73ParticipantThe formula in the channel – DateTime.Now.ToOADate()
Format channel is Date, Time or Date and Time
manjey73Participant@Zeus We need to put up some kind of protection. It won’t save 100%, but still 🙂
manjey73Participantpublic double SetBit(double n, int index, double setvalue) { long nn = Convert.ToInt64(n); return setvalue > 0 ? nn | (1 << index) : nn & ~(1 << index); }I do not know, is this what you need or not? Just writing a bit to a number. You need to add Formulas to the Reference Books
manjey73Participant$(document).ready(function () { $("#txtUsername").val("operator"); $("#txtPassword").val("1234S"); sleep(20000).then(() => { document.getElementById("btnLogin").click(); }) }); function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); }Strange, I have double quotes and it works. Maybe the quotation marks code is from the Russian language, but it seems they should be the same.
If you look in HEX format, the quote code is 0x22 everywhere
-
This reply was modified 4 years, 3 months ago by
manjey73.
manjey73ParticipantExactly, this forum is slightly spoiling some characters when inserting.
manjey73ParticipantThe script is located in the file /scada/ScadaWeb/js/autologin.js where you specify your user and his password. It may be necessary to reboot the web to update the scripts in the browser, for example by Ctrl+F5
manjey73Participant2. Copy the scripts from the daemons folder to /etc/init.d
You probably tried to copy the boot scripts under a regular user and did not notice that there is no access, since /etc/init.d is not available to a regular user for writing.
-
This reply was modified 4 years, 3 months ago by
manjey73.
manjey73ParticipantLook at the code svc_install.sh Have you exactly copied the required files to the /etc/init.d folder?
What is your system?
-
This reply was modified 4 years, 3 months ago by
manjey73.
manjey73Participanthttps://yadi.sk/d/RZArYfy89mgjkw
Strange, this plugin is not in the repository. Here is the link to the plugin that the author gave.
Go to js and edit autologin.js my version is below with a delay of 20 seconds, which allows you to have time to change the user if necessary.
$(document).ready(function () {
$(“#txtUsername”).val(“operator”);
$(“#txtPassword”).val(“1234S”);
sleep(20000).then(() => { document.getElementById(“btnLogin”).click(); })
});function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
manjey73ParticipantYes, it is possible
manjey73ParticipantProject/YourProject/Interface
manjey73ParticipantPlace this xml in Project/Instance when you transfer data to the server and if there is no file there, then it is deleted from the main folder. This is true for all files that are copied from Instance to the corresponding folders.
More precisely, Project/YuoProject/Interface
-
This reply was modified 4 years, 3 months ago by
manjey73.
manjey73ParticipantChecked on Raspberry, Scada version 5.8.3 – works fine
-
This reply was modified 4 years, 3 months ago by
-
AuthorPosts