02-22-2016 03:56 PM
I'm trying to integrate an RF switch from Mini Circuits. The RC-8SPDT-A18. It came with a app that I installed. The app controlled the switch fine through a USB cable. It also came with a LV vi, which did not work. The documentation that came with the switch indicated that I needed to copy a dll to the System32 folder and register it. I did that, and the vi worked... a little. I found the problems with the vi and got it to working. I integrated this switch control vi into my project, and all seemed good. Then I needed to install my project on another computer (that did not have LV installed). I generated an installation package, and installed it on the other computer. The project seemed to run fine, except it wouldn't control the switch. I compiled the switch control vi by itself, and copied it to the new computer, and it won't work either. The Mini Circuit app was installed on the other computer, and it controls the switch fine. After the installation, the switch controll dll was not in the System32 folder. There was a copy in the SysWOW64 folder. I put a copy in the System32 folder, and registered it. No difference. I don't think that the installed project and compiled vi is seeing the dll.
Any ideas?
I'm developing in LV 2014 on a Win7 machine, and installing to another Win7 machine.
02-23-2016 04:43 PM
I recommend using the Ethernet protocol to communicate with the switch. This will remove any dependancies on the USB driver. See the HTTP Get and Set functions.