How do you create a program in Labview that can be run as a Windows Service?

I would like to create a Labview program that can be run as a Windows service.  I have read the following Knowlegebase articles and have done what they say. 
Creating a Windows NT Service Using LabVIEW http://www.ni.com/white-paper/3185/en 
Running a LabVIEW Application as a Windows NT/2000/XP/Server 2008/7  User-Defined Service http://digital.ni.com/public.nsf/allkb/21BA0F671A63A60386256CB4004DF99B
When trying to start the service I get an error that says the program didn't respond to the start in a timely manner.  I also set the "run when opened" parameter in the VI.  I am programming in Labivew 2010, proffesional version.  The server is running Windows Server 2008.  Can anyone help?  Is the ini file important in Windows Server 2008?

I haven't looked through all those links.  But I have created Windows Services from LabVIEW executables way back when WinXP came on the market.
The problem with services is that they have no UI.  So you can't really see what is going on.  Your EXE might be failing or hanging due to some kind of error (most liklely a security/permissions error), but you can't see the error.  So my advice is to either:
1.  Have your EXE write lots of info to a log file.  Write info that log every step in the application.  If an error ocurrs, have it write the error info to the log file.  That is a very useful debugging tool.
2.  Use VI Server functions to monitor the service to see what is going on. 

Similar Messages

  • How do you convert a webarchive file so it can be run on a PC?

    How do you convert a webarchive file so it can be run on a Windows PC?

    Save the page as PDF instead. Most Windows users have a PDF reader installed.
    File > Export as PDF

  • How do I burn a CD or DVD that can be opened on a Windows PC?

    How do I burn a CD or DVD that can be opened on a Windows PC?
    Here's what we tried - and none of this worked when we tried the CD and DVD at our local library on their Dell, Compaq and IBM PCs.
    1. We have 11 documents composed in Word (2004) in .rtf format with many, many photos embedded. The documents are in a folder.
    We first created a disk image of the folder using Disk Utility: File> Create image from folder. Once we had the .dmg which was about 1.16 GB we burned this onto a DVD choosing no compression and no encryption. This DVD worked fine on the MBP but it wasn't even recognized by any of the PCs at the library.
    2A. We tried to compress the folder to burn it onto a CD. In DU, by choosing compression with no encryption we reduced it to about 530MB. For some unknown reason when we tried to burn this onto a CD using DU, we got the message that the CD didn't have enough space. It is a 700MB CD so that made no sense - does anyone know why this would occur?
    2B. So, we went to the Finder to use its burn option. We were able to put the 530MB compressed folder which we created in DU onto a CD using the Finder. Again, this worked fine on the Mac. At the library this CD was recognized by the PCs, but Word couldn't open it. Once we got a message that it was too large to be opened (bigger than 32MB!) - the librarian did not recognize this as a default that they might have set. Mostly, we got the message that Windows could not open the document.
    What should we have done? What should we do to achieve this? I know there must be a way.
    Mrs H

    K Shaffer wrote:
    The .zip file created by File> Create Archive in the Finder menu bar, would suffice;
    but if traveling as far as India, you could consider taking along a USB flash memory
    dongle with the file(s) on there as backup to the one you put on a DVD or CD media.
    Thanks for the extra info, K.
    This sounds like a good idea, but the CD is a gift for a friend in India and presenting him with a flash drive just won't be the same. (Although I suppose we could take the drive with us and burn something there - but that's too risky if it fails on the ground and besides, what we'd have on the drive would be Mac created, unless you have an idea on how to get around that - DU DVD/CD master? convert?)
    {Little space is gained by putting a .dmg file inside a .zip file; I've checked with some
    of mine and often it isn't really a deal maker to add a step in this process.}
    The original folder as a dmg was 1.16GB too big for a CD. As a compressed file done in DU it was about 530MB and as a zip it is 450 or thereabouts. The files are on the MBP and I am on the G4 now and it is not turned on.
    The fairly easy to use application the link takes you to, has almost no learning curve.
    It will not compress an item, but you can easily; to include putting items in folders and
    then use Create Archive to make them one package...
    The Burn 2.3 utility makes Mac+PC compatible disc recordings, in DVD and CD media.
    The simple interface is why it is handy. Otherwise, one could probably get by with the
    other methods which are native to the Mac; through other steps...
    I'm not sure what I am gaining at this point in time by doing this - if you both think archive (zip) and burn from finder will work.
    This does sound like something we can definitely use in the future, thanks.
    Mrs H

  • How do you create superscripts subscripts in LabVIEW?

    I want to create superscripts subscripts in LabVIEW, but those are not options in the Applications Font Dialog Box. How do I do this?

    Hi,
    If you need users to create those formulas, it can get very complex. You
    cannot have font differences (or different fonts) in one string control.
    Even if you make a font with sub and superscript included, this is no
    solution.
    If you need a static formula on the front panel, make it by using several
    text boxes. For Asubscript(2)=Asubscript(1)Xsuperscript(2), one text is A =
    A X B. The other text is smaller, and has 2 1 in it. The last has a 2
    in it. When placed in the right position, it will make a fine formula.
    If the formula must be user editable, or changeble from the program, ActiveX
    is a solution. Microsoft Rich Text Box comes to mind. However, you must make
    the interface to make the selected text sub or superscript yourself. (Or
    control i
    t from the program.) A webbrowser control in combination with
    MathML also seems logical. Both solutions are not for the faint or heart...
    Regards,
    Wiebe.
    "Jim Kane" wrote in message
    news:[email protected]..
    > I want to create superscripts subscripts in LabVIEW, but those are not
    > options in the Applications Font Dialog Box. How do I do this?

  • How do I create an online PDF form that can be filled out by recipient?

    I have Create PDF Online and am wondering how I go about creating a document that can be filled out by a recipient.  This would be regarding a questionaire type form where I would ask questions and the recipient fills in the answers.  I know I have received these in the past from other people, but do not know how to do this myself.  I don't know if this is even possible with CREATE PDF ONLINE or if I need to purchase a special Adobe software package in order to do this.
    Thank you in advance for any information that any of you can give me.

    i'm afraid i can't help you. i've never tried to create a document that can
    be filled out. hopefully, someone else can help you.

  • How do you convert labwindows programs to labview programs?

    Is it possible to convert a labWindows/CVI developed program into a LabView program?

    No. Maybe once NI releases the LabVIEW scripting tools, someone will create such a tool but for now, the only thing you can do is create a DLL from the CVI code and use the Call Library Function Node. This is done all the time with CVI/IVI instrument driver and there is a tool to do this type of conversion.

  • How do you create a section in labview using the configurat​ion file vis

    I'm trying to create a new section in Labview. All i see is the possibilties to read sections and keys, write keys, delete sections. Is there a way to write a new section in Labview.
    Thanks,
    Brandon
    Solved!
    Go to Solution.

    When you write to a key, you have to supply a section.  If the section isn't there, then it will be created.  Basically, you can't have a section without any keys.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How do you create a clickable QT movie that opens a URL in a browser

    Hi,
    I'd like to create a stand-alone, downloadable QuickTime movie that -- when you click on it -- opens up a Web page in the viewer's web browser.
    I just read this article about HREF tracks, but I didn't find it to be specific enough to be much help to me.
    http://www.apple.com/quicktime/tutorials/hreftracks.html
    Does anyone have a step-by-step that will get this done for me?
    Is using Automator the way to go? Can anyone tell me how to use that?
    thanks,
    james
    g5   Mac OS X (10.4.4)  

    I've been watching this thread, hoping for an answer. Too bad you guys can't figure it out. Perhaps I can add another piece to the puzzle...
    I have used peer-to-peer software (Acquisition) to download files from "shared" networks. (Yes, it violates copyrights, and with the recent spate of OS X "Trojan", is risky. Mea culpa. I have ceased this behavior.)
    Sometimes, however, a search will provide a boatload of ".mov" files in the 1-3mb size range. (The search term "Jenna" works wonderfully.) If you download one of them, and either look at it in Column View-Preview or actually open the file, (it is set to "Autoplay on opening"), about 1/3 of the way into the file, your default browser will open to a URL which contains "adult" content.
    I have opened one of these files using TextEdit, and by searching for "http" can find the "call" (if you will) for the website. However, it is embedded in "gobbledygook" which I can't understand. HexEditor fares no better.
    When you open the file as a movie, however, and look Window-Show Movie Properties, you find three tracks: Audio, Video, and Flash. If you extract the Flash track and play it alone, it "calls" the URL and the website opens. The Video track does not do this.
    I don't know what to do with this information, maybe you others can use it to figure something out.
    EDIT: I opened the Flash Track with TextEdit. It's too long to post in this message, but not too long for a new post. If it'll help, I can reply again.

  • How do you create a smart album so that you can look at and edit slide show fashion instead of one at a time?

    Is the Apple program always this convoluted every time something new is rolled out to roll over someone?

    Sorry but I have no idea what you're asking. What s "look and edit slide show fashion"? Where does a Smart Album fit into that? You know you can move from shot to shot using the arrow keys, right?

  • When using the business cards template, how do you create one card then apply that card to the other nine cards on the page?

    I have customized the first business card on the page of 10 and now want to apply that to all of the cards on the page.

    Sounds like you didn't follow the link or Jerrold's suggestion of grouping the Business Card contents with the card box.
    The instructions are quite detailed and work if you follow them.
    It is nothing complicated, the BCards are just rectangles containing text and images.
    1. Group them so they don't separate.
    2. Copy them by one means or another into a grid for printing.
    Peter

  • How do I create a PDF for iPAD that can open other files on the iPAD?

    I have a PDF that has embedded PDF's & links to external MP4 video & Excel files it works great in Windows... Can I make this work on an iPAD?
    If using embedded files won't work can I make the PDF's external files & have links to open them?
    Really need to find a solution to this
    Thanks for any help or advice
    Jon

    I have a PDF that has embedded PDF's & links to external MP4 video & Excel files it works great in Windows... Can I make this work on an iPAD?
    No.
    If using embedded files won't work can I make the PDF's external files & have links to open them?
    No.

  • We are creating templated pdf's for Buscards? How do you create so fillable is in pms color Ripping

    We are creating templated PDF's for our new web to print software.  How do you create the fillable pdf so that when ripped it will separte the pms colors?  Our designers say that the fillable text can only be in black and can't be in a pms color?
    Thanks
    Paul

    I see. It's true that form fields do not support spot colors. I know you can flatten form fields, converting the field text to regular text, and embed the fonts using Preflight. What I don't know is if you can then convert the font color to spot (maybe using Advanced > Print Production > Convert Colors), but it's worth looking into.

  • How do you create a border around text?

    how do you create a border around text?

    Can you be a little more specific about what you are trying to do and the application that you want to use? The methods can vary depending on the application and who published it. For instance, if you're using Final Cut Pro here is a discussion describing how the border can be created.
    https://discussions.apple.com/thread/1470384?start=15&tstart=0
    If you are using an Apple branded application you can also post in the specific forums for those applications in order to help ensure a complete response.
    https://discussions.apple.com/community/ilife
    https://discussions.apple.com/community/iwork
    https://discussions.apple.com/community/professional_applications

  • How do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the onli

    how do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the online photoshop, and I really want to create my own customized url and post photos to my gallery and share them with the world, family, and friends, but i need help because i can't figure how to do any of this, would really appreciate feedback and assistance, thanks, - claire conlon

    To add to sig's reply, "calibrating" does not calibrate Lithiu-Ion batteries, it calibrates the charge reporting circuitry.  If you look at the effect of deep discharging Lithium-Ion batteries in the data from the independent test group, Battery University, you will see that doing so shortens the life of the battery significantly. It looks like an optimum balance between use and life is at a discharge level of 50%.

  • How do you create a Labview Websocket client?

    Objective: Use WiFi to transfer analog readings from an Arduino Yun to a Labview graphical user interface. 
    An Arduino Yun  provides Websocket server capability and is norm ally used with a browser.   But I don't how to create a Labview Websocket client.  Hence my question "How do you create a Labview Webcocket client?
    Howard
    Solved!
    Go to Solution.

    hrh1818 wrote:
    Knowing there is no free Websocket available for Labview saves a lot of time and frustration on both sides of the question. 
    Again, I can't promise one doesn't exist. I've never needed WebSockets so I haven't specifically looked for an implementation. However, in several years of reading LabVIEW forums and blogs, I don't remember seeing a full, free, client implementation. There's the beginnings of a server posted here: http://lavag.org/topic/13777-labview-websockets-and-svg/ but I don't think it includes a client.

Maybe you are looking for

  • Is it possible to run 2 programs that need different versions of a library?

    Hi, I have the following situation. Tomcat 5.0 Server. Program A is running on server, and needs axis 1.1 as a library. Program B is running on the same server, and needs axis 1.4 as a library. Axis 1.1 and 1.4 are not backwards compatible... if I ju

  • HUGE database file

    I have what I think is a large DB file - 68gig. I feel like I'm probably not utilizing things the best way. I'd like to either put the database file on an external drive or at least split the file up - so I can have some of the databases reside on an

  • G6 2006-tx: synaptic touchpad is not listed in mice and other pointind device (device manager)

    hi, i just upgrade my window 7 home to window 8 pro... and i am now unable to scroll through my touch pad. before upgrading, my touch pad was working properly, but now its only work as mouse to click items. neither it scrolling nor zooming using two

  • New McBkPro: Best Firewire audio + HD setup?

    I am thinking about getting a new MacBook Pro Core 2 Duo notebook instead of upgrading my PowerMac to a Mac Pro desktop. I have a M-Audio Firewire Solo interface and a Lacie external FW800 hard drive for recording audio. I do pop music with many laye

  • Odi Invoke is not generating XML properly

    Hi All, In weblogic server Axis2 is deployed and it is showing Active. And we have uploaded ODI invoke service also in AXIS2 succesfully and it is showing Active status also... By using the soap its generating the XML with below mentioned error.. Can