Can LabVIEW run as a service on WinNT kernels [without a user logon]?

Is it possible to run LabVIEW as a service on a WinNT kernel [NT 4.0, 2000, or 2003]?
I.e. is it possible to run LabVIEW without a user logging on?
Or must there always be a user logged on before LabVIEW can be run?
Also, if standard-issue National Instruments LabVIEW cannot run as a service, then are there any third party products [maybe from Endevo, or Vogel Automatisierungstechnik] that have the ability to create something like a "LabVIEW-lite" that can run as a service [without a user logon]?
Thanks!

Windows
=======
LabVIEW code can run within a service, but LV does not support being built as a service.
What is the difference? An NT Service requires a special exported API and integration with the NT Service Manager. We do not build that kind of EXE, just the regular EXE. However, you can build your LV application into a DLL and then load that up from your own service host EXE.
However, there are a couple of gotcha's that happen when running as a service. First remember that you cannot have any UI - so if any of your VI's attempt to open their front panel, you are going to be in trouble. Second, there is an issue with pumping Windows messages in LV right now. See my blog article on ASP.NET and LV (which is LV running in a service - the aspnet_wp.exe service). My blog link is in my signature.
Also remember that while a service doesn't need a user to log in, it itself is going to log into Windows to get the security credentials. You'll need to think about what credentials you want the application running under when you configure the NT service. Remember, Local System, which is the default, means that you have super user priv. on the local machine, but no NT Network permissions. It is generally a good idea to create an NT Workgroup or Domain account specifically for the service so that you can control what permissions it has.
Other Platforms
===============
Linux and Solaris daemons are a bit more straightforward and so, I think, both the EXE and DLL should work. However, I haven't done daemon work in over 10 years so I won't promise anything
I have never worked on a Mac so I have no idea. But X is really a Unix OS so I imagine it would be the same as Linux. However, for all platforms supported by LV, building into a library and then calling the library from the OS's service host *should* work. Just the same rules about the UI.
Brian Tyler
http://detritus.blogs.com/lycangeek

