We are using TCP/IP protocol. And for single meter having dynamic ips with previous version of Gurux net api, I am able to read data asynchronously. But now for multiple meters i am able to capture multiple socket connections but not able to read data. So please tell me about that.
I have few questions.
1. What version you are using now (Gurux.Net.dll)?
2. What was your previous version?
3. Can you read single meter with new version?
Please find the answers as per your questions:
1.) We don't know the exact version because we are using the development kit of gurux.net for java. But in those apis ListenerThread class was not available and because of this we were not getting List<Socket> connection But now we are getting multiple clients socket connections.
2.) And with new version we are not able to read even single meter but with earlier apis we are able to read.
The meter has been able to connect to the server, and i can read the meter from the OnClientConnect method but unable to read the meter from another method after connection has been established. Kindly help me on how to go about this?
Connection has been established and am able to read all data usin the OnClientConnect listenner. My question is, what if i want to read multiple meters upon the occurrence of an event, say read clock upon a button click? how do i go about it?
When meter makes connection OnClientConnect method is called for each meter. So you start own client instance for each meter and read needed information. After you have read data, you release the connection.
I want to keep the connection and be able to read either of the meters, using the ip address and port of the connected meter to read it upon clicking a button. I would keep the socket connection active
If you want to keep the connection up, you need to send keep-alive or meter will close the connection after inactivity timeout. In that case, don't call release or disconnect.
Having problem in connecting multiple GPRS(TCP/IP) meters.
Hi,
I have few questions.
1. What version you are using now (Gurux.Net.dll)?
2. What was your previous version?
3. Can you read single meter with new version?
BR,
Mikko
Hi,
Hi,
Please find the answers as per your questions:
1.) We don't know the exact version because we are using the development kit of gurux.net for java. But in those apis ListenerThread class was not available and because of this we were not getting List<Socket> connection But now we are getting multiple clients socket connections.
2.) And with new version we are not able to read even single meter but with earlier apis we are able to read.
Thanks,
Hi Kurumi,
Hi Kurumi,
I have been waiting for you answers for previous posted question. Please let me know about it.
Thanks,
Having problem in connecting multiple GPRS(TCP/IP) meters
Hi,
You can see version if you select pom.xml. You can get version from version tag.
BR,
Mikko
multiple meter reading with dynamic IP address
Could you kindly walk me through on how to read multiple GPRS meter with Dynamic IP addresses
multiple meter reading with dynamic IP address
Hi,
If you have a new question, please, create a new topic. You should read this to get started.
https://www.gurux.fi/Gurux.DLMS.DynamicIP
BR,
Mikko
Trying to read a meter with Dynamic IP Using GXNET
The meter has been able to connect to the server, and i can read the meter from the OnClientConnect method but unable to read the meter from another method after connection has been established. Kindly help me on how to go about this?
Hi,
Hi,
You need to read all data before you release the connection. Is connection established correctly?
BR,
Mikko
Connection has been
Connection has been established and am able to read all data usin the OnClientConnect listenner. My question is, what if i want to read multiple meters upon the occurrence of an event, say read clock upon a button click? how do i go about it?
Hi,
Hi,
Are the meters behind the DC or is each meter making own connection?
BR,
Mikko
Each meter is making it's own
Each meter is making it's own connection. Not making using of a DC
Hi,
Hi,
When meter makes connection OnClientConnect method is called for each meter. So you start own client instance for each meter and read needed information. After you have read data, you release the connection.
BR,
Mikko
I want to keep the connection
I want to keep the connection and be able to read either of the meters, using the ip address and port of the connected meter to read it upon clicking a button. I would keep the socket connection active
Hi,
Hi,
If you want to keep the connection up, you need to send keep-alive or meter will close the connection after inactivity timeout. In that case, don't call release or disconnect.
BR,
Mikko
Thanks you for you support.
Thanks you for you support. You don't seem to get my question.
say i want to control the
say i want to control the relay of a connected meter, how do i do it upon making an event occur...
Hi GABZZsoft,
Hi GABZZsoft,
Please, create new topic. Now I have mixed your and Nitin 's questions.
BR,
Mikko