How do you switch between web server snapshot jpg and png modes?

I read in another forum a posting by "NathanK" stating:
"The snapshot feature of the web server can
generate images either as png or jpg. In LabVIEW 8.6 and later, the
default which is generated by the web publishing tool is the png
format. In this mode everything happens in memory so there is no
snapshot image file generated.
In the jpg mode there is a
temporary file, however it is not always the same file and the file is
deleted after it is uploaded to the client. I would not recommend
trying to use this programmatically.
If you need more
control over a snapshot of a front panel (and you are using 8.6), I
would recommend making a custom web service that takes a picture of a
VI's front panel and returns it to the client. Then you would have
control over the image."
I am currently using the web publishing tool snapshot feature with an EXE program written in LV8.6.  However, each time a browser accesses the html file, the EXE file's memory grows by 72KB (this happens with my custom EXE program and with LabVIEW.exe when running the VI in development mode).  I'm assuming this is the png that is generated each time a snapshot is taken, but the program never de-allocated the memory and the program eventually crashes.  I'm aslo assuming that if I switch to "JPG mode", the web server will generate a temporary file and eventually delete it, elminating the memory leak.  The problem is, I don't know how to change the modes from png (default) to jpg.

I am and have been using the .snap function on many applications since LabVIEW 6.1.  It's very simple, easy to use, does exactly what I want it to do, and is still in the documentation of LabVIEW 8.6, 2009 and 2009 SP1 as being supported. 
If I am not mistaken, don't you need to have the LabVIEW runtime engine on the target system to use embedded mode?  I don't want to have to try and keep everybody who wants to see a screenshot of my program to have to have a run-time engine installed.  For one reason, I don't know everybody who wants to monitor our system and they literally can be anywhere in the world if the VPN to our network.  Second, those who I do know would would have me install it for them.  Third, why go "backwards" in capability...everybody would ask me "Why do we have to do this now?..we never had to do it before", and I don't want to use my time/energy at work to explain why NI cannot fix a memory leak that has been identified in at least the last 3 versions of LabVIEW and is still not fixed. 
I had been using either LV 6.1 or 7.1 for a good part of 10 years and had very few problems with them (BTW, DAQmx is the greatest thing every put on a computer EVER).  I finally make the transitioin and start using LV 8.6 on a major test platform last year, got to the very end of it and find this out.  <sigh!>
It is funny (maybe not), but my work around feels like I just changed the floormats in my Toyota car to keep it from "crashing".
However, if I am mistaken and you do NOT need to use LV runtime engine for embedded mode, ignore everything I wrote above and please let me know that this is the case and I will look into it.

