Forum Replies Created
-
AuthorPosts
-
MikhailModeratorMay be the error occurs after the computer restart? And PostgreSQL has not started yet?
MikhailModeratorHi,
1) The error is weird. It’s the first time when we faced this type of error.
What PostreSQL version do you use?2) Probably, it just reconnects. The next time, if the error occurs, try stop and start SCADA-Serve without uploading the project.
Using pgAdmin simply try to connect to the database and open the data tables after the error occurs.
MikhailModeratorHi Matt,
Thank you for the reminder.
Do you need an example that demonstrates how to create an HTML page that uses JS API to get data (like v5 custom page example)?
MikhailModeratorThe OPC UA driver subscribes for data, and receives data in async mode when data comes from the OPC UA server. The driver does not send requests each time to read data.
> in facts it sends all the cycle data in one event type response.
Could you copy the example from the communication line log?
MikhailModeratorOPC DA sometimes unpredictable, unfortunately. While the Rapid SCADA driver uses official .NET OPC libraries, provided by OPC Foundation, they are not ideal.
Is the OPC server installed on the same machine as Rapid SCADA?
What OPC server do you use? (just for information)
MikhailModeratorPlease check this video. It should help to connect to OPC UA server. In the video Prosys OPC browser is used. However, any client is OK.
MikhailModeratorHi,
You can see that the error isNpgsql.PostgresException (0x80004005): 57P03: the database system is shutting down
You should check the PostgreSQL database. When it is not available from SCADA, try to connect to it by pgAdmin.
MikhailModeratorI’m glad that it is solved 🙂
MikhailModeratorHi,
Have you got some errors when connect by the utility?
MikhailModeratorOh, you use Rapid SCADA 5. The required feature (OPC UA server) is in version 6.
MikhailModeratorIt’s weird. Connection is OK. Looks like no device on the line.
Could you check the request sequence? Screenshots can be useful.If you think that the issue depends on the subnet, try other IPs for testing.
MikhailModeratorHi,
Yes. But you need to install .NET 8 first.
MikhailModeratorIf the above works for you, there are 2 steps:
1. Read data from the DB with DrvDbImport.dll
2. Enable OPC UA server to provide data to other apps.
MikhailModeratorHello,
OPC UA server that is provided by DrvDsOpcUaServer.dll works on the level of the Communicator application. Therefore, it cannot access to channels that are managed by the Server application. It can access to data collected by other Communicator drivers. However, there is DrvDbImport.dll driver that reads data from a SQL database. Probably, you can read data from the DB by the DB Import driver, and then provide it using Rapid SCADA OPC UA server.
MikhailModeratorHello,
It is possible to connect to a remote OPC UA server.
Please write in more detail, what difficulties did you encounter? -
AuthorPosts