How to start a LabVIEW executable programmatically.

I created a LabVIEW executable and want to start it programatically from another PC.
I know how to start LabVIEW remotely but not how to handle an application.

If you have NT/Win2k machine, then you can launch labview built exe using DCOM. Here is example that tells you how to do that.
http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&9208517E41C2B1B18625683A000CB86E&cat=9C6DF90777E5A78206256874000FA14E
Another one
http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&20346814BACE06BF8625683A000C3C98&cat=46E7994B7483D781862567C300662667
A Rafiq

Similar Messages

  • Use VI server to start an LabVIEW executable on a remote computer ?

    I have VI server starting an executable on the same computer; however, when I try to start an executable on a remote computer I get a message that the remote host refuses connection.
    I think I may have to set priveleges both at the Windows (XP) and perhaps at the LabVIEW LEVEL (in the INI file ?).
    Any help would be greatly appreciated.

    You cannot use the TCP VI Server to start an executable remotely. Open Application Reference opens a connection to an executable that is already running.
    You have to use DCOM/ActiveX to do that. See here.
    LabVIEW, C'est LabVIEW

  • How to start I/O server programmatically

    Dear All,
    I write a vi to create shared variables and Modbus TCP server with in a process programmatically.  After running this vi, In Distribution System Manager window, all the shared variable is there but modbus io server is not running!
    When I right click the modbus io server node in Distribution System Manager window, select edit io server, left click on OK button to close Configure Modbus I/O Server window without any change, after unfolding modbus io server node the modbuse  io server is running!
    I have use Enable Process VI  to run the process. Do I have to do anything to start I/O server?
    I use LaView 2011 with DSC module.
    Regards,
    Jonathan

    Could you please post your VI here?

  • How do I remove LabView executables downloaded onto a Pocket PC (2003)?

    I'm just testing out the process and I've downloaded a couple of versions of the tutorial executable. I'd like to know how to delete these (and future executables) so I don't clutter my pocket pc.

    Just like you delete any other file. On the file explorer click on file until you get choices to delete, copy, etc.
    You will not be able to delete the file if the program is running in memory.
    Dont exit the programs by clicking on the x on the window. Use the stop or exit buttons provided with the program.
    Review all the programs in memory and verify that the file to be delete is not running. (There is one button on the pocket PC to see all programs running)

  • Disable autorun feature on labview executables **has not been solved**

    Trying to disable the feature that starts your labview executable automatically when opened. I know that I could create a start button and all that jazz, but I would prefer to disable this feature if possible.
    Solved!
    Go to Solution.

    You can't disable that "feature" because that's not how applications work. An application will run as soon as it's opened. Does your web browser wait for you to press start before it starts running? That's how it works. If you don't want the VI to start its work as soon as you launch the application then you need to put it in an "idle" state as soon as it runs and it will stay there until the user presses a "start" button. I would suggest looking into a state machine design. http://zone.ni.com/devzone/cda/tut/p/id/3024

  • 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

  • How to create a standalone executable in LabVIEW 2009 Professional Development System?

    How to create a standalone executable in LabVIEW 2009 Professional Development System?
    Solved!
    Go to Solution.

    This should help you out http://zone.ni.com/devzone/cda/tut/p/id/3303
    Also remember that quick search with Google in many cases will be quicker than asking in this forum. I always use Google before I ask for help in any forum. It is much quicker
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How to start with FPGA and LABVIEW when you do not know any computer language? Only have exposure to Windows OS.

    Myself is an Electronics Engineer. But I don't have any exposure to any comp language like C or whatever. I do not have any exposure to Labview as well. I've been involved in design and developing Digital Circuits like interlock units, Position monitoring and display systems etc. Now I want to work upon FPGA based circuits. Can anyone suggest me plz that how to start with?  

    Hi BNarendra;
    Here are some resources that can be useful, the first is an introduction to LabVIEW and the other ones are for LabVIEW FPGA.
    LabVIEW
    http://zone.ni.com/devzone/cda/tut/p/id/5247
    LabVIEW FPGA
    http://www.ni.com/swf/presentation/us/labview/lvfpga/default.htm
    http://digital.ni.com/public.nsf/allkb/0697A6F4BFC6E152862570FA0072153A?OpenDocument
    http://zone.ni.com/devzone/cda/tut/p/id/3261
    I hope the information is useful.
    Good Luck!
    Francisco Arellano
    National Instruments Mexico
    Field Systems Engineer - Energy Segment
    www.ni.com/soporte

  • Is there any Way to find Which case is Executing in LabVIEW VI programmat​ically and Display it..

    Is there any Way to find Which case is Executing in LabVIEW VI programmatically and Display it..
    Solved!
    Go to Solution.

    I wrote this a few years ago: http://lavag.org/files/file/199-state-machine-foll​ower/
    This JKI RCF Plugin sets the Visible Frame property of a Case Structure while the owning VI is running. Use it to follow the execution through the cases in your string-based State Machine/Sequencer when Execution Highlighting isn't fast enough (and, it's never fast enough).
    The use-case I wrote this to improve is setting a Breakpoint on the Error wire coming out of the main Case Structure and probing the Case Selector terminal so I can float-probe wires during execution. The problem with this is that I had to manually select the current frame every time. This is boring, so I developed this plugin to automatically set the Visible Frame to the case most recently executed.
    You might be able to adapt it to your needs.  The basic idea is that a custom probe on the wire to the Case structure's selection terminal sends a notification to a VI that displays the appropriate case.
    We might be able to help you develop something easier if you'll give us more information.  Is it OK if the code to display the case is in the same VI?
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • How to start an executable program from a java program ?

    Hi,
    does someone know how to start an executable program from a JAVA program ?
    Thanks, Fred.

    Take a look at the Runtime class.
    -S-

  • How do you generate an executable in LabVIEW 8.6?

    How do you  generate an executable in LabVIEW 8.6?  A point to a web site would be helpful.
    Thanks in advance.

    In version 8.0 and above you must create a LV project first.  Once
    you have created a project you can right click on build specifications
    located at the bottom of the project window.  Select
    new>>application.  This will allow you to create the exe.  If you
    want to create an installer then you must follow the same process. 
    They are now separate. 
    To find more information goto
    the help menu in a LV window and select "search the LabVIEW help"  When
    the window pops up select the index tab and type the following:
    "building, applications (how-to)"  This should give you the information
    you need.
     Hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • Hello, sombody knows how to start MS Excel from LabView (version 8.2)? Thanks

    Hello, sombody knows how to start MS Excel from LabView (version 8.2)? Thank you in advance.
    Regards Robert

    In the example finder  ">Help>Find Examples >>search for Excel", you'll find a sample program called "ActiveX Event Callback for Excel".
    It opens the Excel Application..  You can build on this to open/create new worksheet(s), etc.
    RayR
    Message Edited by JoeLabView on 06-20-2007 08:21 AM
    Attachments:
    OpenExcel.PNG ‏34 KB

  • 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

  • How can I call a LabVIEW executable from within another LabVIEW executable?

    I have a customer requirement for two LabVIEW executables. Based on their current setup, they need to run executable "A" or "B", both of which are under independent revision control. I have created a third "selection" executable that allows the operator to choose between one of the two, but I am receiving errors when I attempt to call a LabVIEW executable from within a LabVIEW executable using either the "System exec" VI or the "Run Application" VI. If I call a non-LabVIEW executable (such as Windows Explorer) everything works fine.

    > I have a customer requirement for two LabVIEW executables. Based on
    > their current setup, they need to run executable "A" or "B", both of
    > which are under independent revision control. I have created a third
    > "selection" executable that allows the operator to choose between one
    > of the two, but I am receiving errors when I attempt to call a LabVIEW
    > executable from within a LabVIEW executable using either the "System
    > exec" VI or the "Run Application" VI. If I call a non-LabVIEW
    > executable (such as Windows Explorer) everything works fine.
    As with the other poster, I suspect a path problem. You might try the
    path out in a shell window, and if it works, copy the complete absolute
    path to LV to see if that works. LV is basically passing the comma
    nd to
    the OS and doesn't even know what is in it, so you should be able to get
    it to work.
    The other poster commented on subpanels, which is a good suggestion, but
    without going to LV7, an EXE can have open more than one VI. You can
    use the VI Server and the Run method to fire up another top-level VI.
    The decision is whether you want both to be in unique processes.
    Greg McKaskle

  • How to stop and start (restart) portal services programmatically?

    Hi experts,
    I develop a portal service IMaintenanceService extending IService.
    The new service has some profile properties (start date, end end, etc.).
    I wrote another portal application MaintenanceManager which can change these profile properties.
    However, to activate the changes I have to restart the portal service.
    Does anyone know how I can restart the portal service IMaintenanceService from my portal application MaintenanceManager?
    Thanks for help.
    Edited by: Daniel Fötsch on Nov 21, 2011 8:24 AM

    please see the metalink note
    How to Start/Stop MWA Services Using Control Scripts adstrtal.sh/adstpall.sh? [ID 731320.1]
    This is how i startup and shutdown WMA
    for stopping :
    1) login to Applications tier
    2) To see if the MWA (telnet) server is running use:
    ps -ef|grep DPID
    3) cd $MWA_TOP/bin
    3) ./mwactl.sh -login sysadmin/xxxxx stop_force 10200;
    4) check the wma process from OS level
    ps -ef|grep mwa
    for starting
    1) login to Applications tier
    2) cd $MWA_TOP/bin
    3) ./mwactl.sh -login sysadmin/xxxxx start _force 10200;
    4) check the wma process from OS level
    ps -ef|grep mwa