Similar Messages

  • How do you switch between JRE v1.4.x and v1.5.x

    Java 2 Runtime Environment, v1.5.0_02-b09 Control Panel doesn't appear to let user switch back to a 1.4.x version. Hoping someone can can me how to do this.
    I have an application that uses JRE 1.4.2 and does not allow user into the interface until they switch their configuration to the 1.4.2 version by going to Start > Settings > Control Panel > Java Plug-in, selecting the Advanced tab and choosing the 1.4.2 version from the pull down provided in the Java Runtime Environment Section. This process worked fine if the user had v 1.4.x or lower, but does not work now that users have v1.5.x due to the changes in the Control Panel. Does anyone know the equivalent procedure with the new 1.5.x Control Panel so user can specify 1.4.x? (I did play around with the setting in the Java tab, Java Application Runtime Settings section to no avail.) Thanks.

    We have had backwards compatibility problems before and must ensure that the product we deliver works for our user community due to the nature of the product. We have compiled our code with 1.4.2 and test internally with 1.4.2_04. In addition, the product that we deliver is in maintenance mode and is not currently funded for development/updates - just need to let the users who have updated to 1.5.x know how to switch back and forth between 1.4.x and 1.5.x. Currently, I can only tell them to remove 1.5.x, which is not desirable.

  • How do you switch between 64-bit and 32-bit Java configuration?

    I've downloaded the latest Java plug-in for an online service, but when I go to run the service on Safari or Firefox browsers, I get a message that 32-bit Java is needed and my machine is running 64-bit.  How do you switch back and forth?

    Similar concern here. No 64 bit version. I purchased the Photoshop CS5 downloadable upgrade. I  have installed the program but only see the 32 bit version. Image  / Mode shows 8, 16 and 32 bit versions and no 64 bit.
    Start Programs offers only a single version of Photoshop which based on the splash screen is 32 bits. Did I miss something during the install?
    Bob

  • How do you failover the web server?

    I have 2 servers running the web server on them. If one of them fails how do I reroute the users requests to the other one, seamlessly to the user? I am new to using the web server so any help, even remedial would help!! Thanks!

    Ya, thats part of the problem. Right now we are using Sun Cluster to provide a network resource that handles which web server is to handle the request. A virtual ip address so to speak. We'd like to stop using Sun Cluster as it's a bit unstable, ie reboots the cluster randomly without error messages or warnings. We'd like to just use the web server/application server clustering capabilities and eleviate the extra layer of complexity with Sun Cluster. I know Sun Cluster has a Web Server agent to do this, but that is why we're trying to not go down that road. It is starting to sound like we may have to though as buying additional hardware isn't an option.

  • How do you switch between jpanels in a jframe?

    I have, what seems, a relatively simple question; however I cant find a solution to it anywhere!
    I have a jframe with a jmenubar which has 4 menu items. When each item is clicked a new JFrame is displayed with certain content. What I am trying to do, instead of creating a new Jframe each time a menu item is clicked, is display all jpanels within the current jframe. When different menu items in the jmenu are clicked it "switches" the main jpanel to display the required content.
    So basically I want 1 JFrame, which has 4 JPanels, (alhough only 1 is shown at any given time). When a menu item in the jmenubar is clicked the JPanel which corresponds to the menu item is displayed on the jframe.
    If your still confused, I basically want jtabbedpane functionality only I want to control the switching through tabs via the jmenubar (and I dont want the jtabbedpane tabs obviously).
    Thanks

    Myles wrote:
    Okay that seems obvious ;)
    What do you mean by "validating the content pane" though?
    Thanks for your quick reply.Containers have a method called validate() which will update them when components are added and removed. Without this, you won't see added components.
    And yes, you can have more than 1 container. JPanels are containers themselves and can have components added and removed from them as well. You only have one content pane in the JFrame, but you could add two JPanels to this, one static and one to act as your swapping container.

  • How do you switch between 64 bit and 32 bit? (Win 7)

    I have searched here, Adobe Support, read the User Manual, and can not find any information on how one changes from 64 bit to 32 bit.  I am trying to create Time Lapse sequences and CS 5 tells me I have to be in 32 bit mode.  How do I get there? I am running an HP Pavilion dv7t-3300 i7 QuadCore with 4gb RAM and Windows 7 Pro 64 bit.

    Similar concern here. No 64 bit version. I purchased the Photoshop CS5 downloadable upgrade. I  have installed the program but only see the 32 bit version. Image  / Mode shows 8, 16 and 32 bit versions and no 64 bit.
    Start Programs offers only a single version of Photoshop which based on the splash screen is 32 bits. Did I miss something during the install?
    Bob

  • HT1343 how do I switch between windows in the same programme?  I know that I can use Command tab, however this takes you through all of the programmes that I'm using. What I need to do is have a shortcut to switch between windows in the same programme.

    how do I switch between windows in the same programme?  I know that I can use Command tab, however this takes you through all of the programmes that I'm using. What I need to do is have a shortcut to switch between windows in the same programme.  For example if I'm in Excel and have 5 windows open I want to be able to scroll between each window of Excel only with a shortcut.
    Please help!

    Command and ~ keys to tab between open windows.
    Technically it is the Grave Accent ` (aka reverse quote) under the tilda ~ key.  Tilda ~ is shifted, and Grave Accent ` is not.
    Command-Grave Accent

  • How to -- Manually Configuring a Web Server? I am able to install web/applications servers on windows NT, there is no clear documentation on above topic.

    refer to /iplanet/ias6/ias/docs/admin/adplugin.html, --To Reconfigure an iPlanet Web Server
    How to view/modify connection between web server and application server..?

    What version you want to install.
    Refer this link or to download this PDF/HTML files.
    http://docs.iplanet.com/docs/manuals/ias/60/install/install.htm#998205

  • How do you use edge web font in Edge Reflow?

    By default, I don't have a lot of fonts. It's just viewing a few of them.
    How can you get the web font for Edge Reflow? Can you use font from fontbook?
    Is there a way to download Edge Web Font?

    Above: using Brandon Grotesque (web use font) does not display the correct font.
    I'm using Typekit and have an internet connection. If I switch to a "desktop use" font, it shows up, so I'm guessing the "web use" only fonts won't show in Reflow. A little frustrating when you're trying to get an accurate preview/determine best font styling because of the back-and-forth workflow.
    Above: using Source Sans Pro (desktop use font) does display the correct font.

  • How do you put safari web pages into icloud with the safari iCloud button?

    how do you put safari web pages into icloud with the safari iCloud button?

    What that button does is sync your tabs between your devices. So if you have multiple macs with Mountain Lion and/or devices with iOS 6 (once it comes out this fall) you can pick up where you left off. For example, let's say I have apple.com, nytimes.com, and facebook.com open on my mac, but I need to run. Later, if I need to use another computer in my household, I can just restore the tabs that I was using before on this other mac.

  • How do I get Apache web server working ...

    How do I get Apache web server working on my MacBook Pro, which is running Leopard 10.5.8?
    When I enter 'http://localhost/~username/' (without the quote marks) as a URL in my Firefox browser on the MacBook, I do not see any result at all(!). I do have Web Sharing on in System Preferences on that machine. But the browser does nothing whatever for that URL ...
    On my other computer, an iMac running Leopard 10.5.8, when I enter 'http://localhost/~username/' I see the default "Your Website Here" page. That same default page is in fact the index.html file I expect to see on the MacBook Pro. But it isn't getting invoked for some reason. Nothing is happening ...
    When on the iMac I try 'http://10.0.1.18/~username/' (10.0.1.18 is the local IP address I see under 'Web Sharing: On' on the MacBook) I get "Unable to connect: Firefox can't establish a connection to the server at 10.0.1.18."
    When on the MacBook I try 'http://10.0.1.5/~username/' (10.0.1.5 is the local IP address I see under 'Web Sharing: On' on the MacBook) I see the default "Your Website Here" page.
    It is the same on my iPhone: Using the same local IP addresses and usernames, Safari can see the index.html page on my iMac but not on my MacBook.
    It looks as if Apache is not working on the MacBook, while on the iMac it works fine.
    On the MacBook I can see (after I use 'defaults write com.apple.finder AppleShowAllFiles TRUE' in Terminal) a /private/etc/apache2/ directory with what look to be(?) the usual contents. So it looks like Apache is duly installed, as far as I can tell.
    On the MacBook I don't see a file at /private/var/log/apache2/error_log, which is the location for 'ErrorLog' given in the httpd.conf file.
    That about exhausts my understanding of how to get a handle on my problem.
    Any advice or suggestions from those who have more expertise with Apache will be much appreciated ...

    Okai, so we are getting somewhere, but not quit there yet :-)
    I opened the Kenneth.conf file using the command: vi Kenneth.conf
    This is what it said:
    <Directory "/Users/Kenneth/Sites/">
    Options Indexes Multiviews
    AllowOverride AuthConfig Limit
    Order allow,deny
    Allow from all
    </Directory>
    "Kenneth.conf" [readonly] 6L, 139C
    I therefore changed the AllowOverride from AuthConfig Limit to None, which was the only difference from what you posted above. Something did change, when I tried to open XAMPP it prompted me a password, but Apache still wont start :-/

  • HT204388 how do I switch between my mac mini and iMac using iMac screen?

    how do I switch between my mac mini and i mac using i mac screen?  I thought it was using F2 but that does not seem to work.

    To switch between your Mac mini and iMac, you just have to turn on or off Target Display mode. To do it, press Command and F2 keys in your iMac, not only F2

  • Fastest way you switch between multiple images (CS3) ?

    I'm originally a Fireworks user (from 2001) and am starting to learn Photoshop as it is in my CS3 set and it's superiority in image editing.
    BUT, I was suprised/shocked/P.O.-ed to notice Photoshop doesn't have tabs to easily switch between images like Fireworks has had for the last 7 years.
    (Yes, I realize CS4 has that option now, but I'm not willing to dole out another $600 bucks for another upgrade )
    Anyway, enough ********.
    My question is:
    "Can you tell me how you switch between multiple images opened in Photoshop CS3?"
    I'm assuming there must be a keyboard shortcut I can't find, or something besides having to shrink down the images and routing through them . . .
    Thank you for your time and help,
    Brad

    Hi again My,
    Thanks for the reply on my other post as well.
    Ctrl+Tab
    Got it. Thank you.
    Quick and easy enough. I'm happy :-)
    Brad

  • HT204053 How do I switch between to apple accounts?

    How do I switch between two apple accounts?

    Two Apple IDs? Not a good idea. I believe that you will find that if you switch the Apple ID associated with your iPad that you cannot switch back to the other Apple ID for 90 days.

  • HT4623 How do I switch between Canadian & Chinese Apps Stores?

    How can I switch between Canadian &amp; Chinese App Stores?

    Change iTunes Store Country on an iDevice
    1. Tap Settings;
    2. Tap iTunes & App Stores;
    3. Tap View Apple ID;
    4. Enter your user name and password;
    5. Tap Country/Region;
    6. Tap Change Country/Region;
    7. Select the region where you will be located;
    8. Tap Done.
    Also, see How to Change Your iTunes Store Account Location | eHow.com.

Maybe you are looking for

  • Pypanel takes up 100% cpu

    Every once in a while, and not yet with any similarity in the circumstances which it occurs, pypanel will appear to refresh itself endlessly and while taking up copious amounts of CPU time.  Like, all of it. Anyone else seeing this?  There aren't any

  • Adding images in applet

    Hello, in my applet, i used 5 no of JButtons using Icon with some ".gif" file.At first ,they run well in appletviewer,But in IE,i got a security exception.After that using policy tool,i created a policy file.Then it works well in IE.But images are no

  • New extensions on an existing Forms10g application

    Hello Form Guru's, My customer is considering upgrading a Forms6i (generated with Designer and Headstart) application to a new 10g environment. We consider to follow the Oracle strategy (Tools Statement of Direction) to upgrade to the latest version

  • I tunes store

    I downloaded the new itunes and now the store will not load. PLease help!

  • Details on Exit plug

    Hi, I am working on Webdynpro for ABAP and would like to implement the Exit Plug functionality. Can any one provide me one sample program for my reference, so that it would be easy for my development. Regards, Ramya.