I am a relative newbie so please don't shoot me down if this has already been asked.
I have gathering energy usage data over the network via modbusTCP. At the moment, I have 6 meters to read, but will eventually have 38.
Each meter will provide me with 12 readings (volts per phase,amps per phase, KW,KVA,KVAR etc.....).
I currently have the 6 meters being read and log the data to mySQL via SQD/SQT at a period of once every 15 seconds based on a tag changing which is polled every 15 sec. This process works but I can't go any faster than the 15 seconds, so once I get all 38 meters in service I am thinking I will have to extend the poll time even further, probably to over a minute.
The manuals suggest SQD/SQT is the quickest method of getting data into mysql, but i am wondering if they just mean the quickest to set up.
Therefore, my question is, will using VBA and ADO be quicker and if so, can anyone point me in the right direction to some sample scripts.
Secondly, I will want to retrieve this long term data from the mySql database to show on a chart, again, any pointers to some sample scripts will be much appreciated.
Using iFix 5.5. Do not want to use Historian - too expensive for the task in hand.
Thanks in anticipation.
I have gathering energy usage data over the network via modbusTCP. At the moment, I have 6 meters to read, but will eventually have 38.
Each meter will provide me with 12 readings (volts per phase,amps per phase, KW,KVA,KVAR etc.....).
I currently have the 6 meters being read and log the data to mySQL via SQD/SQT at a period of once every 15 seconds based on a tag changing which is polled every 15 sec. This process works but I can't go any faster than the 15 seconds, so once I get all 38 meters in service I am thinking I will have to extend the poll time even further, probably to over a minute.
The manuals suggest SQD/SQT is the quickest method of getting data into mysql, but i am wondering if they just mean the quickest to set up.
Therefore, my question is, will using VBA and ADO be quicker and if so, can anyone point me in the right direction to some sample scripts.
Secondly, I will want to retrieve this long term data from the mySql database to show on a chart, again, any pointers to some sample scripts will be much appreciated.
Using iFix 5.5. Do not want to use Historian - too expensive for the task in hand.
Thanks in anticipation.