Jump to content

system exec commands sent from LabVIEW don't work


Recommended Posts

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... :throwpc:

Link to comment

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... :throwpc:

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 by Gary Rubin
Link to comment

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.

Link to comment

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".

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.