executable files may only work running labview

Dear all,

I simply create an executable file that calls several functions of a DLL (also written in LabVIEW), the LabVIEW DLL will call a DLL acquisition card written in c ++ to capture images from my camera. Everything worked fine until I have copy my entire program to a pc with the only run LabVIEW and installed vision. While the program no longer works. The LabVIEW DLL I call keep will return null string that it's not supposed to be. The DLL is supposed to return 0 for any mistake or any number which is the error code.

Help, please... Thank you very much!!

Hi GerdW,

Thanks for the reply.

I just thought of it.

It was because I only installed runtime of vision but has not installed the device IMAQ driver.

My program works fine after installing the device IMAW driver.

Tags: NI Software

Similar Questions

  • I have a file which only works in MSDOS. Is it possible to do?

    I have a file which only works in MSDOS. Is it possible to do?

    Bill Kennedy

    Original title: Windows 7 run in MSDOS

    Win7 has no MSDOS

    You may need a MSDOS emulator, for example http://www.dosbox.com/

  • Windows 7 executable lonely spider and other games of executable files do not work

    I installed windows 7 and windows games do not work. Whenever I try to play the lonely spider, it is said the executable no longer works and the game closes. Spider not only but all windows games that come with windows 7. They have all worked with vista on a 32-bit system. I am now on windows 7 64 bit. Other then this problem I like windows 7 but I need spider solitaire. Thank you!

    Hello

    Run a SfC scan:
    http://support.Microsoft.com/default.aspx/KB/936212

    Good luck $

  • I have two devices gpib-usb-hs; two of them work in MAX, but will only work in labview, help please?

    Hello

    For my application, I need to communicate with two instruments by using both devices gpib-usb-hs. I use Windows XP, Labview 6.1, MAX 5.1 version and NI488.2 version 2.42. I checked and this ni488.2 driver should be compatible with my devices gpib-usb-hs and my versions of windows and labview. I also tried versions older and more recent NI488.2 without success.

    I can communicate with my instruments properly in MAX, tell me that the devices themselves are functional. When I try to connect with my instruments using labview (using the example of gpib of labview), only devices gpib-usb-hs communicates with success. The other device returns the EDVR error: connection to the device or driver error.

    I don't really know where to go from here. The only thing I found strange was that the gpib-usb-hs work was has an alias name assigned visa while the unworking device does not. I tried to give him an alias name, but this did not help.

    Any suggestions would be greatly appreciated.

    There are many free tutorials on GPIB. It should explain how the various instruments can be connected to a single controller.

    That being said, even if it's unnecessary, you should have no problem with multiple controllers on the same pc. The two being connected, they pass all the tests in MAX? You are using an old driver and seem to have tried several different versions. I suspect a driver issue, and I advise you to uninstall all the drivers GPIB and VISA and then start again. But not all necessary can be done to satisfy your curiosity.

  • Executable file does not work

    Hi guys,.

    I created an executable (attached). On the pc on which I've created, it works correctly. When I go on another pc, despite I installed LVRTE 2012 (VI is done with lv2012), it seems that does not see the instrument...

    where is the error?
    Thank you

    [code] http://Speedy.sh/bxJeM/Driver-DSA1030A.exe [/ code]


  • AVI file may not work in sony vegas software

    I have sony vegas studio 6 software to edit the film. I can not import AVI file.  What that should I need to import this file into my software. I need help ASAP

    you're right, that it was a typo. Motion JPEG. How to enable MJPEG in fidshow VFW interface. where to find this interface. I'm not a computer expert.
    Thanks for the help

    Try to use this codec pack.

    http://fileforum.betanews.com/detail/KLite-Codec-Pack-full/1094057842/3

  • Multimedia file sharing only works if the two devices are connected using the same protocol

    So I'm frustrated!

    I spent an hour trying to get my Windows 7 computer to share my music with my XBox 360. I have two machines on my network, one connected by Ethernet to the router and the other connected by WiFi. I tried everything I could find online to get the WiFi connected machine appears in the "Music Player" on my XBox system - follow all sharing, make sure that my router has UPnP, restarted a bouquet of services, etc..
    Nothing! During this time, my machine connected to Ethernet was watching me in the face. He has appeared on the XBox without problem. I started to compare the settings on both machines and found no difference.
    Then I remembered, boredom, I had setting up WiFi sync for Windows Phone my wife. In fact, it was this session of troubleshooting that lead me to put this machine on the WiFi in the first place! Seems to set up WiFi sync, Windows Phone and the target of the machine must be, not only connected to the same network (obviously), but for some reason any the $ @$ crazy, both connected by WiFi. I just connected this computer by WiFi - not happy, a faster speed with my wired connection - and immediately fixed the problem itself.
    Then, remembering that, I moved my XBox WiFi network and - presto - my second machine appears without a problem.
    My question is... WTF! ???
    This is ridiculous - this is the same network! Why things must be connected using the same protocol?

    Hi, Edward Petersen,.

    Please contact the Microsoft community. I'll help you solve the problem with sharing music using media sharing.

    Some routers isolate the cable connections and wireless, you can check if you have the option in the configuration of the router to share media

    If the problem occurs, you can contact the router manufacturer for assistance.

    Hope this information helps. If you need help with Windows, simply reply that we will be happy

    to help you.

  • LabVIEW FPGA: Not possible to create an executable file that uses the FPGA in Simulation Mode? I get a weird error code

    When I try to create an executable from a host VI that has an "Open FPGA VI" reference who has run, the value "Dev computer w / Sim i/o" value, the application is built without error but when I try to run it, it opens with an arrow broken to run and has the following error:

    "VI has an error of type 2302200.  The full development of LabVIEW version is necessary to correct mistakes. "In fact, he repeats this message two times in the same window for some reason any.

    Moreover, I * have the LabVIEW full development version and I use 2010 SP1

    While the error message is not as clear as it could be, you're right: you cannot run an executable file that tries to run an FPGA VI in the simulation.  It would be nice if there was an error in compiling.  I always forget to switch to run on the target FPGA before building my application and discover the error until I have it copied on the system in the laboratory.

  • Serial Port problems - carriage return and use as an executable file

    Hello

    I developed an application to send a few simple commands on the serial port and read the corresponding answers of a device that I am in communication with.  I have been using logical Port to watch the line TX of the serial port.

    By using the Visa configure Serial Port I set the stop character property allow true and used the hexadecimal value D trying to make the termination a carriage return characters.  When I sent the order, I'll send the cmd followed by Enter.  No matter if this property is set to true or the hexadecimal value is set to D for carriage return or line break is, the serial port would always send a line break.

    Then I got crafty and the string constant under normal display to hexadecimal display.  The ONLY way I could send a carriage return was manually putting 0x0D after ordering.  So my question is, why the Visa set up the Serial Port is not working correctly, and is there a better way to send a carriage return?

    My next issue is facing the construction of executable files.  I'm using LabVIEW 8.2 and wrote this program for another employee to use on his laptop computer.  I did install runtime Labview 8.2 and led to the executable that I generated.  I did-> the executable by clicking Tools build the executable.  The problem I noticed was that the executable would open and will work perfectly, but it would not send any data the serial port.  I then ran the executable on my laptop (which contains the full version of LabVIEW 8.2) and the serial port has worked well.  I guess my question is... Are there plug-ins that must be installed to use the serial port with the Labview runtime engine?  Or y at - it a step that I failed to do?

    Thank you

    Gary Still

    Not immerse in the first issue. The Knight will probably be galloping until shortly.

    For your second question, after building the executable, you must build the installer and includes support for the VISA. VISA is required for serial communication, and it does not accept American Express.

    It may be useful

    -AK2DM

  • When you have a dynamic LIVES in a class of LV, what happens when it is part of an executable file?

    Strangest thing...

    It is in a project with hundreds of other VI.  The build options the same thing as the other hundreds of VI.

    However, when you build an executable file, it won't run.

    Well... it's not quite accurate.  Because I could create another LIVES in a code example and it worked!

    Originally, I had the LIVES as part of the application.  Now, I put the destination in a folder LIVES.  LIVE and dangerous files go to the folder LIVES.  I print the path and it is... So, it should be called dynamically, but this isn't.  How will I know?  I placed an equivalent to a printf to see if the SAW is running.  The first thing it does is write "in the LIVES" in a file.  Nothing appears in the file...  The file is used elsewhere, so write to the file works.

    I'm at a loss to understand what is happening...  Unfortunately, there is no way to view the code.  With respect to the recognition of an example of the code style, which works, so it is no good either...

    AAAaaaaarrrrrrrggggggggghhhhhh!

    Any ideas out there?

    I want to thank Heiko F. for his wisdom to solve this one...

    The solution was to take the LIVES out of the LVClass folder and disconnect from the class.

    VIT could physically be in the folder where private methods, BUT it was added in the project outside the original class files.

    This meant done right click on 'My Computer' and add the file LIVES.  Then of course, simply set the file LIVES as always in the build properties.

    Man and "voila" resolved...

  • Engine run LabVIEW 6.0 will not power BKPrecision supply control.

    I created a test in Labview 6.0 program to control a power BKPrecision and measurement computing DAQ in our test system. I am able to control the two instruments in my PC that has Labview charged thereon. I created an executable file of the application distribution tool. When I install the runtime and the executable file on a new PC (Labview not installed), I'm unable to control BKPrecision power. The power of BK is connected to the COM of the PC serial port.

    Do I need to install drivers that are not included in the executable version?

    I have to install VXIpnp (VISA interactive control)?

    Thank you

    Tim

    If you use LabVIEW to communicate with any device then the driver should be included. Take a look at names of VI you used (VISA, series, etc.) and make sure that exact same driver that one version is installed on the computer on which the executable file runs. This means that if you have some NI-VISA 4.3 on your computer and you VISA controls used, then download this driver on the executable computer. You can find all the drivers at this site. Let us know if this corrects the problem. Thank you!!

  • Package a driver in an executable file.

    Hello

    I created a driver for the usb device that is specific to the provider I want to use. I have a folder that contains all the files including the .inf file driver.

    How do I present this file in an executable file, so I can run the installer of the application?

    Thank you.

    Hello

    You really need to use the MSDN developer forums.

    MSDN forums
    http://social.msdn.Microsoft.com/forums/en-us/categories

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • LabVIEW 2013 executable only works on the development machine?

    Hi all

    I created an executable to distribute my test software, but it only works on the development computer. With success, I gave my front executables with labview 2012 on the target computers by simply creating the .exe in the project and then Explorer in installing labview nessary drivers and run the engine of time without problems. Now, I created a new test with Labview 2013 program and I can not get my new test .exe application to run on the target computer. Has anyone seen this kind of problem before?  Any help will be appreciated.

    Thank you


  • Executable file runs only with active debugging...

    Hello

    now, I found a funny problem with one of my LV2011SP1 executables:

    When I create a new executable executable file refuses to start with a 'there is an error. You need the development environment to investigate who' message.

    OK, so I turn on debugging in the executable file and create a new executable file. Now: the executable runs without any problem.

    WTF?

    With people with disabilities, it gives an error of debugging, there is no error with active debugging?

    OK, with some experience I removed all disable conditional structures in the code (a part of the code is only called with ' runtime == TRUE "). Even this does not change this weird behavior: program works fine in environmental development and as executable with active debugging, but not as executable with disabled debugging...

    Anyone have similar experiences?

    And no, I don't mind view the complete project. It is quite large and contains a lot of internal company information...

    Hi all

    Thanks for the suggestions.

    It has helped check the option 'Remove the definitions of type' (in addition to default of polymorphic parts removal, unused to the screw and LVLib controls). Now, the executable runs also without activation of debugging in...

  • How can question I run an executable file in the background?

    Hello

    I'm trying to run an executable in the context of LabVIEw, but none of the methods described in the forum and on ni.com seems to work. I use LV 2011 on a 64-bit Windows 7 machine where it is important.

    I tried the method described in "How to make an executable in the background as a marketing app?" (http://digital.ni.com/public.nsf/websearch/4A8B626B55B96C248625796000569FA9?opendocument&Submitted&&... but I always see a fragment of a window at the bottom near the start (Exhibit 1) key.) Table 2 shows that it consists only of the title bar. (I customized the appearance of the window as described and added the two points

    HideRootWindow = True

    UseTaskBar = FALSE

    in the *.ini file.)

    I also tried to disable all other items in the menu customize appearance of window with the same result.

    Then I tried the method described in "Ongoing execution of an executable of LabVIEW as a background process" (http://digital.ni.com/public.nsf/allkb/EFEAE56A94A007D586256EF3006E258B) addition of the FP. Open the VI method and affecting the hidden state. I got the same result (table 1).

    Should I do more or different for my version of windows? I appreciate your help. Thank you.

    I found the problem. It was a wrong directory for the build name. I continued under an older version of the executable with the default window settings. The method that is described in how to run an executable file in the background as a startup Application? "(Works... http://digital.ni.com/public.nsf/websearch/4A8B626B55B96C248625796000569FA9?opendocument&Submitted&& .

    Sorry, for wasting your time. Mea culpa.

    Peter

Maybe you are looking for