Run a LV-app on remote computer

Hi all,
I am trying to setup a LabVIEW-App running as a server in our LAN. I could add this as a service in the autostart of the respective machine. I would, however, prefer to have a method for starting the respective app from a different LV (vi or exe) from elsewhere in the LAN. Meaning the prospective clients can start the server if it is not yet running.
Does anyone have an idea? Have searched the examples and the internet for no results.
TIA!
Greetings from Germany!
LuI
Solved!
Go to Solution.

This question comes up a lot.  And I always reccomend PsTools from SysInternals:
     http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx
They are a free set of command line utilities.  One of the utilities is PsExec which can be used to launch EXEs on remote machines.
NOTE:  Be aware that setting up your remote app as an "NT Service" is a bit more complex.  If you do actually manage to set it up as a "service", you would actually use a different tool (PsService) to launch a service on a remote machine.  Either one will do the job.

Similar Messages

  • Run batch file on a remote computer

    I am looking for syntax so that I can run a batch file that is on my computer and I want to run it on a remote computer. I am thinking I can do this with psexec but have not been able to figure out the correct syntax.

    psexec.exe -s \\namepc -u yourusername -p yourpassword cmd /k c:\blabla\Install.bat
    Install.bat must be on some folder on remote pc and I think that is only posible way.
    U can change \\namepc with @blabla.txt file with computers list if you want to run that bat file on more computers.
    Your account in this example must have admin rights on remote computer.

  • How do I send a command to run a program on a remote computer

    I am trying to use the TCP vi's to send a command to a remote computer on our local area network, so that a program runs on that remote computer. How do I do this, if possible?

    Set one server VI on the remote computer to LISTEN (create listener / wait on listener) continuously for one port. When it receive something, READ the string and see if it is the one that you are expecting. On your computer, set a client VI, which first CONNECT (open connection) to the remote computer (using remote's IP and port number) and then it SENDs a string containing the command.
    Hope it helps.
    p.s.: Uppercase words name the Vis that you should use for this application.

  • Run ARD administrer from a remote computer

    Sorry if this has been answered previously; searching with terms like remote and administrator doesn't restrict many responses.
    I have installed ARD on one of my Leopard Servers and I would like run it from my desktop computer as I do the server applications. Is this possible or do I have to be sitting at the server run ARD? I have checked through the Administrators Guide but can't find anything about this but it seem like a natural thing to want to do
    Thanks for any assistance.
    Bill

    If you don't need to run ARD from your workstation, you could have just the single copy of ARD on the server and take control of that via 10.5 screen sharing (that should still work with the ARD admin app running on the server, though I've never tried it) or VNC. Then you wouldn't need two copies of ARD. If you want ARD on your workstation as well, though, then you will need to purchase a second copy of ARD if you don't have two copies now.

  • How do i run a vi on a remote computer in a network

    on one computer(using Labview 6i)i have a vi that acquires data from "lab-pc+" board.now i want to run this vi on another computer(using labview 6i) in the network,but this computer does not have the "lab-pc+" board.how do i do this
    thanks shri

    VI server will allow you to execute a VI that resides on a remote machine from a LV application that is local.
    The only restrictions are fire-walls and speed.
    I have used this technique to allow supervisor personal to monitor and control factory applications from there laptop.
    Look into "VI Server" and "call by reference".
    FYI: This list (LabVIEW Real-Time) is set aside for questions involving the RT version of LV. You will get a larger audience if you post any follow-up question to the LV general list.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Assistance with my script to find all opened windows (applications running) on remote computer

    Hello,
    I have the following script whereby I want to list all the running (opened) applications on a remote computer.  It's a shared computer between two people who use the same generic ID.  Before one RDP's into it, I thought it would be interesting
    to see if any apps are opened before logging in. 
    Here is the code:
    $cred = Get-Credential
    Invoke-Command -ComputerName server123 {Get-Process *mail* | Where {$_.MainWindowHandle} | Select Name,MainWindowTitle} -Cred $cred
    It works in that it asks for my credentials and runs without any error...but this script also does not display any running applications. I'm not sure what it should show. Perhaps I need to add a line of code to display what it found?
    Another bit of info I would like to use in this script is to also confirm that the generic ID is logged in at the time I run this script.  I could use the following bit of code:
    get-wmiobject Win32_ComputerSystem -computername server123 | format-table -property username
    But when I run this code I get an access denied message. I'm assuming I need to use the Get-Credential again from my first script, but I'm unsure how to use it in the get-wmiobject?
    Any help you can provide would be greatly appreciated.
    Thank you.

    Ok...shifting gears again.  Instead of running this remotely I'm thinking of running a scheduled task on the server and creating this .htm file.  That way no one has to run and enter in credentials (and if entered wrong cause issues with locking
    out the account).  So, I've modified my script and confirmed that when I run it from Powershell when logged into the server, the results file correctly shows the logged in userid and the running applications (windows) I have opened. 
    But, when I run this same exact script from my task scheduler, the running applications piece is blank?  The server I'm running this on is Windows Server 2008.  I've tried running it from Task Scheduler using Powershell and from a .bat file that
    calls my Powershell script.  Both ways results in my .htm file not showing any applications running.  Yet when I run the same script (either from Powershell or the .bat file) the .htm file correctly shows the running applications.  My Task Scheduler
    Job is using the same user id that I'm logged in with so there shouldn't be any permission issues with running from the task scheduler.
    Here is my code:
    $a = "<style>"
    $a = $a + "BODY{background-color:peachpuff;}"
    $a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"
    $a = $a + "TH{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:thistle}"
    $a = $a + "TD{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:PaleGoldenrod}"
    $a = $a + "</style>"
    get-wmiobject Win32_ComputerSystem | ConvertTo-HTML -head $a -body "<H2>Logged in UserID</H2>" -property username | Out-File C:\Powershell_Scripts\Test.htm ; Get-Process |where {$_.mainWindowTItle} |Select-Object name,mainwindowtitle | ConvertTo-HTML -head $a -body "<H2>Open Applications</H2>" | Out-File C:\Powershell_Scripts\Test.htm -Append
    Can anyone tell me what might be the reason for the script running from the scheduled task having issues?
    Thank you.

  • Keystrokes on remote computer produces only a string of aaa's

    I can't connect to remote computers running ARD after having restarting remote computer. When I type into the login screen it only produces the letter a for every keystroke.
    Anyone seen this?

    Same problem here, 10.4.11/3.2 on server, 10.4.4/3.2.1 on client.

  • Connection doesnt work from remote computer

    Hi
    I have Oracle XE installed on a computer and my application (Excel application, VBA code) is working well with oracle xe.
    i want to run the application from a remote computer.
    I opened my application on a rempote computer and it could not connect to oracle xe..
    I installed the Oracle XE client on the remote computer but still the application cant connect to the oracle server from the remote computer.
    this is my connection string:
    sCon = "Provider=MSDAORA;Data Source=xe;User Id=myUser;Password=myPw;"
    the computer on which oracle xe express is located is called "Hagar1".
    how can i connect to the oracle from the remote application?
    thanks,
    Hagar
    Edited by: user641508 on 04-Dec-2008 10:26
    Edited by: user641508 on 04-Dec-2008 10:27

    the remote client doesn't know how to get to hagar1, simplest fix is add the entry to the tnsnames.ora file, run a tnsping hagar1 to find the location of the client oracle_home/network/admin/tnsnames.ora file and add:
    hagar1 =
       (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = xe_hostIP_or_name )(PORT = 1521))
        (CONNECT_DATA =
          (SID = XE)
      )Edited by: clcarter on Dec 6, 2008 10:53 AM add code tag

  • Trying to connect the RD app to remotely control a laptop running Win 7 Pro 64bit

    Can you please advice which changes I need to do on the Win 7 laptop to be able to connect to it from the RD client app? thanks!

    Hi,
    If the device you runs the RD App and your Windows 7 laptop are in the same network, you can just refer to the steps in this article to configure your Windows 7.
    Allow someone to connect to your computer using Remote Desktop Connection
    http://windows.microsoft.com/en-us/windows7/allow-someone-to-connect-to-your-computer-using-remote-desktop-connection
    However, if they are not in the same network, you may also need to configure your network device.
    Allow Remote Desktop connections from outside your home network
    http://windows.microsoft.com/en-us/windows7/allow-remote-desktop-connections-from-outside-your-home-network
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • HT1199 Can  I run iTunes and Apps on my Windows 7 computer or do I need an ipad or iphone ?

    Can I run ITunes and Apps on my Windows7 computer. So  far the one App I have downloaded just won't run. Do I need an iPad or IPhone to run these programmes?

    There is an iTunes on the idevices, just a Store effectvily.
    There is an iTunes on a PC and Mac, which is the Library handler, and connects to the iDevices for sync and backup.
    The Apps that you download for iDevices are downloaded with "Appstore" on that iDevice itself, or downloaded on the Mac or PC with iTunes for transferring to the iDevice.
    That apps will only run on the iDevice.
    For Window s7 and Windows 8 there has just been released a new iTunes version 11.
    Lex

  • I'm running out of hd space on my MBP with Mavericks. How do I move my Photoshop 5 app off the computer for more space. How can I store the PS5 app on DVD or on my backup hd for a future reinstall on my next Mac?

    I'm running out of hd space on my MBP with Mavericks OS. How do I move my Photoshop 5 app off the computer for more space, and store the PS5 app on DVD or on my backup hd for a future reinstall on my next Mac with larger hd?
    Thanks

    slaglejrp,
    perhaps it would be less expensive to just install a new disk with a larger capacity on your current MacBook Pro, rather than plan on buying a new Mac with a larger disk? Once your current disk has been cloned to the new disk, and the new disk has been installed into your MacBook Pro, that would allow you to keep Photoshop 5 on your current MacBook Pro.

  • So a long time ago I accidentally deleted the mail app from my computer. How do I get it back? My computer is an old MacBook running on Mac OS X 10.5.8.

    So a long time ago I accidentally deleted the mail app from my computer. How do I get it back? My computer is an old MacBook running on Mac OS X 10.5.8.

    This Knowledge Base Article may be of some help to you.

  • "Device Manager is running in read-only mode because you are running it on a remote computer" when local

    Hello - since configuring a Windows Web Server 2008 R2 x64 to be hardened for an internet-facing deployment I receive this:
    "Device Manager is running in read-only mode because you are running it on a remote computer."
    when entering Device Manager.
    I have tried reversing the changes I have made, such as:
    - Re-adding Client for Microsoft Networks
    - Re-enabling NetBIOS over TCP-IP
    - Re-adding File and Printer Sharing
    - Disabling the Windows Firewall in all profiles (public, domain, private)
    I get no joy. It looks like a Microsoft ballsup. I'll try and use Process Monitor to have a look. Google returns only 1 page for this error.
    Luke

    Got it.
    After my changes to DHCP and static IPs the machine picked up the IP address of another server on my little home LAN. The hostname in IPCONFIG was different to the actual server computer name and so this led Device Manager to think the connection and the
    local machine were different.
    What an odd and infuriating problem. My thoughts on this are that Microsoft should be more verbose with error messages and their causes. For example, displaying the values of the assertion would help diagnose a problem; "The host-name www02.farm.brand.com
    that you are connecting from does not match the local host-name rest01.dev.farm.brand.com. Connections from remote computers can only use Device Manager in read-only mode; some options will be disabled."
    When troubleshooting, the main thing on an engineer's mind is "what has led Windows to its [unexpected] conclusion?"
    Luke

  • Trying to download Mountain Lion on Mac Mini currently running Lion 10.7.4. Computer is set to never sleep.  When I check progress it says "waiting" under purchases on App store. What does this mean?  Way too long to still be waiting. HELP

    Trying to download Mountain Lion on Mac Mini currently running Lion 10.7.4. Computer is set to never sleep.  When I check progress it says "waiting" under purchases on App store. What does this mean?  Way too long to still be waiting. HELP

    In the app store where it says waiting, do you get the option to "resume"?

  • Running .exe file on remote computer using SQL server Agent JOb

    I am trying to run exec file on a remote server by using sql server Agent job, 
    what is the best way to do this
    k

    Configure it as an operating system job step:
    http://technet.microsoft.com/en-us/library/ms190264.aspx
    Alternate: build an SSIS package and schedule it as a job.
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

Maybe you are looking for