Error 2 to the Exec.vi system.

Try to copy a file PRN in 4 k on a USB printer on LPT2.  The command "copy/b ggg.prn LPT2" worked very well for a prompt cmd but gives error 2 when connected to the Exec.vi system.  He suggested that the memory is full, but calling sysexec is literally the only thing in VI.  I restarted the laptop (Win 7-32, LV 2011, 4 GB of Ram, Dell E6410) and re-run the VI before anything else - same result.  Tried to put the command in a BAT file and call that - same result. The VI and the prn file are saved in the same directory.

Try this: http://digital.ni.com/public.nsf/allkb/EA1600EBA422E97286256AA20073C616

Tags: NI Software

Similar Questions

  • Call a VI that uses the 'exec.vi system' with the LabVIEW runtime as adapter

    Hello

    My TestStand sequence called a VI that includes a call to 'exec.vi system '. When I try to load it in TestStand and if LabVIEW adapter is set to the runtime, I get an error message «Unable to load Vi...» ». If I change the map to the 'development system', then it works fine.

    Is it possible to use the 'exec.vi system' in a VI that is called by TestStand with LabVIEW run-time?

    Thank you

    Alex

    Hi Alex,

    In case you, you get an error-18002.

    The reason is explained in the following link:

    -18002 errors in TestStand

    http://digital.NI.com/public.nsf/allkb/D82FEAF0B4BA293A862575710053E252?OpenDocument

    Please take a look at # 2. This is your case.

    It will be useful,

    Regrads

  • How to raise the exec.vi system administrator on Win7

    Hi guys

    I build an installer to our application and want to inject the driver OR not required for the program interface with our material in Win7... I'll use pnputil.exe to add and install our signed driver... But pnputil will work only if cmd prompt is amounted to administrator (being administrator is not enough by using cmd)... This is easily done in the environment of win7 (ctrl + shift + enter to the search bar after typing cmd) but y at - it a command that works on win7 I could call to enable this rise happen without user interaction? I wanted very much as for create a post installer that calls the installer of NOR raise the program, and then call the function pnputil since the exec.vi system, which leaves the system with the installed driver and a plug ' gaming experience to the user.

    Any good suggestions?

    Best regards

    Jacob Navne

    LV8.6.1 - win7 / XP

    If you use the option "run command line after installing" Installer, I think that it runs the command line with the same rights that the installer had, that rights should be admin high you're looking for.

    It worked for me in the past to win7.

  • in the Exec.vi system call stack overflow

    Hello

    I have on dos application which I call you for a specific task through the entrance to the command line for system exec.vi... problem that I get to crash dos application without completing the task... I checked with the release of vi and he says:... stack overflow and then I run it manually by calling the same command line to the command prompt... There along the...

    Any suggestion to improve? Why any task getting EXECUTED in manul call in command prompt is getting crashed when calling via LabVIEW?

    Thank you

    -HS

    Hi Navjodh,

    Finally I removed the exec.vi system and using dot net containing call node... so my problem is solved for now

    Thank you

    -Himanshu

  • Why do I get error 200077 on the SMU-6124 system

    My program works well for DAC 6115 and 6110. Now, I'll apply to SMU-6124 (BNC-2110 borad). When I change the mode of DC to AC coupling, error: 200077 property Node DAQmx channel occurred. More in the attachment. Can someone help me solve this problem? Thank you very much.

    renwei,

    Please use the Forums of NOR. The reason you get this error is that the SMU-6124 only supports the DC coupling. If you look at the specifications of the SMU-6124 has this as "input coupling. SMU-6124 specification. Regarding the 6115 and the 6110 they charge AC and DC coupling, (card PCI-6110) so it seems that your program is trying to address the coupling of the SMU-6124 as AC coupling. As long as you assign the coupling for the DC 6124 you have no problems. I hope this helps.

  • I get the error code 87 with Exec VI system

    Hello

    I need to start a labview program (vibrometra). In the image as an attachment, it is possible to see the command line that I use. In the path, I'm specifying the location of the executable file.

    I checked that it is possible to open the vibrometra program by using this path with the window "run"...

    So I don't know what should I write in the command field.

    Thank you in advance for your help!

    You have a space in cmd/k (correct: cmd /k)? Although without space LV2011 gives me error 2, not 87

    Also do you need to open the command window (cmd)? I usually specify a full path (path name and exe) as a command, no problem. Working directory is not required then.

    Edit: Full path in quotes is not having problems with spaces

    "C:\Program Files\prog\prog.exe".

  • Run as administrator command prompt using the exec.vi system

    I have an application that will not open unless it is executed via the administrator command prompt.  I found a way to add a shortcut on my desktop to open (Administrator: elevated command prompt) but do not know how to open programically this program.  Does anyone have a quick and easy solution to this?  I want to open the administrator: elevated command prompt and then start writing my orders.

    Thank you!!

    Difficulty with the command line: cmd/r 'Elevated Command commandes.lnk ".

  • How to determine if external exe is running before you call the "Exec.vi system"



  • How to close the open window by Exec VI system automatically?

    Hello

    I use the Exec VI system to launch an exe that is built from a LabVIEW program. Operational system Exec VI, the window out of file exe and stays there even after all the tasks are completed. I have to close it manually each time. Anyone here know how to close the window of the exe file automatically when it's done?

    Thank you

    Jean

    If I understand the question you add a node to call at the end of your application to exit. As it runs as a stand-alone application or in LabVIEW there will be out or stop the execution. I have attached the VI that I use in my applications.

  • How to stop a program called with exec.vi system

    Hey Gang,

    I need to run a third-party application of in LabVIEW.  It works fine when it is called with the exec.vi system, as long as the user has entered the correct data.  However in some (very difficult to determine) conditions, the application crashes.

    I want to be able to force by program the application to complete and return to LV I assumed that there is a way to do it using the Windows API, but I don't know how to do this, and I would need a way to get the handle of the offending application Windows.

    Short re - implement the app in BT, I'm out of ideas.  I'll appreciate any help.

    Thank you

    Roger

    If you could post a picture of the offending code, it would be great. but two things come to mind, if you expect the exploit code (for example go to a wait for a period, then kill a task) wire: completion to false.

    then is another call to command prompt, look in taskkill /f

    You can kill a process

    It may be useful

  • PsExec.exe Runing on labview2012 with Exec.vi system

    I have problem on this, it will signal erroe to run PsExec.exe using the 'Exec.vi system'. It works well on the Labview8.6 version, but has problems on Labview2012. Could someone help?

    What about using "cmd /c PsExec.exe" as chain of command?

  • Common problem with Windows 7, what causes errors with itunes, the software adobe reader, TurboTax 12

    Is there a common problem with Windows 7, what causes errors with itunes, the software adobe reader, TurboTax 12?  I get error messages when I try to use one of these programs

    Hello

    Thanks for the reply with the details.
     
    Problem with opening PDF documents, please see the link and follow the steps in the article:
     
    Error "Windows cannot access the specified device, path or file" when you try to install, update or launch a program or file
    Important: Disable your antivirus or changed settings can make your PC vulnerable to viral, fraudulent, or malicious attacks. Microsoft does not recommend that you disable your antivirus software or change settings. If you need to temporarily disable your anti-virus software, you should reactivate as soon as you are finished.
     
    See the link for the question with idevices:
     
    iTunes for Windows: "Could not load the data class" or "Cannot load provider data" alert synchronization services
     
    Problem with TurboTax 12, check out the links and follow the steps:
     
    5639 error: Cannot configure the product update system
     
     
    If the troubleshooting steps above do not help, check in a new user account:
    Reference:
     
    If it works in the new user account, then the current may be corrupt user account.
    To fix the damaged user account, follow the steps in the following article:
    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile
     
    Hope this solves the problem. If the problem persists, you can write to us and we will be happy to help you further.
  • exec Subvi system. Cannot access the positioning block diagram

    OK I'm back!

    My first question is that for some reason any I can reach is no longer here the files for you all to see...

    Second and more to the point, how can I know the exec.vi for open system where I want it too when the block schema access is password protected and I can't seem to make the nodes property for the vi either.

    I use this vi to call the OSK (on screen keyboard) for touchscreen.

    I have an example to show, but see number one...

    It seems to me that you want to position the osk and that means access to the block diagram is irrelevant.

    To position the program that you are a beginner, try this.

  • Age of Empires 2: Age of Kings does not work on Windows 7. The error is: could not initialize graphics system. Make sure that your video card and driver are compatible with DirectDraw.

    I can't get my Age of Empires 2: Age of Kings drive on my computer.

    It gives me the error message: could not initialize graphics system. Make sure that your video card and driver are compatible with DirectDraw.

    What exactly is DirectDraw. and how can I make my video card and the driver compatible to it. I already tried to uninstall and reinstall the drive.

    Help, please!

    What kind of graphics card you have and you have the latest DirectX and video card drivers? If this isn't the case, update them.

  • a way to talk to the command prompt without using exec.vi system

    I had used exec.vi system in recent weeks to send commands to the command prompt and then bring back the exit in labview. All of a sudden this week the vi does not work and I can not even an exec.vi system output when I send the same commands that I sent before. I was wondering if there was another way to send & receive orders from the cmd prompt in labview without using exec system?


Maybe you are looking for