Forum Replies Created
-
AuthorPosts
-
MikhailModeratorHi,
Thank you for the details.> As for why calculated channels always 0 is due to I enable the formula with 0. I disable the formula and problem solved.
There is also a general server option to disable channel formulas.> Looks like the “converting DAT files to PostgreSql database” is success.
That’s good!
MikhailModeratorIn the protocol, a string is encoded as
Bytes 0…1 – the string length in bytes
Bytes 2…N – the UTF-8 encoded charactersCould you specify what should be updated in the document?
MikhailModeratorYou right. The Users table contains the password hash, while XML files contains encrypted passwords. Hash cannot be decrypted. Encrypted password can be decrypted. You can encrypt password with Administrator user interface.
MikhailModeratorIf you run the HelloWorld project and use the default configuration of ScadaTestClient, can you successfully communicate between the client and the server?
MikhailModeratorHi,
Check ModRapidGate_XXX.txt if there are skipped records in Historical Data section.
MikhailModeratorYou can try setting SecretKey to an empty string. If ScadaTestClient allowed that (I don’t remember), it would simplify the protocol packets.
MikhailModeratorLikely ScadaTestClient.xml contains invalid SecretKey property.
ScadaTestClient source code is here if need.
MikhailModeratorThere is no such plugin yet. You could develop it. It looks quite useful.
MikhailModeratorUse the existing partitions as examples. pgAdmin can show their SQL.
MikhailModeratorThe cause of the error is that there is no partition for old data. You should create it manually using pgAdmin. SQL example:
CREATE TABLE mod_arc_postgre_sql.min_historical_20240101_20240201 PARTITION OF mod_arc_postgre_sql.min_historical FOR VALUES FROM ('2024-01-01 03:00:00+03') TO ('2024-02-01 03:00:00+03')Set your own dates for the partitions. By default 1 partition covers 1 month.
MikhailModeratorHi,
Note that Rapid Gate status is written in ModRapidGate*.* log files on the machine where Rapid Gate is running.
MikhailModeratorMay be the problem is in password encoding. It is encrypted using the provided Secret Key. If the Secret Key is empty, no encryption is used as I remember.
I suggest to get the request, sent by ScadaTestClient, using WireShark and compare with your request.
MikhailModeratorDo you mean a situation when a user left the computer, the browser is open, and the web app should do automatic logout after some period?
MikhailModeratorHi,
Archive Replication Options are enabled. That’s correct.Do the following:
1. Create a new channel of the Output type. Set tag code to GateCmd and Format to String.
2. Set Command code of the gate to GateCmd
3. Create a table view that helps to send commands using that channel.Try sending command like
cmd=UploadArchive startDT=2022-07-01 10:00:00 endDT=2022-07-01 11:00:00
Watch for the Rapid Gate log files. You should see how data are uploading.
MikhailModeratorHi,
You should open the development tools in Chrome by pressing F12, set a breakpoint and check the actual data in the debugger.ViewStamp is a stamp provided by server code to check that the client and server view data match.
SchemeDoc is a part of scheme object. -
AuthorPosts