11-13-2017 10:07 AM
I have a project that I completed a year ago and uploaded the entire project folder to the network. In the year since I completed the project, my computer was upgraded to Windows 10 so I don't have the project folder on my hard-drive. I need to make some changes to the program so I downloaded the project folder to my hard-drive. I opened the project and it opens fine. When I try to open the main.vi I get an error message. the error message says LabVIEW failed to load dynamic library (attached error message) for several controls and VI's.
I then deleted the folder that I downloaded onto my hard-drive and tried to open the project from the network folder, but I get the same error messages. Am I missing something or did I screw something up? I believe I have a copy of the software on a thumb drive, but I'm afraid to open it now until I find out why I can't open the files.
11-13-2017 10:14 AM - edited 11-13-2017 10:15 AM
Am I missing something or did I screw something up? Both
The project isn't complete until all required dependencies are documented. Now you are missing some component that you need.
Since the error is in loading a *.ctl file and claims an external dependency is missing I would start by looking for the .NET or ActiveX control in the project. The clue to where to look is the control name. What device in the system has channels?
11-13-2017 10:36 AM
I looked closer at which items are giving me the error message. There are two controls, and 10 VI's that give me errors. There must be several pieces missing as the VI's range from updating the screen to writing to file.
There are two devices that have channels in the system. There are two different types of DAQ hardware that can be used with the software, but only one device can be used at a time (User selected on startup of the program).
11-13-2017 11:13 AM - edited 11-13-2017 11:13 AM
After reading my original post again, there is a part that I didn't mention (Thought I did, but must have slipped my mind). When I opened the project from the network before downloading it to my hard-drive everything worked as expected and the main.vi opened. I did a save-all on the project, and got several error messages about saving some items (I'm guessing the ones I'm having issues with now). I didn't save the errors as I assumed they were trying to save to the network. I didn't chance a single thing in the code, just opened the main.vi to look at it. did the save-all that gave me an error on some parts cause the issue? I'm not a computer programmer by degree, so I'm not sure what happened.
Sorry for the double post, couldn't edit my reply.
11-13-2017 11:46 AM
I believe I have figured out what happened, and unfortunately there doesn't seem to be a way to reverse it. When I tried to save-all, there was an error message saying I didn't have permission to save so I used the red X to close the dialog. Instead of just exiting out of the dialog, it also corrupts the file(s) that you are trying to save. This is a known issue with saving to a network drive in Windows 10 if you are using anything older than LabVIEW 2017. Here is a thread on it with more info for anyone else that comes across this post: https://forums.ni.com/t5/LabVIEW/LabVIEW-error-44-and-corrupting-programs/td-p/3333540/page/3
Time to search for my thumb drive and see if I copied the project folder over to it. *Fingers crossed*
11-13-2017 11:51 AM
Sounds like you need a time machine!
11-13-2017 12:25 PM
😞 The best time to use a safety harness is before you get into an accident. 😞