Can Vision Builder launch an executable file (exe) or batch file (bat)?

I know it can write system variables or read/write ini but am hoping there is a way to launch an executable.   I do not have LabVIEW, only Vision Builder.
Thanks!
Pete

Hi Pete,
Unfortunately, Vision Builder for Automated Inspection (VBAI) does not include any native feature to launch an executable without also using LabVIEW. If you were using LabVIEW, you could use VBAI to launch a LabVIEW VI which then in turn launches an executable. You could also create a custom VBAI step using LabVIEW and an additional toolkit, but again this will not be possible without additional software. 
Let us know if we can offer any more information!
Best,
Andy C.
Applications Engineer
National Instruments 

Similar Messages

  • How to launch an executable file

    I recently journeyed into the land of the light and am the brand new owner of a MacBook Pro.  Having been a slave to PC's for WAY too long, I am clueless how the mac operates, but a VERY quick learner.
    I am have downloaded an executable file that I need for work, but cannot seem to get it to launch to install my program.  I know this is very elementary, but we all have to start somewhere.
    Thank you!
    Shelly
    PS - this is only the first elementary question i will have, so if you have a good source for Mac beginners, please share. I haved purchased "Macbook Pro - Portable Genius", but that seems to be more focused on visually arranging my computer. 

    Shootist007 wrote:
    As to the Executable file. Apple Mac OS X does not use Executable files (.exe).
    Ahem! Of course it does. Any computer does
    <http://foldoc.org/executable>
    It's just that, on Mac OS X, the filename extension .exe does not designate an executable, as it does on other platforms. Mac OS X GUI applications have the filename extension .app, but, technically speaking, although they function as the equivalents of .exe files on Win, they are not executables themselves (the executable file being buried inside).
    Mac software is usually (but by no means always) distributed as compressed archives (.zip), with which you're familiar from Win, or as disk images (.dmg), which may or may not be compressed. In principle they are similar to .iso disc images on Win. (Btw, a disk is a magnetic medium, while a disc is an optical medium. Now you know how to separate the sheep from the goats.)
    s2parks wrote:
    we all have to start somewhere.
    Switch 101: On Windows, I used to...
    <http://support.apple.com/kb/HT2514>
    Mac Tutorials
    <http://www.apple.com/support/mac101/work/>
    Mac 101
    <http://www.apple.com/support/mac101/>
    Additionally, David Pogue's Missing Manual is often suggested for beginners. You can also check
    Take Control of Switching to the Mac by Scott Knaster
    <http://www.takecontrolbooks.com/switching>

  • Can I build two LV executables which share data using a type 2 global?

    I have two LV applications which share data residing in a common VI configured as a type 2 global. Is it possible to configure my build settings so that both applications can continue to share data?
    One approach I tried was to build the common VI into a dll which can then be shared. This works fine with the original applications but falls apart once I build them into executables.

    Ha! Accessing VIs inside an EXE is the best trick I've learnt for a while. Thanks
    As for the rest of my issues...
    I was originally using a LV2 global to store an array of variables (variants). The elements in the array are indexed by storing the variable name as an attribute. This allowed me to easily pass data between modules.
    What I wanted to do was build the modules (one by one) and then continue to use my loader, but once each module is built it seems to run in a completely separate memory space. I can't share the storage VI, even if I dynamically call it using VI server or build it into a DLL.
    I have had a play with the data socket approach and it works perfectly - both in development mode and with built apps. At the moment I am just passing the entire storage array around (was the easiest mod to my existing code) but may be better to pass individual elements around.
    So now I have a loader based application that can pass data efficiently between modules, with the flexibility that I can build new modules at any time
    Thanks for the help!

  • How can I run a labview executable file inside a VI

    How can i add and run a labview executable file inside the vi and grab the output of the executable file to be used in the vi?
    mytestautomation.com
    ...unleashed the power, explore and share ideas on power supply testing
    nissanskyline.org
    ...your alternative nissan skyline information site

    Hi cmdrb,
    to run an executable you use SystemExec function.
    To get the output of your (LabVIEW-made) executable you need to program some data transfer means: you may use network functions or file functions. In both cases your "LabVIEW executable" needs to provide that options…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Can OSX run a Unix executable file?

    There is a new way of viewing and assembling multi part files. It is called .daa (direct access archive0. It is like the old .rar archive. The only application I could find is Power ISO which is only available for windows and UNIX. I have the UNIX fille which get info describes as a UNIX executable file. What now?
    Bob

    Sounds like bad news. The application was for Linux. Here is the web site
    http://netforbeginners.about.com/gi/dynamic/offsite.htm?zi=1/XJ&sdn=netforbeginn ers&cdn=compute&tm=36&f=10&su=p284.7.420.ip_&tt=12&bt=1&bts=0&zu=http%3A//www.po weriso.com/download.htm.
    Thanks Bob

  • Can not Open XMD from EDK / can not find the firmware executable file

    Hi,
    I have two problems:
    1. I finished generating the bitstream in the EDK project. But when I try to open XMD in the EDK menu by doing "Debug --> Launch XMD" The XMD doesnt shows up. While the EDK output window says "xterm -e xmd -xmp system.xmp -opt etc/xmd_microblaze_0.opt&"
    does anyone know how to launch XMD from EDK?
    The system I am using is Ubuntu 9.10, the EDK version is 10.1.03 and I also use USB to JTAG for programming the board, serial port from the desktop to serial port on 110T FPGA.
    2. I start the XMD in terminal manually
    and type the command " xmd -xmp system.xmp -opt etc/xmd_microblaze_0.opt& " in the directory where the system.xmp file located.
    it shows the following error information
    Xilinx Microprocessor Debug (XMD) Engine
    Xilinx EDK 10.1.03 Build EDK_K_SP3.6
    Copyright (c) 1995-2007 Xilinx, Inc. All rights reserved.
    Overriding IP level properties ...
    Address Map for Processor microblaze_0
    (0000000000-0x00003fff) dlmb_cntlr     dlmb
    (0000000000-0x00003fff) ilmb_cntlr     ilmb
    (0x40600000-0x4060ffff) RS232_Uart_1     mb_plb
    (0x40c00000-0x40c0ffff) Hard_Ethernet_MAC     mb_plb
    (0x41200000-0x4120ffff) xps_intc_0     mb_plb
    (0x41400000-0x4140ffff) debug_module     mb_plb
    (0x74600000-0x7460ffff) DDR2_SDRAM     mb_plb
    (0x80000000-0x8fffffff) DDR2_SDRAM     mb_plb
    (0x80000000-0x8fffffff) DDR2_SDRAM     dxcl
    (0x80000000-0x8fffffff) DDR2_SDRAM     ixcl
    XMD%
    ERROR:MDT - Options file (etc/xmd_microblaze_0.opt&), Not Found or Not Readable
    ERROR:MDT -
    -- Error in XMD Initialization. Type "exit" to Quit XMD
    does anyone know how to fix the problem?
    Many thanks!

    Hi,
    I had some trouble with XMD on Ubuntu too.
    I wrote an install guide including adjustment of XMD.
    You can check it out at my website: [EDK 10.1 Installation on Ubuntu 9.04 64Bit|http://wienker.org/blog/?p=78]
    Cheers

  • Can Document Builder parse an XML file from a URL?

    Warning: Java newbie here...
    My problem is that I am able to parse an XML file if it is copied into my project, but not if it is a full URL. Here is what I got so far, that works.
    import java.io.*;
    import java.net.*;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    try {
        File file = new File("path/to/file.xml");
        DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
        DocumentBuilder db = dbf.newDocumentBuilder();
        Document doc = db.parse(file);
        doc.getDocumentElement().normalize();
        NodeList nodeLst = doc.getElementsByTagName("Names");
        for (int s = 0; s < nodeLst.getLength(); s++) {
            Node parentNode = nodeLst.item(s);
            if (parentNode.getNodeType() == Node.ELEMENT_NODE) {
                Element parentElmnt = (Element) parentNode;
                NodeList nameElmntLst = parentElmnt.getElementsByTagName("Name");
                //etc.
    } catch (Exception e){
        e.printStackTrace();
    }So building off of this I have tried to parse an input stream like this:
    URL url = new URL("http://example.com/file.xml");
    InputStream is = url.getInputStream();
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    DocumentBuilder db = dbf.newDocumentBuilder();
    Document doc = db.parse(is);which gives me the following error
    [Fatal Error] :-1:-1: Premature end of file.
    LOG: HME receiver connected
    org.xml.sax.SAXParseException: Premature end of file.
    I also even tried to write the file locally like this:
    URL url = new URL("http://example.com/file.xml");
    HttpURLConnection urlcon = (HttpURLConnection) url.openConnection();
    urlcon.connect();
    InputStream is = urlcon.getInputStream();
    File file = new File("path/to/file.xml");
    OutputStream out = new FileOutputStream(file);
    byte buf[] = new byte[1024];
    int len;
    while((len=is.read(buf))>0)
        out.write(buf,0,len);
    out.close();
    is.close();
    DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
    DocumentBuilder db = dbf.newDocumentBuilder();
    Document doc = db.parse(file);This gives the same error.
    If anyone can point me in the right direction I would forever thankful. I've tried search Google and the Sun forums, but haven't quite found the solution. I think it is because I need to try something else completely. Thank you for reading.
    ~~~~ Jeremy

    jmose wrote:
    If I copy the page, it works as shown in the first code block. In the third codeblock the file is never even created, so I cannot tell if that works or not.So: having the parser access the URL fails, and having some other Java code access the URL also fails in the identical way? That suggests the problem is simply accessing the URL via Java code. Presumably when you downloaded the data from the URL, you used a browser to do it and not wget or something like that?

  • Can I build this kind of file with Reports?

    I've not used Reports for anything other than formatted reports before, your help is appreciated.
    What I'd like to do with a Report is build a file with very long lines (each 610 characters long). It is simply the result of a query that builds a fixed-width line file for export to another process. This file is currently built within Forms (writes to the client machine with TEXT_IO), but it would take hours and hours to write out the entire file and it times out after an hour. I need to find a better way.
    Can Reports handle the long lines or will it wrap them? Will it build a text file like this?
    Thanks,
    J

    You are running a report that takes many hours you say. That is typically a batch job. Place the output in a directory where the user has access, e.g. on a file server.
    BTW: you can still use Reports if you want. Just make it a wide report. Reports has scheduling possibilities, report output location options etc.

  • Can't run executable file by LV7.1

    Dear all,
    I am surprised I can't build and run executable file by LV7.1.
    I used to write some vi with LV7.1, and built the executable file according to these vi. It was no problem to build and run this executable file that time. Now I can open these vi well with LV7.1, bu I can't run this executable file well, it will prompt a error, please refer to the attachment. I try to build a executable file according to a simple vi, and then I can't run this exe file well any more.
    Can you help me to solve this problem? Thank you in advance.
    Evan
    Solved!
    Go to Solution.
    Attachments:
    Error prompt.jpg ‏2305 KB

    @Christian: That's not correct.
    One reason for this to happen is if LV 7.1.1 is installed and then you install an application including run-time engine built in 7.1. This corrupts the run-time engine.
    See here: http://digital.ni.com/public.nsf/allkb/680E61A4D02158A186256F7A0073C228
    Daniel

  • How to Create Executable file for a project for Crio Platform

    hi,
    i am using CRIO 9014  platform  for my application development.
    i am controlling (   Reset  &  then Run )  FPGA   from RT application .
    Through TCP/IP  communication the  Acquired data  (   from FPGA  then followed by some Computation Logic in RT )   is sending   to HOST computer .
    during the above process  
    First i am starting the RT Application    (  the TCP  network will be continuously in listen mode )    then
     i am  starting my HOST Application   in the project .
     here i want  to build my complete project as an  executable file 
    so that i no need to start  RT Application first and then HOST Application.
    Could you please send me One sample Project           with built in simple  ADC Acquisition  loop /  logic  in FPGA  ,  then  one sample logic  / while loop   in RT   to   acquire  this ADC data from FPGA and  send to HOST    via  TCP/IP network then   the  HOST   with GUI    for  Display in the HOST .
    This  complete project should be build in  .exe  file .
    Please  complete project  files  and .exe file    as a  zip file.
    Regards,
    Venkat

    Hi,
    I might be confused but what I understand from what you have mentioned is that you want to create a project having two VI's. One running on your FPGA target and another running on you host computer.You want to build a single executable file to complete the entire operation.
    Unfortunately you cannot have both VI's in same executable file. You can build one executable file and deploy on your FPGA target that will start running as soon as the target is booted. And you can create another executable file for running VI on your host computer. And instead of using TCP to transfer data, you could use "Interface FPGA" from FPGA module to communicate between your host computer and communicate.

  • LabVIEW version for Vision Builder AI 2012 plugins

    Hi all,
    Ii was a bit of a challenge to find out which version of LabVIEW was necessary to develop custom plugins for Vision Builder AI 2012, I found it by starting the installler, it is LabVIEW 2011 (but I wish I could find this information in Vision Builder AI 2012 readme file).
    Now my question is : is it possible to use LabVIEW 2011 SP1 to develop custom plugins for Vision Builder AI 2012?
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Solved!
    Go to Solution.

    Right... I tried, I installed all the VBAI and LabVIEW versions I could.
    I turns out LV 2011 sp1 is just an upgrade of 2011 and as such LV2011 SP1 can be used to develop custom plugins for Vision Builder AI 2012.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • How to compare LabVIEW executable file?

    I have a labview executable file that I build 2 years ago, and with the same source code, I build a new executable file. Does anybody know how to compare the 2 executables?

    Well if you built from the same source the functionality should be the same. But if you build the same source with different versions of LabVIEW then you never know. Maybe the new version exposes a hidden bug in your code or fixes one that you depended on.
    There is no way to do what you want by examining the bytes in the exe. You have to just do testing. You could either do this manually or automate it using the Unit Test Framework. There is also VI Tester by JKI.
    =====================
    LabVIEW 2012

  • Can AIR execute Windows .EXE files?

    Can AIR execute Windows .EXE files?

    hi
    you can now implement a standard windows installer (ie a native installer, rather than the AIR installer) when users install your AIR app. Not sure if there's an option to do this in flex/flash builder but it can be done via command line.
    eg:
    adt -package -storetype pkcs12 -keystore myCert.p12 -target native NativeProcessTest.exe NativeProcessTest-app.xml NativeProcessTest.swf NativeApps/Windows/bin/echoTestWindows icons
    or try this handy packager:
    http://www.webkitchen.be/package-assistant-pro/

  • How can I see the current script file name in Vision Builder

    I would like to not have to remember which script file I have open. Is that displayed somewhere?

    Brian,
    I have been looking over Vision Builder 6.1, and from what I can tell, the name of the file that you are working on is not displayed on the screen, and there does not appear to be a way to get it to display there.
    This seems like a very worthwhile feature to add, and I definitely agree that it would be useful. You may want to consider filing a Product Suggestion by using the Product Suggestion Center (PSC) that is linked below:
    Product Suggestion Center
    The PSC links directly into our R&D group's suggestion database, and any suggestions entered would be reviewed by the R&D team.
    Regards,
    Jed R.
    Applications Engineer
    National Instruments

  • How to change the output executable file name(a.prj:(output)--- b.exe)

    LabWindows / CVI: how to change the output executable file name
                For example, I have an A project a.prj, I do not want to compile the output file is a.exe, but b.exe.
    I will try to save as a.prj b.prj, a.cws save as b.cws
    eg:a.prj  ---->(output)--->b.exe
    Solved!
    Go to Solution.

    You can go to Build >> Target Settings menu item, select Release (or Release 64) in the Configuration filed and set the name of the executable to create in Application FIle field, withouyt need to change the prj or cws filename.
    See the complete description of available options here.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

Maybe you are looking for

  • Can not see wireless TM in disk utility or desktop.

    Am I running a TM Airport (router) it runs great, I love everything about it and the backups have no issues. But I wanted to partition my 500mb drive on my TM yet for some reason I can not see the drive either on my desktop or in disk utility. Is the

  • Displaying message  in JApplet while downloading a file

    hi In my applet Im trying to download a file from server to client while downloading i want display progressbar/ msg when i try to do this my applet GUI dosnot loads untill that file download complete and i tried with a button so that ofter clicking

  • How to calibrate PS CS5 to correctly print in HP T770 Plotter

    Hi, I recently installed in my shop a HP T770 Plotter but when I print something in it all the colors look faded. I calibrate my monitor using Windows 7 tool and after I did that the colors looks amazing in my monitor, but not that great on paper aft

  • NAC OOB VIRTUAL GW PROBLEM

    Hi, I am trying to setup a NAC OOB Virtual GW Scenario (attached is the visio schematic of the setup): Switch: 3550 (ios 12.2(46) adv ip serv) NAC 4130 appliances: v4.1.6 (also tried v4.5) Switch Configuration of the trunks to the CAS): - int f0/23 (

  • How to read cluster data

    How can I read in separate paramters from a cluster? (plz see the attached VI) It could be a simple problem, but I cannot figure this out. plz help! BR, Attachments: aggressor config read.vi ‏57 KB