08-18-2016 11:21 AM
Hello all!
Yesterday I worked whole day in a VI and unfortunatly today I got frustrated when I tried to open it. Was given the following error:
LABVIEW: Failed to load dynamic library because of missing external symbols or dependencies, or because of an invalid file format. The file 'ENG633 v1.vi' could not be loaded.
This message repeats when I try to open other a SubVI.
Step-by-step:
1 - I created a copy of the LabVIEW VI example: "FuzzyEx Tanks with PI control". I kept the copy in the same directory of original.
2 - I edited the copy, created SubVI etc
3 - After I've finished my programming journey I closed all the cutted the files (ctrl x) and copied (ctrl v) in other folder.
4 - Then I tried to open a day after and... bug! I couldnt do it 😞
What can I do to open/recover the VI?
I'm using LabVIEW 2016 32-bit in a Windows 10
08-18-2016 12:18 PM
In addition, when I try to run the original VI such as any other VI it works...
08-18-2016 02:05 PM
I assume that 'ENG633 v1.vi' is the name you assigned to your copy?
We need a bit more information, what sort of changes did you make to the ENG633 file?
How are you trying to open the file, by double clicking on it in the file explorer, using the menu command Open from LabVIEWs front screen, or clicking on it in the list on LabVIEWs front screen? (If you are clicking on the list to open it, probably is because LabVIEW does not know where it is anymore after you moved it, you need to use one of the other two methods to open the file.)
08-18-2016 02:31 PM
I believe I read recently that LV on a Windows 10 machine can corrupt files saved to a network drive.
Q:
Was you rfile stored to the local hard drive or a network drive?
Ben
08-18-2016 03:36 PM
'ENG633 v1.vi' is the name I assigned to my copy.
In this copy I commented whole block diagram and developed my orwm code (I just wanted the original code as reference). In my code I've only implemented basic functions such as formula node, tdms writing, while, indicators etc.
I've tried to open it by double-click on the file explorer also using menu LabVIEW's command Open and clicking on it in the list on LabVIEW's front screen.
I got the same error when I try to open its SubVI and it has only mathematics operators (sum, multiply, divisor, root square etc).
Both files are stored into local local hard drive!
I have attached the VIs! 'ModeloTanqueCilindrico.vi' is a SubVI of ENG633 v1
08-18-2016 03:44 PM
But to open these files I attached I think is required to have Datalogging and Supervisory Control Module and Control Design and Simulation Module (I'm not sure)
08-18-2016 03:48 PM
Yeah, those two files are utterly hosed. They are nothing but 74KB and 7KB of null character. I'm not sure what happened to cause that though.
08-18-2016 03:51 PM
I tried to open them and got the same error you did, so I opened them with a hex-editor to see if there was something in the file, and there is literally nothing but the 0x00 value for the entire file.
08-19-2016 05:28 PM - edited 08-19-2016 05:29 PM
Tks all for replying. So my solution was redo everything
I hope it does not happens again.
11-15-2016 06:47 AM
I am also having a similar issue. I have recieved some files from a vendor for thier device (vision sensor). when I try to load the .ctl files i get the same error that failed to load dynamic library because of missing external symbols...
i have checked the files in notepad to make sure there was code in thier. any ideas?