LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mini Circuits switch control

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.

0 Kudos
Message 1 of 2
(3,907 Views)

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. 

Message 2 of 2
(3,863 Views)