Webserver in seperate exe file??

Hi Guys
So - I'm developing a piece of software that aqquires data from a USB board - this has been working well for years, everybody is happy..
Now I want to publish the results to users via the NI web server.. Using the web publishing tool I have created a html doc from a sub VI within  the main application with the front panel I wish to publish, and that displays various values updated every 5 seconds..(the monitor function, NOT remote control).. I quickly realized that when a number of browsers are looking at the VI my main application starts to hang - have not been able to fully understand why, but I guess the NI core waits for each request to be shipped.. not really a problem since I'm not doing a VI to be published on facebook with +1.000.000 viewers - but since it potentially stalls the entire application, I risk that my measurement is disrupted, which is a no go, since the measurement may be in the field somewhere, and not next to a guy at an office desk.. Thus - I moved the call to the sub-VI into an external call using a static VI reference and the front panel open / Run methods and the "wait untill Done" flag set to false.
This too is working very well and inside the development system I can now "sabotage" the application with multiple hits on the "refresh" button of a browser without stalling the application.. now problems arise - part because I do not have a full working knowledge of how the runtime engine operates, i guess - but... when I build this program into an exe, I can again stall the program by hitting the "refresh" button fast.... I assume that the runtime engine treats everything called from within the exe file in one thread?? 
Questions:
Is there a way (in a labVIEW .EXE file) to call a VI from another VI that totally separates them from each other so that if 'mainprogram' calls 'webserver', and 'webserver' hangs for some reason, this does not cause 'mainprogram' to equally hang? Could I for instance change the execution system of the VI with all 'webserver' related contant in the "execution" options?
If not - I guess building two exe files 'mainprogram' & 'webserver' and then launch 'webserver' using system exec from 'mainprogram' will prove a solution.
however - this means that now passing of data is no longer possible - in 2010 using lv8.6, what is the best means to move data back and forth between two seperate exe files? Ideally I would send a cluster of refnum's of the indicators from 'mainprogram' then read the values of these in 'webserver' and update the display here - but is the reference addresses from one exe, anything worth in the other exe (two seperate address spaces etc)?
Should I learn to use datasockets - or would a TCP approach be the best? We are not talking massive amounts of data - in the area of 15 value and string controls + 2 graphs with less than 1000 points. Remember that this should only be done locally between two exe files on the same computer, to I would prefer to keep this as simple as possible - something like a pipe used in Unix code. 
Last but not least - is there a way to run 'webserver' as some sort of service, so that the user will avoid having a window open he does not need, or a minimized 'webserver' window in the taskbar?
many questions - and yes I know that I can read all about datasockets and TCP in the forum halls - and I'm doing it, but I would prefer to not waste too many days brushing up on new stuff not needed because my plan is wack from the start..
Thank you for your help. 

this is my question regarding the .exe files.
what if i whant to make my project available for every one, not only for those that already have jre instaled, and someone that doesn't know or doesn't want to install jre want's to benefit from it????
what do u have to answer to that??
a serious answer please..!!