Similar Messages

  • Can you run multiple Excel Services Applications against a single Web Application?

    I have been struggling with this one for a while now, hopefully someone can help me understand what I am missing...
    I have a single SharePoint Farm.  This farm runs multiple Web Applications & the Service Applications.
    1. SharePoint Only Server with Multiple Site Collections (http://sharepoint.com/...)
    2. MS Project Server with Multiple Site Collections (http://pwa.com/...)
    3. My services applications all exist on the same farm.
    I was under the impression, and believe that I validated this through testing and from this site (http://blogs.office.com/2009/11/16/excel-services-in-sharepoint-2010-administration-improvements),
    that you can only run a single Excel Services Application against each unique Web Application.  In essence, I can run one Excel Services Application against the SharePoint Only Server, and another Excel Services Application against the MS Project
    Server...  However, I can NOT run multiple Excel Services Applications against the different Site Collections within the MS Project Server becuase it is only aware of its "default" Excel Service Application. 
    ie. I can NOT do the following:  ExcelServiceApp1 for
    http://pwa.com/SiteA & ExcelServiceApp2 for
    http://pwa.com/SiteB
    Is that correct?
    If that is not correct, then I must be missing a way to specify a different Excel Service App for each Project Web App Site. 
    Some other solutions that I think may work, but would really appreciate if someone could validate:
    - Create multiple Project Server Service Applications for each instance of PWA/Excel Service? (but wouldn't this still have to use one of the two WebApplications and cause the same limitation?)
    - Create a new Web Applciation for each PWA/Excel Service?  (ie.
    http://pwasite1.com;
    http://pwasite2.com; http://pwasite3.com, etc.)
    Thoughts/suggestions are very greatly appreciated!!!

    Hello Trpy2k
    I have not done what you are doing and I assume that you are using project server 2010.  However, you answer lives in PowerShell.
    The New-WebServiceProxy show that you can create a new proxy by spacing a URL and not a web application. The default proxy from the web application is directing to the default excel service.  If you need another excel service, you must specify another
    proxy and this may do it for you.
    Also, don't forget the Secure State service and that each excel report will need this configured, that is with the assumption that the other excel service requires different authentication.
    PS.  This question may get a better answer in the SharePoint forums.
    Cheers!
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • I have a Macbook Air 2011. Can i run Bit-locker in Windows 7 Ultimate without any problems?

    I have a Macbook Air 2011. Can i run Bit-locker in Windows 7 Ultimate without any problems?

    montana girl wrote:
    I purchased a MacBook AIr Nov. 2011 11" and current OS X 10.7.5.  I read that I needed to update to Snow Leopard before I can update to Maverick, ...
    Whatever you read was incorrect. You can upgrade directly to Mavericks. It is in the App Store and is free.
    Snow Leopard predates the operating system you already have. That's the reason it will not install on your MacBook Air. You spent $20 needlessly for it, but it's yours to resell if you wish.

  • Can LabVIEW Run-Time Engine 7.0 control LabVIEW 6.1 VIs?

    I'm attempting to remotely control a LabVIEW 6.1 example VI through the browser plugin on another system. On that other system, can I use LabVIEW Run-Time Engine 7.0? Or do I need 6.1?

    Never mind, I should have read the RTE 7.0 information first. I need LabVIEW Run-Time Engine 6.1 to run LabVIEW 6.1 VIs.

  • Can't run CORBA Name Service Sample Application

    Hi,
    I am trying to run CORBA Name Service Sample Application in tuxedo 8.0 (WinNT
    version). I get following error messages in ULOG file.
    103757.NANDKV!ISH.429.448.0: ISNAT_CAT:1053: ERROR: Error polling network connections
    103800.NANDKV!ISL.457.443.0: ISNAT_CAT:1386: ERROR: Cannot open handler process:
    The operation completed successfully.
    103901.NANDKV!ISL.457.443.0: ISNAT_CAT:1175: WARN: Disconnecting listener connection
    to client, request timed out
    Could anybody please explain about these errors?
    Warm regards,
    Nandu

    Hi,
    I am trying to run CORBA Name Service Sample Application in tuxedo 8.0 (WinNT
    version). I get following error messages in ULOG file.
    103757.NANDKV!ISH.429.448.0: ISNAT_CAT:1053: ERROR: Error polling network connections
    103800.NANDKV!ISL.457.443.0: ISNAT_CAT:1386: ERROR: Cannot open handler process:
    The operation completed successfully.
    103901.NANDKV!ISL.457.443.0: ISNAT_CAT:1175: WARN: Disconnecting listener connection
    to client, request timed out
    Could anybody please explain about these errors?
    Warm regards,
    Nandu

  • Can you run an XPC service inside a plugin? (e.g. a Print Dialog Extension plugin)

    I am creating a Print Dialog Extension (PDE) plugin. This plugin is called and displayed when a user Prints from different apps, e.g. TextEdit, Preview, Xcode, etc. Note that the plugin runs on top of the app that called the Print Plugin (for example, TextEdit).
    Inside the plugin, I need to run an XPC service. I need an XPC service since the entitlements on the main app might not be sufficient for my needs, e.g. I need to connect to the network, and TextEdit does not have the required entitlements for network connection.
    The problem is, I can't create an XPC connection. The handler always fire with XPC_ERROR_CONNECTION_INVALID.
    1.) Is this because the PDE Plugin is not inside the main bundle/main app, e.g. Text Edit?
    2.) If yes, how can I still run an XPC service within a PDE Plugin?
    3.) If no, then why can't I successfully create an XPC connection?

    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    /Library/Audio/Plug-Ins/HAL/de.access-music.virus_ti.plugin
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Move the selected item to the Trash. You may be prompted for your administrator login password. Restart the computer and empty the Trash.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • Can labview run on TI-430 microcontroller

    I would like to find out if I can run Embedded Labview 
    on a TI-430 Microcontroller?
    Thank you for the help... 

    Diego,
    Yes, it is possible. See this post for more details. 
    Misha

  • How can I run a background service in Firefox

    Need to know how to create a service and run on startup (in Firefox zte device).

    Hi,
    I want to create a service in firefox os which will run in background and listening to some events in device like screen on/ off state.
    Thank you

  • Can LabVIEW send an email through Microsoft Exchange server without an account set up in Outlook?

    I've found sample code that shows how to send email through Outlook using LabVIEW.  On any computer I log into on our network, my profile loads and I have access to the exchange server through Outlook so the code works.
    However, I am developing a program that will run on a lab computer with a generic PC login that is shared among everyone in the lab.  Exchange server/outlook is not set up for the generic user.
    Is it possible to have labVIEW send an email through the exchange server with a server name, username, and password coded into the executable?

    You would need to send a standard SMTP message via Exchange. The Exchange server will likely require authentication, so you won't be able to use the built-in SMTP VIs, as they do not support authentication. If you're on Windows you can use .NET (see this example), or use the OpenG SMTP VIs.

  • On XP SP3 can't run plug-in, get IE script error without running IE, click Yes or No, nothing more happens

    I am running XP SP3 and FF 3.6.18. I have been having trouble opening PDFs in FF but not in other browsers. FF tells me to update my Adobe PDF plug-in. I click in the FF list to update, go through the procedure and when I click on run I get the following message: "Internet Explorer script error," although I am not running IE and I have no other applications open or running other than Avast anti-virus. The pane gives me two options to the question "Do you want to continue running scripts on this page?": Yes or No. After clicking on either, the pane disappears, but nothing further happens. I have then downloaded the plug-in again, but when trying to run it I get the message: "Only a single instance of this application can run." I have tried downloading the plug-in to a different folder but get the same message. I have also turned off Avast with no change in the above. Now no PDFs open in FF. What to do? Thanks.

    Thanks for your response...
    I can wait.  After all, it was by waiting for the release of the 10h version after the 10e version sabotaged my flash installation, that I was eventually able to at least get Firefox up and running flash again...
    It's just frustrating to think that the folks at Adobe can't come up with a better product testing cycle so they are unleashing these problems on end users systems...
    I recognize that there may be some sort of issue with my particular system registry.  If so, I wish I knew what it was...but flash releases are the only installations I ever have any difficulty with...All of the other software I run updates without failing....sad to say...
    Perhaps I will try running a home edition version of secedit (See here)http://support.microsoft.com/kb/313222 instead of the clean or repair install...I'll let you know what I decide and how it works out...
    Anyway, thanks for the input..

  • Can I direct connect FIOS service to a TV without any boxes or adapters?

    I just built a new small bedroom in my basement, and am about to buy a new 22" flat screen TV that will be hung on the wall. If the cabling is split with a bi-directional splitter, do I need to have another adapter in my house? I already have 2 of them plus a box, and a DVR in the livingroom- I'm not trying to add more to my already high Verizon bill. If I need to have a box, I may reconsider putting cable in the room. Any thoughts anyone has would be great.
    P.S. Are bi-directional splitters able to be bought at Radio Shack or Home improvement center?

    Bi-directional splitters are available at radio shack and home depot just make sure you get a splitter that is at least 1000mgh this will prevent pixelation that would eventually occur
    Frank
    Verizon Telecom
    Fiber Solution Center
    Notice: Content posted by Verizon employees is meant to be informational and does not supercede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.

  • File sharing service fails to start without a user login.

    Using a Mac mini as a basic file & print server which is accessed by a variety of other platforms; primarily Windows XP.
    Recently, however, the file sharing has stopped running automatically despite the settings all being 'present & correct'.
    Platform is run as follows:
    - 10.5.8 Leopard (the client and NOT the server version) 
    - 'headless' i.e. no keyboard, mouse or monitor
    - has two active admin accounts (one is root) and a single user account.
    - Login is via the welcome screen i.e. no default user/automatic login takes place.
    Interestingly, when a default login account is enabled, the file sharing service works fine. However, this is a work around and not a fix so I am really looking to get the file sharing working without having to 'fudge' it this way; please bear in mind when replying.
    To add to the frustration, although the file sharing has worked in the past without a hitch in this configuration, I cannot think of any changes made that would hinder this function. Additionally, the print service also runs without a problem without the need to login otherwise.
    All help gratefully appreciated.

    Since the problem is before a user logs in, I suspect one of these files...
    /Library/Preferences/com.apple.RemoteManagement.plist
    /Library/Preferences/com.apple.RemoteDesktop.plist
    /System/Library/LaunchDaemons/eppc.plist
    /Library/Preferences/com.apple.ARDAgent.plist
    /private/etc/bootpd.plist
    /Library/Preferences/SystemConfiguration/com.apple.smb.server.plist

  • Can I run a different user as the managed server than the admin server?

    Under unix, can I run a Weblogic 7 managed instance as a different user than the
    admin server in the same domain? If not, any reference docs on BEAs site?

    You mean a different UNIX user? Yes, that should be fine.
    -- Rob
    Frank wrote:
    Under unix, can I run a Weblogic 7 managed instance as a different user than the
    admin server in the same domain? If not, any reference docs on BEAs site?

  • Can you run a different user on the managed server than the admin server?

    Under unix, can I run a Weblogic 7 managed instance as a different user than the
    admin server in the same domain? If not, any reference docs on BEAs site?

    That shouldnt pose a problem.
    anand
    In article <3f679e4d$[email protected]>, Frank wrote:
    >
    Under unix, can I run a Weblogic 7 managed instance as a different user than the
    admin server in the same domain? If not, any reference docs on BEAs site?

  • Running a project by clicking a icon without running oracle form builder

    Hi,
    How can I Run a project by clicking a icon without running oracle form builder?????
    Regards
    Ashraf

    Hi!
    For forms 6i client/server just create a shortcut for your application like:
    %forms_home%\bin\ifrun60.exe your_formand set the working path to your forms folder.
    For web forms create a shortcut with the url to your server/pc like this:
    http://pcname:port/forms/frmservlet?config=your_configand create a config entry in your %forms_home%/forms/server/formsweb.cfg
    for setting the modulename (fmx) and the working path for your application.
    Regards

Maybe you are looking for