yvo Geschrieben February 14, 2025 at 08:39 Geschrieben February 14, 2025 at 08:39 Dear List I am running a measurement-station using an Industrial-Counter-Bricklet to monitor the frequency given by an encoder: One application is accessing the Industrial-Counter-Bricklet every 5 seconds reading the current frequency on channel 0 and provides the information to a Prometheus-monitoring system. That works perfectly A second application could take usage of the measurements of the Industrial-Counter-Bricklet to monitor its own functionality. For this, it has to read the frequency on channel 0 of the Industrial-Counter-Bricklet as well. This in a similar rate such as every 5 seconds. Question: Is it safe and reliable to access an Industrial-Counter-Bricklet (or any other bricklet) reading the values from two individual applications using the same host and port? Or is it recommended to use a second bricklet. To keep the two applications fully independently, I try to avoid an exchange of the measurements between the two applications through a kind of communication-protocol. Looking forward to any suggestions and hints. Cheers, Yvo Zitieren
MatzeTF Geschrieben February 14, 2025 at 11:18 Geschrieben February 14, 2025 at 11:18 Quote Is it safe and reliable to access an Industrial-Counter-Bricklet (or any other bricklet) reading the values from two individual applications using the same host and port? Yes, this should be safe. The Industrial Counter Bricklet performs all its measurements and calculations independent of any data communication and simply returns whatever data it has stored internally upon request, so querying it from multiple clients should be perfectly fine. The bricklet should be able to handle several hundred queries per second, so two queries per five seconds is basically nothing. 1 Zitieren
yvo Geschrieben February 14, 2025 at 13:00 Autor Geschrieben February 14, 2025 at 13:00 Hi MatzeTF Fantastic. Thank you very much for the quick and positiv replay. Then I will implement it in this way. Cheers. Yvo Zitieren
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.