Similar Messages

  • Webserver Problems when using exe file

    Hey guys I could use some help with a problem I am having.
    I am working with webservers and am trying to stream my program from one computer (server) to another.  I can do this with standalone problems but am having trouble when I try to use an executable.  I have found this article for help:
    http://digital.ni.com/public.nsf/allkb/7F95D43D3F50FCAC8625710E000068E1
    I have included two print screens of the situation.
    1st is my observed stand alone file.
    2nd is my exe file that is showing an error  
    Any help would be greatly appreciated
    Attachments:
    Stand alone Program.png ‏350 KB
    With exe.png ‏87 KB

    Hey dwhamm,
    If the computer that you are trying to use as the server and deploy the executable on does not have the LabVIEW runtime engine that matches the development system, the remote front panel will not operate properly.  Below please find a link on how to build an installer that you should make to include the proper runtime engine:
    http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/build_installer/
    There is a note at the bottom of the original tutorial that you referenced on what to be sure to include in the installer. 
    Also, were you able to try changing the URL from http://TargetComputerName/VIname.html to http://TargetComputerIPAddress/VIname.html? 
    Do you have any firewalls on the computer that is being used as the web server?
    Regards,
    Kira T

  • Writing xml from an .exe file

    Hi,
    So, is it possible to post to php in an .exe file instead of a .swf displayed inside a browser?
    If so, how? I figured if you just created the .exe on the server with the .php file in the same folder
    it would read it and work fine.
    This doesn't seem to be the case... any ideas? Does it always have to go through a browser page?
    thanks

    It is possible to call a PHP file from an EXE. Make sure that you have th PHP file in the webroot of your webserver (IIS or Apache). Also, make sure that you use the server path..for example: http://localhost/myapp/myphpfile.php. It should work!

  • Exported projector.exe file - sound turning off after a while

    I have exported a flash clip as an exe flash presentation file. I am using Windows 7 with flash player 10.
    The flash clip contains 4 seperate video files (movie trailers) which have been imported into flash. I am able to play these fine by running the exe file created in Flash (CS4).
    After a while (10 min or much longer somethimes) the audio goes off but the flash movie still plays without the audio.
    Any ideas what could be wrong?
    I have also improved the quality of the video files that I am using within the flash movie (downloaded them as HD video files and converted them to f4v files in Adobe Media Encoder and imported them into flash to play with flv component. Unfortunately when I try to play the published exe file, when it comes to play the imported video elements the audio plays fine but the images of the movie are jittery. Am i doing something wrong?
    Thanks in advance

    Hi, not sure if you are in the correct forum. You may have more help in the Flash forum.
    I don't understand CS4 and how Flash Player is related, so can't respond to that. Perhaps someone else will.
    You could look on the right hand side for "more like this" when you open your thread since those threads are related to
    issues similar.
    Thanks,
    eidnolb

  • Captivate 5 not rendering large exe files properly

    Have imported large swf files into Captivate % (with seperate .wav files for audio). They all synch on the timeline at 24fps. for each slide. They look great in preview and when published to .exe they look fine on some computers. But we have encountered on at least 1 computer that the audio is out of synch with the video, and the video lags behind.
    Would have not thought that this would be a problem with Captivate 5 exes.... Does anyone know a solution?
    For preferences, I used Flash Player 9.

    Sounds like the issue is something to do with either the specs or the codecs of the machine having problems.
    The larger the SWF file and the more video you have, the more some machines will struggle to keep up with the decompression cycles.
    Is the problem box of a lower spec (CPU speed etc) than the machines playing the content OK?
    What version of Flash player is on each of the machines?  (FP 10 handles video better)
    Are the codecs up to date on that machine?
    Find out what the differences are and you'll have your solution.

  • How to reduce the size of the addon exe file?

    hi guys,
    i have done a project in VS2005 which has some crystal reports in it.  For the creation of the addon i have to use the merge modules for including the crystal reports. after all these merge modules have been included the size of the exe file came upto 70 mb. can somebody help me out in reducing the size?
    thanks in advance,
    Vasu.

    Hi
    Do not include the merge files as part of the add-on. Rather create a seperate VB.Net deployment package for the crytal reports and in this pack include your crytsal merge files. This package can then be installed to deplay all the run time files for the necessary computers (once off installation) and the add-on will then be smaller.
    Regards
    John

  • Error while running sawserver.exe file

    Hi All ,
    I installed OBIEE 11.1.5 in my machine and Database is in different machine (For RCU) .OBIEE reports are working fine but, I tried to run sawserver.exe file to register new instanceconfig file to implement multiple rpds and Catalogs in OBIEE 11G by referring the below link.
    http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-2-presentation-services/
    Command that I used is : sawserver.exe -c D:\Middleware\instances\instance1\config\OracleBIPresentationServicesComponent\coreapplication_obips1\instanceconfigdemo.xml
    Am getting the Error : the procedure entry point long jmp count not be located in the dynamic link library orauts.dll
    Thanks in Advance .

    Hi,
    How can i do it in OBIEE 11G? Any help will be grateful
    Regards,
    Joni

  • Can not see cFP-2220 after creating an exe file

    I am using a cFP-2220 with LabView 2011. I can see the cFP-2220 with Max, the program I created runs in my PC but the data from the cFP-2220 it is slow to up date.
    I access the cFP-2220 thru the network terminal and a net card in my PC.
    I have created an EXE file to run in the PC for that test stand as a stand along program. The program runs but it does not see the cFP-2220 or any of the data been collected. The test stand PC does have MAX install. When I run MAX in the stand PC it sees the cFP-2220 and can read the data from the modules the PC is wire to the cFP-2220 thru a net card.

    Sorry for the delay to respond... I do have installed the minimun files that are available  Field Piont 6.0.10 and LabView RT 11 is part of them.
    I also using share variables. The program VI runs fine in my PC but when I create the exe file and deploy on the test stand it asks fot the location of the FPLV,dll and the NI_TGT.dll and it can not read or write to any of the DAQmx vi's.
    I accidently remove one my FP-SG-140 from the list of inputs, I did put it back but I damage how the share variables weere working I am getting and error -1950679023 and it does not see any of my inputs.
    I have another question how do I down load the variables to the cFP-2220 that is another erros that shows up when I installed other files into the cFP.

  • Download stops/stuck at 99%...only .exe files

    whenever (from last 2 years) i try to download an binay file .exe file...the download never compeletes....it stops at 99 %...in this way i cannot update my adobe flash player or mozilla firefox....i have no antivirus... firewall turned offf.....i tried everything....i reinstalled windows about 5 times in last two years but the problem is same.....if you cannot help me then upload the latest flash player(full 16 or 17 mb i think) as a rar file on any site and send link but help me in solving my problem...
    two pictures uploaded...the difference between both is the time difference of 2 minutes

    It's quite clearly trying to run some sort of security scan on the downloaded file and something is broken so it's waiting forever for it to finish.
    You can still get to the exe file, right click the download and browse to the folder it's downloading to. Make sure you can see hidden files and also do not have known file extensions hidden (every Windows user should know how to set this) you should see the file you're downloading in there and another file with the same name but with .part on the end. Right click this "part" file and select copy, paste it somewhere else (temp folder) and rename it to what it's supposed to be. Then you should be able to run it.
    Alternatively, you can also use another browser to download the same file. Right click the download in Firefox and select "Copy Download Link". Then paste this link into another browser and let that download it.
    There's probably something in about:config you can change to prevent the security scan from running ( browser.download.manager.alertOnEXEOpen may be worth a try ). My guess is that some antivirus program you had installed in the past inserted something into Firefox that it didn't bother to remove when the AV software was uninstalled. This kind of thing also used to break Microsoft Office as well.

  • Creating a link on exported exe files

    I have 9 separate projects I need to burn to a CD. I have
    created an html menu. I am exporting each of the 9 projects as
    stand alone exe files, each one automatically opening the next one.
    But at any given time I would like the viewer to be able to exit to
    the main menu. Should I just put a button linking to the main menu
    on every single screen of a single project, to allow the user to
    exit to the menu if they want?
    FYI, I had initially created the 9 projects as html files,
    linking to one another. I posted a message about that earlier. But
    I am running into browser issues and don't want to run that risk
    with the completed CD. Help! :)

    Hello Captiv8r and others,
    This thread is pretty interesting. I have been struggling
    with creating a project using Captivate 3 that will
    reside fully on a CD. I am looking at maybe three workflows
    for this, one using exe files, one using swf files and an html page
    which serves as a "menu page" (the Captivate Menu builder just does
    not have enough options, in terms
    of graphic display, buttons, etc.), and the last one (which
    is the hardest), using some sort of Flash container, a Flash
    loader, and some menu buttons built in Flash, that call up
    Captivate created swf files, etc. So far we have not had to track
    state. I am trying to develop a training course on MS Excel, and am
    using audio and Captivate for screen shots, mouse movements, etc.
    After all the BS above, I do have a question. Is there a
    reason to publish to an exe file in Captivate? Or what is the
    reason(s) to publish a Captivate project to an exe file in the
    first place. I have searched around for the answer on this, but
    have found no good answer on this. Perhaps those of you more "sage"
    Captivate users can provide some insight.
    Thanks again for a very helpful forum,
    eholz1

  • Cannot delete exe files - The action can't be completed because the file is open in Windows Explorer

    We have received 3 new computers with Windows 8.1. All of us 3 have the same problem: we cannot delete exe files with message "The action can't be completed because the file is open in Windows Explorer"
    For example, I download skypeinstall.exe on desktop, install the program correctly and then try to delete the file: file is in use by Windows Explorer, cannot be delete.
    We reboot computer, we are able to delete the file. But, if I restore the file from the recycle bin on the desktop, I cannot delete it again until I reboot the PC. I used ProcessExplorer to see what is locking it and I can see 5 instances of explorer.exe
    locking the file.
    I can always reproduce the same way:
    1-Reboot
    2-Delete exe file
    3-Restore file
    4-Delete stop working and 5 explorer.exe handle are locking it.
    I have tried the following so far after reading multiple threads:
    - De-activating Windows Search service
    - Activating User Experience service
    - Deleting from command prompt (no success)
    - In folder options: inactivate display icon on thumbnail and activate always display icons, never thumbnail
    - Changing folder view (contents, detail, small icons...)
    - Using Lock Hunter - not working until reboot
    None of these worked.
    We all have Windows 8.1 with Crucial SSD drive, could the problem be linked with the SSD drive incompatibility?
    Any help would be appreciated.

    Hi,
    Please try to make a clean boot for your system, then check if this problem resolved.
    Clean Boot: http://support.microsoft.com/kb/929135
    If problem persists, try to open Resource Monitor to check handle of Explorer.exe, if there any exception, end them for test.
    Roger Lu
    TechNet Community Support

  • Reg : Executing .exe file from application server

    Dear Experts,
                        i have a requirement to execute an .exe file from application server,i tried with method CL_GUI_FRONTEND_SERVICES=>EXECUTE but it executes .exe file from presentation server only.can
    anyone kindly clarify to execute .exe file from application server?
    Thanks in advance,
    Sujay

    Hi,
    Did you search before posting?
    Re: Execute a .exe file present in the Application Server
    Vikranth

  • Old version Source code to .exe file conversion

    I have a programming GUI source code (written in an older version of LabVIEW). Can it be supported by LABview Evaluation version 10.0.1 and be converted to an .exe file. How can I convert and use source code file for  programming? What do I need to convert and how?
    I'm new to LABview. Please help!!

    2010 can open VIs written in LabVIEW 6.0 or newer. Just double click on the top level VI. You will also need to install any hardware drivers (i.e. GPIB, DAQ, etc) that the old program used.
    With the evaluation version, you can create an exe but it will have a watermark on the front panel.

  • Can't open important file dropped my mistake in exe file from Firefox to supress Kasperksy

    Hello and thanks for replying! Here are more details on this problem:
    I saw two new exe files in my USB that seem to be related to a Firefox request yesterday which was to disable a Kaspersky option of some kind until Firefox could resolve the incompatibility. I OK'd it. TodayI was moving a file that contains three years of my research and it got dropped into one of these exe files by mistake and I now I cannot access it, copy it move it, or undo the prior move. The file that has trapped my research file is named 36f5e0470ef12f4ccf8016fOdcOf59 . I tried unlocking it, but could not access my file inside. All the unlocking seemed to do was change the name of the file. The files inside, along with my research file, are named: mrt.exe , mrttub.exe , and shutdown.req (this last also has dollar signs in the title which I'm afraid I cannot duplicate on my French keyboard.
    I ran a virus check on both the interior file (my research file) and the exterior file (the former exe file) and at least can see that the names of my files come up in the search, so the interior file does not seem empty. There were no viruses found in either the exterior or interior file. I have not unplugged by USB yet and am not sure what to try next. My operating system is Windows XP 2002 in case that helps.
    I have contacted Kaspersky as well but am not sure if these files were generated from them, from Firefox, or if it is malware. Thank you very much for your help. This would be a very great loss to me and any suggestions you might have would be most appreciated!
    Reards,
    Elizabeth

    Hello!
    And thank you so much for answering!
    These file names look similar to what is there for sure. But I don't think I want to delete them at this point. The problem is that I was moving a large file full of documents I use (about 100 files) that and that entire file dropped by mistake into this .exe file. Now hundreds of my files are trapped there and I can't seem to access or copy them. I would be afraid to delete the .exe file as I think it would probably delete my 100 documents along with it.
    I guess what I need to know is how to open an .exe files in a way that lets me retrieve my document. Maybe I could do something that would give me the right to access it? Right now it is read only, and it does not seem to let me change the status, or to open my file sitting inside it.
    It is like a dog who ate my supper!
    Thanks again for your help!
    Elizabeth

  • The exe files are not responding on my computer. I can't get to firefox.exe - what can I do?

    I downloaded a 7-zip file from CNET and it didn't do what I wanted and so I uninstalled it. However, all the "exe" files on the computer are now not accessible. I can get to Firefox thru a "shortcut" on my desktop for the local newspaper. The e-mail is working thru my yahoo account only. I purchased PC MightyMax and that didn't do anything for me. I've tried to restore the computer to yesterday or earlier and the restore window will not come up either.

    In some cases, all EXEs being broken can indicate a malware infection.
    Do you get a specific error message when you try to start a program?
    I'm concerned that PC MightyMax itself might be an infection you need to remove, but let's come back to that issue.

Maybe you are looking for