Post
Topic
Board Mining software (miners)
Topic OP
VB .Net pull hashrate from CGMiner
by
hey101
on 18/01/2014, 19:17:23 UTC
I am trying to either use VB .Net to connect via a socket to CGMiner and pull just the hashrate in kh/s. I have only one GPU attached that I need it from. I would want to get it quite frequently if possible but I have no idea how to. The rest of my program is made (vb app to pull information about balances and such and sends it to arduino to be displayed on a 3.2in tft lcd). This is just the one part I am missing. The one thing I have noticed is that the hashrate displayed in CGminer is in kh and updated extremely often with good accuracy, but the api only shows in mh and practically never changes or atleast I never have seen it change.


Is there any info that you guys can give to have the api display in kh or somehow hook into cgminers window and retrieve the hashrate with good accuracy? I also have no idea how to parse the information retrieved from the summary command in vb .net, so any kind of information or help with that would be appreciated.


Thank you very much for your time