Maniaradio Forums
Access data - Printable Version

+- Maniaradio Forums (https://www.maniaradio.it/forum)
+-- Forum: IC7000BKT Cat Control for Icom IC-7000 (https://www.maniaradio.it/forum/forumdisplay.php?fid=5)
+--- Forum: General discussion - Problems - Bugs / Generale - Problemi - Errori (https://www.maniaradio.it/forum/forumdisplay.php?fid=7)
+--- Thread: Access data (/showthread.php?tid=345)



Access data - WM1KE - 02-27-2017

Mauro, et al:
I am a registered BKT owner. works nice.
I am doing propagation research and would like to access the rigs S-meter. Other fata would be nice but I will be happy with S-meter.

I know that other DDE based apps can access the data but I can not find a way to
build DDE into my code.

Is there any way to access data like S-meter, SQL level, etc?
My fallback is to software Tee the COM port and examine the CIV myself (yuck).
73, Mike


RE: Access data - iz2bkt - 02-27-2017

Hi Mike,
to communicate with the IC7100BKT I have built a DLL interface BktExtension71k.dll.

To read the s-meter using the API call:

//Return the S-Meter value
//-1 if error
extern "C" long __declspec(dllexport) __stdcall ExtGetSignal();


RE: Access data - WM1KE - 03-02-2017

Maurp:
Thanks. Is there any documentation? I would like to fetch some other values also.
Also, Where can I download the DLL? It did not appear to come with the instalation of 7000BKT.
Thanks, 73, Mike, WM1KE


RE: Access data - iz2bkt - 03-03-2017

If you are using the IC7000BKT wrong forum, this is for the IC7100BKT.

The DLL is included in the installation of IC7000BKT program as BktExtension7k.dll in c:\windows\system32.

Some examples:

C#: www.iz2bkt.com/txt/TestDLL_IC7000BKT_C_SHARP.ZIP

VB: www.iz2bkt.com/txt/TestDLL_IC7000BKT_VB.ZIP

VC: www.iz2bkt.com/txt/TestDLL_IC7000BKT_VC.ZIP


I will move the discussion in the correct forum.


RE: Access data - WM1KE - 03-15-2017

Thanks!