05-09-2019 12:09 PM
I have a legacy project that I am trying to debug, and I am new to LabVIEW. The project contains a number of custom VIs, but also uses a few VIs that I believe are "standard" library VIs. When I open the project, its asking me for the location of these standard VIs. However, a search of my hard drive doesn't locate these. One example is "niSwitch Send Software Trigger.vi". Is there an additional library or something I need to download for these?
Solved! Go to Solution.
05-09-2019 12:17 PM
Yes
What version of LabVIEW are you using to debug? If it's an old one (2014 or earlier) you can't use the most recent NI-SWITCH release.
05-09-2019 12:24 PM
I'm using LabVIEW 2018. Perhaps my version of NI-Switch is old, as it doesn't seem to contain any VIs. Downloading the latest now. Thanks!
05-09-2019 12:25 PM - edited 05-09-2019 12:26 PM
In addition to plain LabVIEW, you also need to install all modules, toolkits, and drivers that the old program required. Do you have that information?
(Since you only listed one example, there could be other missing parts)
05-09-2019 12:39 PM - edited 05-09-2019 12:40 PM
Unfortunately, I am not sure, as the reason I'm working on this is that apparently the old NI controller died, and this is a new system that IT put together. So it may be awhile piecing it all back together. I was able to successfully locate some missing drivers for the controller, so the system SEEMS to show up correctly in NI-MAX now.
05-09-2019 01:21 PM
OK, I am clearly missing something. I downloaded NISWITCH1851. A search in that folder returns NO files with .vi extension.
05-09-2019 01:40 PM - edited 05-09-2019 01:40 PM
@jvavra wrote:
OK, I am clearly missing something. I downloaded NISWITCH1851. A search in that folder returns NO files with .vi extension.
Downloading is typically not sufficient. You need to install it (and make sure to include LabVIEW support if that option exists. This will add the relevant VIs to your LabVIEW installation.).
Is your LabVIEW 32bit or 64bit?
05-09-2019 01:57 PM
When you install it, it should put those in the LabVIEW folder where they should go. Probably "C:\Program Files (x86)\National Instruments\LabVIEW 2018\instr.lib\niSwitch"
05-10-2019 11:38 AM
My bad, I swear I looked and didn't see any kind of exe to run, but went back and double checked, and sure enough, I needed to run the setup exe to actually install the NISwitch package.