Antoine Chalons Posted November 3, 2009 Report Share Posted November 3, 2009 Hi, Working on win XP Pro with LV 8.6, if I go to "Start >> Run..." and send the command "taskkill xxx.exe", xxx gets killed. Normal. If I now open the system exec.vi, type the same command, xxx stays, the error out cluster says "no error" the "return error" indicator says -1073741515 and I get this message from windows : This application has failed to start because framedyn.dll was not found. Re-installing the application may fix this problem. I get the same thing with other commands (e.g. tasklist). On my colleague's computer (same config) commands work from LabVIEW and Windows. What's wrong on my computer? Do I really have to re-install LabVIEW EDIT: but some command still work from system exec.vi, such has "C:\Program Files\...\Labview.exe" and LabVIEW is launched... Quote Link to comment
Gary Rubin Posted November 3, 2009 Report Share Posted November 3, 2009 (edited) Hi, Working on win XP Pro with LV 8.6, if I go to "Start >> Run..." and send the command "taskkill xxx.exe", xxx gets killed. Normal. If I now open the system exec.vi, type the same command, xxx stays, the error out cluster says "no error" the "return error" indicator says -1073741515 and I get this message from windows : This application has failed to start because framedyn.dll was not found. Re-installing the application may fix this problem. I get the same thing with other commands (e.g. tasklist). On my colleague's computer (same config) commands work from LabVIEW and Windows. What's wrong on my computer? Do I really have to re-install LabVIEW EDIT: but some command still work from system exec.vi, such has "C:\Program Files\...\Labview.exe" and LabVIEW is launched... If I remember right, you need to put a cmd in front of your command in the LabVIEW call. There might be a switch that's needed after it also. Sorry I don't have more detail - not at work yet. edit: Did you check the Calling System Exec example? Edited November 3, 2009 by Gary Rubin Quote Link to comment
Gary Rubin Posted November 3, 2009 Report Share Posted November 3, 2009 If I remember right, you need to put a cmd in front of your command in the LabVIEW call. There might be a switch that's needed after it also. Sorry I don't have more detail - not at work yet. edit: Did you check the Calling System Exec example? try 'cmd /C' (without quotes) in front of your command string. Quote Link to comment
hooovahh Posted November 3, 2009 Report Share Posted November 3, 2009 On my machine I can kill all LabVIEW.exe (just a test) with the following wired into the system exec. taskkill /f /im labview.exe /t but as suggested before I've seen some places where Start has to be used before the command, like: Start taskkill /f /im... Quote Link to comment
asbo Posted November 3, 2009 Report Share Posted November 3, 2009 This should treat the root of your issue: Microsoft KB 319114 Quote Link to comment
Antoine Chalons Posted November 4, 2009 Author Report Share Posted November 4, 2009 Thanks all for the suggestions, the microsoft kb didn't solve the issue but it put me on the way to it. This (post #5) was the solution to my problem. I just copied the "framedyn.dll" into C:\WINDOWS\system32", it was already in 3 different subfolders, but none of these subfloders were listed in "Environement Variables". Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.