Nx-1997,
I really like your program, It works perfectly on my Win7-64 machine. I'm now trying to get it working on a Win10-32 tablet and have a hiccup. My guess is that I'm missing some aspect of the NI-VISA let me explain.
When I installed NI-VISA on my 64 bit machine, I installed the latest version 21.0 and NI installer offered about 10 optional (not sure if they were applications or drivers), they were all ticked by default so I just let it install everything. It took a while. this version works.
When I tried installing version 21.0 on my 32bit flavor of Win10 on the tablet, Windows complained that the installer requires at minimum a 64 bit version of Win10. So I instead installed NI-VISA version 20.0 and this time I unchecked all the extras (I probably should not have done that). I proceeded as before however two issues were obvious:
1) In the Conflict manager I don't see National Instruments VISA.NET Resource manager under VISA.NET
2) I was also missing NI-VISA Interactive control application, (this was likely one of the ticked applications that I un-ticked) I added this after the fact, ran it and it now acts like before, recognizing the 3 connected devices, however most likely I'm still missing something else and when I try to connect using your application I get a Windows error, see below. I'm going to try to uninstall NI-VISA and then reinstall with all the "optional" tick boxes ticked and see what happens.
Well I tried installing all the optional add-ons, and same thing, so I'm guessing this might be a 32bit vs. 64bit compatibility issue?
UPDATE:
The program is fine, the problem was Win 10 updates!
I tried a few things nothing helped and then I tried a full Windows update and it started working.