Running .exe with VDM RTE

Hi,
I have written an executable in Labwindows/CVI that implements imaqSubtract and imaqThreshold and I'm trying to run it on another computer that has the Vision Run-Time license on it but It will not do the subtraction or threshold.  Is there something special I need to do when building the executable to make it run on a computer with only the Run-Time license?  Thanks!
Solved!
Go to Solution.

When you say "It will not do the subtraction or threshold" what do you mean? Are you getting a specific error? Are you getting a hang in your program? If you could give a little more information it might narrow down the possibilities for what's going on.
Licensing is something that people often get confused on with vision software. You may want to double check that everything is set up right. You can see a bit of information about licensing and applications with the Vision Development Module in this KnowledgeBase http://digital.ni.com/public.nsf/allkb/F1699570F78​FECBB86256B5200665134?OpenDocument#VDMRTE
Miles G.
National Instruments
Applications Engineer

Similar Messages

  • Applet run exe with dll

    Hi, i have a problem with a applet
    From my jsp i call my jar applet signed
    This applet call a client program .exe for digital sign created in java.
         // FUNZIONE PER ESEGUIRE UN FILE .EXE O .BAT
         public int runFile(String pathfile){
              int exitVal = 0;
              String errors = "";
              try {
                   Runtime rt = Runtime.getRuntime();
                   Process proc = rt.exec(pathfile);
                   InputStream stderr = proc.getErrorStream();
                   InputStreamReader isr = new InputStreamReader(stderr);
                   BufferedReader br = new BufferedReader(isr);
                   String line = null;
                   errors = errors + "Process exeFileName: " + pathfile + "\r\n";
                   while ( (line = br.readLine()) != null){
                        errors = errors + line + "\r\n";
                   exitVal = proc.waitFor();
                   errors = errors + "Process exitValue: " + exitVal;
              } catch (Throwable t){
                   // SCRITTURA LOG
                   System.out.println("JAVA ERROR " + t.getMessage());
                   JOptionPane.showMessageDialog(null, t.getMessage());
                   exitVal = -1;
              return exitVal;
         }For digital sign use javasign library and 3 dll.
    the problem is that when i run exe manually work, but when i run from applet it's block before sign..
    (lock between message "1" and "2"
         public void firmaFile(String pathSource, String pathDest, String code_pin) {
              String returnValue = "";
                   File src = new File(pathSource);
                   File dest = new File(pathDest);
                   String driver="incryptoki2.dll";
                   String KEY_LABEL="DSPrivateKey#0";
                   try {
                        JOptionPane.showMessageDialog(null,"1");     
                        CryptokiGenerator p7genSC = new CryptokiGenerator(driver,src,dest,KEY_LABEL,code_pin);
                        JOptionPane.showMessageDialog(null,"2");     
                        p7genSC.generate();
                        JOptionPane.showMessageDialog(null,"3");     
                   } catch (Exception e) {
                  }i think the problem is caused from use dll, but why ???
    can you help me ??
    sorry for my bad english..

    Solved !!
    in your link i found error code..
    when run exe i MUST read ErrorStream and InputStream in two separate thread !!!!
    public class RunnableHelper {
         // COSTANTI
         private static final String LOGGER_PREFIX = "Vega-Firma Digitale";
         // FUNZIONE PER ESEGUIRE UN FILE .EXE O .BAT
         public int runFile(String pathfile){
              int exitVal = 0;
              String errors = "";
              try {
                   Runtime rt = Runtime.getRuntime();
                   Process proc = rt.exec(pathfile);
                   /* error code !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                   InputStream stdout = proc.getInputStream();
                   InputStreamReader isrout = new InputStreamReader(stdout);
                   BufferedReader brout = new BufferedReader(isrout);
                   line = null;
                   messages = messages + "Process exeFileName: " + pathfile + "\r\n";
                   while ( (line = brout.readLine()) != null){
                        messages = messages + line + "\r\n";
                   InputStream stderr = proc.getErrorStream();
                   InputStreamReader isr = new InputStreamReader(stderr);
                   BufferedReader br = new BufferedReader(isr);
                   line = null;
                   errors = errors + "Process exeFileName: " + pathfile + "\r\n";
                   while ( (line = br.readLine()) != null){
                        errors = errors + line + "\r\n";
                // correct code     
                StreamGobbler errorGobbler = new StreamGobbler(proc.getErrorStream(), "ERROR");           
                StreamGobbler outputGobbler = new StreamGobbler(proc.getInputStream(), "OUTPUT");
                errorGobbler.start();
                outputGobbler.start();
                   exitVal = proc.waitFor();
                   errors = errors + "Process exitValue: " + exitVal;
              } catch (Throwable t){
                   // SCRITTURA LOG
                   System.out.println("JAVA ERROR " + t.getMessage());
                   exitVal = -1;
              return exitVal;
         // CLASSE INTERNA PER LETTURA STREAM
         class StreamGobbler extends Thread
             InputStream is;
             String type;
             StreamGobbler(InputStream is, String type)
                 this.is = is;
                 this.type = type;
             public void run()
                 try
                     InputStreamReader isr = new InputStreamReader(is);
                     BufferedReader br = new BufferedReader(isr);
                     String line=null;
                     while ( (line = br.readLine()) != null)
                         System.out.println(type + ">" + line);   
                     } catch (IOException ioe)
                         ioe.printStackTrace(); 
    }Thanks for good link !!
    Edited by: SWING_resize_component on 18-mag-2009 16.26

  • How to run .exe files with Virtual PC for Mac

    Hey Guys, I'm new around here and with mac technology as well. Anyway, I have an iMac OS X 10.5.1 Leopard and I've recently purchased the Virtual PC for Mac 7.0.2 software. So I'd like to know how to use this program properly, because I need to run some executable files in my computer. It is confusing for me because I don't know how to get started, and I only get to the part when it says "OS not found, Install an OS on this hard drive".
    Honestly I've no idea of what an OS is or where do I get that. So I'd really appreciate if one of you guys could tell me, step by step, what to do to use Virtual PC properly, and finally learn how to run .exe files on mac.
    Thanks in advance!
    Have a nice day!

    Always nice to see new faces
    Honestly I've no idea of what an OS is or where do I get that.
    This brings up the second part of your problem. The first part is setting up either a proper Virtual Machine program like Parallels or VMfusion, or setting up a Boot Camp partition on your drive.
    http://www.parallels.com/
    http://www.vmware.com/products/fusion/
    OS stands for Operating System. You are running Leopard 10.5.7 as an operating system on your Mac (MacOS X).
    The second part of your problem - You will need a copy of Windows XP or Vista if you want to run Windows on your Mac.
    There is at least one other solution for running Windows programs on a Mac. It's called "CrossOver" by a company named 'Codeweavers'. It's based on a project for "Wine" to be able to run PC programs on a Mac or Linux, without having to buy or install Windows. It works with a narrow subset of Windows programs so you would want to make sure the program you want to run is compatible with CrossOver before you buy it.
    http://www.codeweavers.com/products/cxmac/
    In addition to all the above information, you need to upgrade your Mac to the latest 10.5.7 from 10.5.1. "Software Update" is located under the black Apple icon in the Menu Bar at the top left corner of your monitor. After you are updated you will want to update your Profile here so that it shows the proper OS version.
    With your level of experience with MacOS X and the Windows OS's you should probably get some help from a local Apple store. They have an appointment system and do offer many types of help and training, and they can offer assistance with choosing the proper programs for you to purchase for your machine.
    You are also welcome to continue to ask questions here, of course. You will want to ask your questions with different issues that come up in different threads so that the answers stay focused on the title of the thread.
    Message was edited by: dechamp to try to be more accurate with a fairly complicated issue...

  • To run an exe with lingo script

    I am making a tutor CD for children and I want to run a
    application exe with the help of Lingo Script plz. help with
    codings
    KUNDAN

    try:
    open "<fullPathToExe>"
    e.g.
    open (the moviePath)&"myApp.exe"
    "dankunus" <[email protected]> wrote in
    message
    news:efj1f2$fui$[email protected]..
    >I am making a tutor CD for children and I want to run a
    application exe
    >with the help of Lingo Script plz. help with codings
    >
    > KUNDAN

  • How to run .exe files with DAQ on a target PC?

    Hi,
    I want to run LabVIEW executable files on a target PC, where there is no LabVIEW installed. These files are used to do measurement using DAQ devices.
    In order to run these .exe file, I guess that I should install both LabVIEW Runtime Engine and NI-DAQmx on the target PC. Is it right?
    I'm wondering if it is mantatory to install NI-DAQmx on the target PC. I tried running .exe files without NI-DAQmx installed, but there was an error: nilvaiu.dll couldn't be found. Shouldn't this file be included automatically when building the executable files?
    Thanks,
    Qifu

    No, none of the hardware drivers are included in the LabVIEW exe that you build. You have to install DAQmx. With LabVIEW 8.x, you can include the DAQmx driver with the installer that you create. You also have the option to install different versions of DAQmx. These different versions are smaller than the full DAQmx install (i.e. you may choose to install documentation, MAX. etc.). When you create the installer, you also inclue the LabVIEW run-time and you should also choose to install the hardware configureation that is in MAX.

  • How to run labview exe with command line

    I would like to launch a labview exe with a command line.
    I would like to get advice how to launch the Labview exe with giving values to the control parameters?
    You can view the example where x,y are the controls
    Solved!
    Go to Solution.
    Attachments:
    exe.png ‏65 KB

    There is a much more detailed guide here, which I reference below:
    1. First you will enable it in the settings:
    1. Open the properties for the application's build specification
    2. Navigate to the Advanced category
    3. Check the Pass all command line arguments to application box
    To pass the command line arguments to the application and access them in your code follow the same steps as for LabVIEW 7.x.
    2. Then you will use two hypens (--) to pass command line arguments to the VI. 
    When you launch LabVIEW or a stand-alone executable from the command line, you can pass user-defined arguments to the application. User-defined arguments start after two hyphens (– –) surrounded by spaces in the command line. For example, the following command line entry will launch LabVIEW 7.1 and open test.vi from the root of C:\ and pass 2 arguments, 1000 and sine:
    "C:\Program Files\National Instruments\LabVIEW 7.1\LabVIEW.exe" "C:\test.vi" –– 1000 sine
    You can also pass a command line argument directly to an EXE without launching LabVIEW, as long as the machine has the appropriate Run-Time Engine and necessary drivers.  For example, if test.vi was built into an executable, it could be called as follows:
    "<build directory>\test.exe" –– 1000 sine
    3. Lastly, you will use a property node to wire them to your controls:
    LabVIEW passes the arguments from the command line to the block diagram of the VI or EXE you launch. You can reference the arguments in the block diagram by using the Application:Command Line Arguments selection in a property node, as shown below.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    If someone helped you out, please select their post as the solution and/or give them Kudos!

  • I downloaded itunessetup but when i open it it asks what program to run it with. but none of the programs listed would be a program to run a .exe program?

    so i downloaded itunessetup but when i open it it asks what program to run it with. but none of the programs listed would be a program to run a .exe program? what should i do?

    Maybe it didn't get the EXE extension.  If it does not have the extension, put one on it and see if that helps.
    If it has a DMG extension, it is the Mac version of the software.

  • Getting Data From Running EXE

    Hello,
    First off, I am an amateur programmer. I have been programming for a few years now, but because I'm a meteorology major, and not a CSCI major, I haven't had too much time. Tying in the fields of meteorology and computer science, I have made a few programs about the weather.
    There is a radar program, GRLevelX, which displays radar information, much like on television. With hi-tech abilities with it. One of the capabilities is placefiles, which can be added to the program. So what I am trying to do is make a placefile which shows an aerial map from Google Maps, which can be placed under the radar. When I get down to it, I have the code to grab the map and put it int he placefile format, however, the only thing I cant get is the coordinates of the visible window of the program.
    Is there any way I can tap into a running EXE, get variables being used by that program, and have them returned to the Java file I have created so far? I have spoke wiht one other person about this and he said I would need to call Win32 API and get the window handler. Again, I'm very new to this, so that si kind of confusing. But I try to challenge myself with these programs, trying to learn the language a bit more. I have searched through many forums trying to look how to do this, and I can't seem to find anything. Any ideas? Thank you very much! I appreciate any help anyone can provide.
    Chris

    Thanks for the quick replies. After some looking at the program and the first response, it looks like Java isn't the way to go. At least I have a good basis on how to do the main stuff, in java, just have to see if I can hand that off to someone familiar with the program to write in a different language. As for the second reply, I can see what you mean, not wanting to go into any secondary program. Especially if I don't know how its written and whatnot. There are a number of other placefiles, which do go into this program and grab data such as coordinates, and return their values. I will have to see what language they use (Visual Basic, i think?). Thanks again for the replies!
    Chris

  • How to run .exe files on macbook pro

    Just bought my first macbook pro the other day.  I absolutely love it.  Much better than the windows boxes.  I wanted to run some '.exe' files on my new laptop but was not successful finding anything on the market to use without purchasing a full OS version of Windows.  Is there any software out there that I can use to run '.exe' files without purchasing a full Windows OS to do so.  I know about parallels for MAC but that seems to require purchasing Windows OS?  Any help is greatly appreciately.
    Here are the specs on my Macbook Pro.
    2.2GHz quad core i7
    4GB RAM
    500GB HDD

    Some Windows software -- not all, by a long shot -- will run on a Mac without installing Windows, with the aid of the CrossOver Mac emulator:
    http://www.codeweavers.com/products/cxmac/
    Games generally won't. For those, you need Windows installed through Boot Camp so you can run Windows natively.

  • Running exe file

    Hello,
    Is there any way that i can run exe file from wd application ?
    I will appreciate any answer or hint.
    thanks in advance,
    Ofer.

    Hi Ofer ,
    i think , u have to manually run the application in the client side after downloading from the server itself..
    u have to kept it in server , and allow the client application to download it to client side and then execute..
    otherwise , u have to programaically  do these steps ,, copying the exe from server to a tem location in client and execute this in client side...
      we can access files which are residing in server in one mor way .. thats with WebDav ... u have to set up this in the Enterprise portal if u have ..
    if u have a  IIS server in the same server machine or another machine , u can put these there and using WebDav u can access...
    refer this for setting webdav in Windows..
    http://acs.ucsd.edu/info/webdav.php
                     Regards
                     Kishor Gopinathan

  • Stopping a running exe

    hi need help.
    i have a vi with two button
    1. button enable - run the exe automatically
    2. button disable-stop/terminate the running exe
    i can do the first button(run the exe) but i cant do the second button

    i have a vi with two button  <=====  Is this the VI that is the executable? 
    1. button enable - run the exe automatically  <=====  Is the executable a LabView VI?
    2. button disable-stop/terminate the running exe
    i can do the first button(run the exe) but i cant do the second button  <===  ????
    I ask because the last sentence makes it sound as if you have a VI that has two button and it is not an executable.  It calls an executable... 
    Is that so?
    Before suggesting anything, I would need to know what type of executable we are talking about...
    Can you provide more description?
    RayR

  • How to Run EXE From Applet...

    Hi everyone...
    I want to run EXE from Applet ...
    I tried it .. It runs good at Normal Case...
    But when I embed it with HTML it provides Access Denied Exception...
    can anyone give me the idea for Invoking an EXE From Applets loaded in browser....

    Hi,
    Your applet must be signed.
    Hope that help,
    Jack

  • Need run exe as administrator

    Hello, i need to run exe on User account with Administrator privileges in Windows 7. I do it only one method: right mouse click on exe and choose Run as administrator, type my domain admin password and it runs with admin rights.
    When i am running it over cmd and powershell with commands like run as user:domain\useracc /savecred "C:\Path.exe"
    it runs exe, but the program do nothing (only set indicator on startup), so it runs with admin privileges when i manually click on exe and choose Run as admin...
    Thanks for answers.

    there are several ways to achieve that one simple method is
    Start-Process powershell-CredentialDomain\username"C:\Path.exe"
    to run using login current credentials use below code with above
    $username = "domain01\admin01"
    $password = cat C:\securestring.txt | convertto-securestring
    $cred = new-object -typename System.Management.Automation.PSCredential `
             -argumentlist $username, $password
    Start-Process powershell-Credential $cred"C:\Path.exe"Please
    mark it as answer and helpfull if it help
    Thanks, STScripter

  • How to run exe file in cfm

    Hi all,
    Can anybody give me proper way to run exe file in
    coldfusion. I have tried with cfexecute tag but it is not
    working...
    Thanks,
    Manoj

    tclaremont wrote:
    > Are you trying to run an executable on the server, or on
    the client machine?
    > Does the CF service have execute permissions on the
    directory in question? What
    > does your error log say with regard to the attempted
    execution?
    >
    To add to all these valuable questions, what executable are
    you trying
    to run, what kind of parameters does it need? It can be a bit
    tricky to
    pass complex parameters through the <cfexecute ...>
    tag.

  • What is the best way to run .exe files on my mac?

    What is the best way to run .exe files on my mac? I need to run some updates for my john deere gps and the downloads i get can only be run on windows.

    There are several options for running Windows software (*.exe files) on a Mac, depending what your program is, how often you use it, and your personal preferences.
    One way that does not require Windows is an open source effort called WINE.  Check out winehq.org.  You may find that that's all you need for your programs.  There is also a commercial effort that has grown from WINE, and you will find info about it on the site mentioned.  These DO NOT require that you have and install Windows.
    If you want to run sessions devoted only to Windows software, and want programs to run as fast as they do on a PC, the Apple's Bootcamp program is useful.  With it you dedicate a partition on your hard disk to windows, and on startup choose to either boot into OS X or Windows.  Each runs without any connection to the other.  This requires you have a copy of the Windows software as well as the applications you want to run. 
    If you want to be able to easily exchange data between your Windows and Mac programs, and skip back and forth between the two, there are several emulators available that run on Mac OS X and create a Windows environment where many Windows programs can operate along side Mac programs.  Parallels and VMwear are two comercial packages available for purchase and Virtual Box is an open source effort available for free.  Google will find all three for you.
    My only experience is with Virtual Box.  It is slow and a bit clunky, but it is free and meets my needs for the very few "just got to have" windows programs I sometimes use.
    Google is your friend on this and can provide a lot more, and better, information than I can.
    Best of luck,
    Ray

Maybe you are looking for

  • Error while importing SAPKB70013 component?

    Hi, We got Solman 4.0 running in windows 2003 server. When i tried to import the BASIS sp components SAPKB70013, SPAM stopped at XPRA_EXECUTION stage with the following error "Method push_client is not declared or inherited in the class CL_FDT_STORAG

  • Video Skin not working in embedded SWF

    Are there issues with using a video skin on an swf that sits on a web page? Specifically, I have an swf that has a FLVPlayback component. The skin and its path are specified in the Parameters tab; autohide set to true. When the FLV in the swf plays,

  • PI 7.1 Configuration

    Hello, We have PI 7.1 and Central SLD 7.0 installed on separate host as part of our landscape. Can anybody refer PI 7.1 configuration with Central SLD? I appreciate your help Thanks, Kris

  • Camera Raw Support: how to open Canon 7D Mark II Raw files in CS5.5?

    I bought CS5.5 only a year ago and a Canon 7D Mark II a couple of months ago.  CS5.5 won't read raw files and I can't find a camera raw update that works with CS5.  Did Adobe quit supporting CS5.5 only a year after they sold it to me or is there a wa

  • Installation of Sun ONE Studio 5 SE 60 days trial

    It's supposed that a standard installation includes Sun ONE Studio and Sun ONE Application Server 7 with PointBase. I installed twice, in both installations the IDE works fine. But despite the installation completes without any error message neither