Result
Control of an instrument with windows-only drivers using Juice via through a server.
Context
We encountered the issue that the Signal Hound SA124B only has windows drivers, which meant we could not directly control it via Juice, as we do for other instruments.
Solution process
We knew we could control the instrument via an adjacent windows PC. We set out to try and allow Juice to communicate with this Windows PC, using it as a proxy to send tasks to the instrument.
This involved first setting up a server on the windows pc listening in on a certain port capable of handling tasks we send it to be rediracted to the SA124B. We achieved this using the attached snippet server_win.py, which can be run inside of the terminal on the Windows PC.
Next we set up a NDJson Client in Juice, as found in the attached snipper client_wsl.py. Inside of Juice we interact with this Client, which communicates with the Windows PC and thereby the SA124B.
The exact usage can be seen below:
We hope this use case is able to help out anyone else who runs into a similar issue!
