[WT-support] Controlling custom hardware: SOLVED

Markku Oksanen markku.a.oksanen at outlook.com
Sat Mar 22 19:03:30 CET 2014


All
The need was for the "*" (switch radios key) to control my station controller which runs on a separate PC and is written in Visual Basic 2010 / .NET 4.0.  This in turn controls custom hardware that controls antenna configurations.
I turns out that I was able to make this work as follows: There is a LUA script that first sends "*" to WT and then checks which radio is in use and send this information as a custom GAB message (a UDP broadcast) to the NW that the PCs are connected to.  Format is RN1 or RN2.These UDP broadcasts are heard checked by an UDP listener on the control PC and further, radio 2 now gets the better antennas for working a multiplier.   When "*" is pressed again, better antennas are returned to radio 1 and radio 2 gets what is left.
For now, ONLY pressing a key changes things, nothing in the scenarios is in the scope of this (Although this could be made to work).
If you are interested in using any of this, I can offer all the code to the WT community.
Thanks to the numerous people on this list who helped out.
MarkkuOH2RA/OG2A/WW1C 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.win-test.com/pipermail/support/attachments/20140322/52b41ef8/attachment.htm>


More information about the support mailing list