I am working in Visual Studio 2015 using Visual Basic, working with the sample 2 code provided. All of my modifications are working beautifully except the button status and relay status queries - I am using
K8090.SendCommand(Velleman.Kits.K8090Command.ButtonStatus)
and
K8090.SendCommand(Velleman.Kits.K8090Command.RelayStatus)
commands, but nothing is coming back from the board. I am capturing events and reading the button presses and relay state changes properly from other commands. I have used USBTrace to watch the transactions and can see the query going to the board (04 50 FF 00 00 AD 0F) and the board replying with an empty response.
Maybe there is another way to achieve my goal of trying to read the existing relay and button conditions when I start my program.
Any suggestions? Thanks.