Maybe you are looking for

  • (8I) COLLECTION TYPE 변경 방법

    제품 : SQL*PLUS 작성날짜 : 1999-05-12 COLLECTION TYPE 변경 방법 ========================= collection type은 attribute나 column의 데이타 타입으로 사용된다. 이전에 정의한 collection type의 property를 변경해야 하는 경우가 종종 발생하게 되는데 그 작업이 간단하지 않다. ALTER TYPE문은 spec이나 body를 재컴파일하거나, member를 추가

  • PO values

    Hi all i need prepare following report, please guide me provide me list of table and how to proceed. Input Parameters: **Plant: - - to - (Multiple options) Storage Loc - - to - (Multiple options) Vendor - - to - (Multiple options) **GRN Date - - to -

  • TO for deleted delivery.

    Hi All, I was returning stock back from a delivery in LT0G and hit the return to stock button instead of Putaway Foreground.The material shows its still in 916 with the delivery number as the storage bin. The delivery has already been cancelled. The

  • I need documentation for BW-CRM

    I am working on BW-CRM(services and marketing). if you have any documentation about crm and how bw interact with crm, please forward it to my email [email protected] i apprecaite you help. Thank you. Rafi

  • Unable to configure BMR protection on Windows Server 2008 from DPM 2012 r2 server

    We are trying to implement BMR and System State protection on our physical servers and have had issues when trying to set it up for a server running windows server 2008. I have verified that the DPM agent is up to date running version 4.2.1273.0. Whe