Run exe constructed in labview 6i without loaded nidaq drivers.

Exe is constructed using labview 6i. It would be convenient to install the exe and run time engine on the HDD,
and execute as a demonstration program, without loading the nidaq drivers.
No daq card in pc, nidaq would be on CD. Suggestions are appreciated.

If you want to run an exe without loading DAQ drivers, you will need to ensure that no DAQ calls are statically linked in the final executable. As waldemar.hersacher mentioned, you can do this by using VI server for all your DAQ calls, then calling stub routines if you are using the laptop for demo purposes. It would probably be easiest to put all your DAQ calls into a few subVIs and call those dynamically instead of each individual DAQ VI call. If you miss one, your launch will fail when DAQ is not present (you will get the standard LabVIEW searching for subVIs dialog and then a message telling you that you need the full version of LabVIEW to correct the problem).
There are lots of ways to switch between the "demo" mode and the "live" mode. A dialog which pops up on startup and is accessible from the menus is the most obvious.
Good luck. If you need more hints, let us know.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • Running exe files in labview (or alternatives)

    I am currently trying to make LabVIEW communicate with a DT3155 frame grabber. It reads exe files programmed in c. I initially wanted to call the dll libraries of the frame grabber and rewrite the code into sub-VI's, but then realized it would be much too big for me to make. Is there any way to call on exe files in LabVIEW, so that I can run a program whenever I wanted to perform a function? And if not, what other options can I consider utilizing? Sorry if this question is too basic, I'm just starting to learn LabVIEW. Thanks in advance for any help you guys can offer to me. ~Josh

    To run an EXE, you can use the System Exec function on the communications palette. You can pass command line parameters to the EXE. The tricky part is usually getting the EXE to pass data back to LabVIEW. I did a Google search for DT3155 and LabVIEW and found a couple places that sell LabVIEW drivers. This is the option that I would go with. One of them is at http://www.alliancevision.com/net/lv_driv_frmgb.htm.

  • How to open a file by double clicking in an RUNNING exe built by LabVIEW

    I am developing an applicationg using LabVIEW. But found some difficulties.
    This is an editor, and I link this app to a certain file format.
    So I hope when I double click this file, My exe will load it. This could be done by read application command line.
    But if my exe is runing already, I double click the file, I could not get the latest command line information.
    When the exe is running, How doule click the file to send some sort of info the this exe so the exe could open a new one.
    How to do this in LabIVEW?
    Solved!
    Go to Solution.

    Hi,
    You have to make the Vi reentrant so that it does not share the same memory location:
    Regards,
    Even
    Certified LabVIEW Associate Developer
    Automated Test Developer
    Topro AS
    Norway

  • How to run .exe file by labview?

    Dear All,
    I want to use Labview to run a .exe file, but I don't know how to do? who can tell you? Thanks!
    Best regards,
    Jimmy

    Try the attached VI (LV v7.1.1). It uses the System Exec function:
    (from the LV Help file):
    "System Exec
    Executes a system command. UNIX You can use wildcards, pipes, and shell meta-characters. Mac OS To use this VI on Mac OS, you must have the Macintosh Programmer's Workshop installed. Refer to the Apple Developer Connection Web site for information about downloading the MPW.
    To launch an executable with options using the syntax filename.exe -option1 -option2, create a filename.bat file that calls the executable with the options syntax and use this VI to call the filename.bat file. "
    Attachments:
    Run Program.vi ‏30 KB

  • When i run exe built in Labview 7.1 the memory usage goes on increasing

    Dear Sir/Madam
    I have built an application in LabView 7.1. When i run this application and view the memory usage in Task manager, i find that the memory usage goes on increasing.
    Please help.
    With Regards
    Ravindra Kumbhar

    Hi, Ravindra,
    It looks that you have memory leak in your application.
    There are lot of possible reasons for memory leaks - opened in cycle and not closed references, continuosly growing arrays, memory allocation in own DLLs, etc.
    Normally you should have the same behaviour in development environment as well (memory of LabVIEW.exe incresed continuously).
    You should check the code, which executed repeatable (while/for loops) for allocated, but not closed resources. What you can do is following - remove (or isolate) parts of you code, executed in cycles, then check is leak present or not. So, step by step you will found the place where leak occurred.
    best regards,
    Andrey. 

  • Creating LabVIEW module adapter TestStand Steps using the API without loading module prototype???

    Is it possible to programatically create a TestStand step (using the API), that calls a LabVIEW module, without loading the prototype of the module to get a reference to the Module Parameters.
    I want to specify a VI Pathname, but I dont want to use that pathname to load the prototype.  I want to programatically specify the name, type, representation etc. of each of the controls and indicators.
    My reason for attempting this is that I only want the VIs called by the steps to exist on the target hardware not on the numerous development machines running my application.
    Any thoughts greatly appreciated.
    Steve  
    https://decibel.ni.com/content/blogs/DailyCLAD

    Hi Steve,
    Unfortunatly it is not possible to do what you want within Test Stand but I am not sure why it is necessary, I think I am understanding your application incorrectly.  The only time you will need to load the prototype is if you are creating the step but if you are creating the step you will need the VI that the step calls so that VI will need to be present on the system.  If you are not calling the step then you shouldn't need to load the VI prototype.  If this is how you program funtions it may be a problem with your architecture but if not please could you correct my misunderstanding so that I can go about finding a suitable solution.
    Regards,
    Tom
    Applications Engineer
    National Instruments UK & Ireland

  • Run labview executable without installing

    Hi
    We need t run a LabVIEW executable without the need to install the runtime engine first.
    In fact we use a LabVIEW program to distribute LabVIEW within our company.
    We add our own library and a special license request form and make it possible to install a LabVIEW development environment
    with only the push of one button.
    In LV8.2 however this no longer works. First the runtime environment has to be installed before we can run our LabVIEW application.
    Previous LabVIEW versions worked OK.
    Are we missing an option in the installer somewhere or can somebody show the way to make this work again otherwise we have to keep 8.01 until infinity....
    greetings from the Netherlands

    Hi Albert,
    Long time no see... Perhaps at the user group meting okt. 5?
    We (Andre) did some experiments with this just last week. He copied everything from the normal installation directory (program files) runtime directory to a new directory on a clean PC. In the same directory he put an executable, and it did run properly (although I think he also copied the models directory to get proper control images).
    Only thing is that at the startup of the exe, we get a dialog "Installing...". Still working on that. This might even work from a CD...
    He made a big effort to remove all previous LabVIEW stuff, but to be honest, we didn't try it on a completelly "clean" system.
    Regards,
    Wiebe.
    "Albert Geven" <[email protected]> wrote in message news:[email protected]..
    Hi We need t run a LabVIEW executable without the need to install the runtime engine first.In fact we use a LabVIEW program to distribute LabVIEW within our company.We add our own library and a special license request form and make it possible to install a LabVIEW development environmentwith only the push of one button.In LV8.2 however this no longer works. First the runtime environment has to be installed before we can run our LabVIEW application.Previous LabVIEW versions worked OK.Are we missing an option in the installer somewhere or can somebody show the way to make this work again otherwise we have to keep 8.01 until infinity....

  • Running a labview installer without installing drivers

    Ouch. I have to install multiple LabView programs onto the same machine and they were all compiled with different versions. I don't have the luxury of rebuilding them. When I try installing some of them, the program won't let me install because newer drivers are already installed on the machine. Is there a way of running an installer to install the program without installing the drivers?
    Solved!
    Go to Solution.

    The folder where the installer was placed into should have a bunch of folder in the "bin" folder all starting with "p". These contain the various installers that are run. The actual installer for your executable should be in there somewhere, so you could try running it directly.

  • LabVIEW Program not running if i lock my PC (using an EXE made from LabVIEW)

    Hi everyone 
    I observed some odd behavior when I was running my program on a PC. I prepared an EXE for a LabVIEW program, this am running on another PC. Purpose of the program is to read a text file and follow the command given in that text document, we are accessing parallel port, calling third party EXEs in this. It is not running when I minimize the window or lock the PC. Do we have any property in VI properties for this?
     Please help me in this.
    Thanks
    Anil

    Hi Anil,
    Minimizing the application or locking Windows should not stop the executable from running. Can you reproduce this behavior on the development PC?  Also try to create an executable with a simple VI that counts the number of iteration and check for this behavior ?
    Tunde.

  • Have been running version 4 for a week without problems. Today, downloaded MS live security update, and have had problems since. when I click on a favorite site, it takes 20 to 40 seconds before the page load's and the same if I click a link on the page.

    been running version 4 for a week without problems. Today, downloaded MS live security update, and have had problems since. when I click on a favorite site, it takes 20 to 40 seconds before the page load's.'''bold text'''

    http://portableapps.com/apps/internet/firefox_portable/localization#legacy36

  • After load and run primary installation firefox it run to endless without load any thing

    after load and run primary installation firefox it run to endless without load any thing
    it run for more than 2 hours.
    this happened after install VLC with "groovorio" adware and find that Firefox can't update so I uninstall it to reinstall it without success.
    nothing happened no message appear but the download and installation for firefox still running endless.

    after load and run primary installation firefox it run to endless without load any thing
    it run for more than 2 hours.
    this happened after install VLC with "groovorio" adware and find that Firefox can't update so I uninstall it to reinstall it without success.
    nothing happened no message appear but the download and installation for firefox still running endless.

  • Do I need "nilm.exe" file for labview to run properly?

    I have some problems with the "nilm.exe". Sometime it create a lot of other file in Windows tak manager and it lock completely my computer. Do I need "nilm.exe" file for labview to run properly? Can I remove it from my computer ?
    thanks in advance for your reply

    NILM.EXE is the NI License Manager for Remote Panels. If not using Remote Panels then you do not need to use NILM.EXE. The following webpage shows how to disable nilm.exe:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/581a81c57ac0c10b86256b5a005f2975?OpenDocument
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect

  • I have a desktop machine windows 7 based with CS5 loaded and working without problem. I have recently purchsed a laptop running 8.1 windows.  I have loaded the cs5 package onto the laptop and it appears ro work but I am being told there are updates. I hav

    I have a desktop machine windows 7 based with CS5 loaded and working without problem. I have recently purchased a laptop running 8.1 windows.  I have loaded the cs5 package onto the laptop and it appears to work but when I try to update, although  I am being told there are updates it attempts to download the update but then tells me there is a problem and to quit and try again later.. I have tried a number of times to download the updates but itkeeps telling  me to quit and try later. what is wrong please?

    There could be a 32 bit vs 64 bit issues-is the old machine a 32 bit? and what is the new machine as far as 32/64 bit. I am not sure now if CS5 has in the help menu of the PS app the selection to update within PS if so that might work. I know that the Creative cloud app for installs updates  etc has caused me much consternation  over the last couple few years. Last it could be something like your Software firewall settings or  anti-virus anti malware programs. I know that updating the infamous adobe flash that Internet Explorer pop ups setting and having AV turned on as opposed to off can interfere or plain break the update ability

  • Running Labview-teststeps without having Labview installed

    Hello,
    is it possible to create a Teststand-testplan with Labview-teststeps and to run it  _without_ having Labview installed?
    Do i always need a Developer-Labview or is a Labview-Runutime enough to run the Tesplan?
    Thx

    Hi,
    If you are using TestStand 3.x, then you can setup the LabVIEW adapter to use the LabVIEW RTE or a LabVIEW ActiveX Runtime Server. If you are using TestStand 2.0.x then you can only use the Runtime Server.
    The User Manual, will help you to setup the LabVIEW adapter.
    Off course you will still need the correct LabVIEW RTE version installed on your Target machine to match the version of your VI's..
    Regards
    Ray Farmer 
    Regards
    Ray Farmer

  • How to create an exe file using labview and arduino?

    I bought Arduino Mega 2560. I have installed Arduino IDE 1.7.3. I am using Windows 7 64bit version and Labview 2012. I started working after the compilation of LIFA_Base File with Arduino IDE and with labview.
    My application is: I have connected my arduino to my PC via USB for read input/output pins. I have to read all the time an analogue input from arduino and I have to draw the graphical representation of the input. I would like to know if I can create an exe file of this application. I would like to use the created exe file to another PC without labview installation. 
    Please help me to resolve the problem.
    Regards

    Yup you sure can.  With Application Builder, that is bundled with several LabVIEW packages you can make an EXE, and then make an installer that can include the LabVIEW Run-Time engine (free) and you'll also need the VISA run-time for talking to serial devices like your Arduino.
    Then you should be able to run that installer on any normal Windows PC and without the development environment be able to run your program.
    Note that currently Student, and Home versions of LabVIEW do not have the application builder since it is intended for learning, and hobbyist, not for distributions.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Maybe you are looking for

  • Routing Issue with 3550 Switch

    I am having an issue with routing with one of my Cisco 3550 switches.  I know the 3550s are EoL but some of us have to work with what we have. I am using a 3550 on either side of a Layer 2 link.  The Layer 2 link is 2 Extreme Summit X-440 switches wi

  • Can anyone help with home sharing between my 2 computers please

    I am new to home sharing and I am having trouble transfering my music library to my new laptop. Can anyone please advise the easiest way to do this I am a novice at this type of thing Regards John

  • JDev 9i and 10g on Windows 7

    Metalink's compatibility certification table does not include these and an SR on this question was answered with a negative answer. 9.0.3.2 and 10.1.3.2 install and run on Windows 7 Home. Creating ADF BC objects and JSP (JSF) pages also work, and run

  • My blackberry 9320 keeps restarting

    my blcakberry restarting on a regular baisic, even after change the ba ttery same problem arise, please help me in this issue. amar prasad nayak

  • Cluster DuplicateKeyExecption and primary key generation

    Hi I have 2 applications servers working in a cluster. I'm using for primary key generation The pattern "sequence blocks" taken from the book ejb design patterns. However when i have something like 5 threads that are trying to create new entities the