Refresh graph properties (colors...) when front panel not opened

I have a problem with setting the plot properties of a multiple xy-graph.
I first pass the data (n plots, number variable) to the graph control, THEN I set the according properties like color, line style etc. by a property node beginning with "active plot" followed by the properties. So when I set them, the xy-graph is already initialized with n plots.
Afterwards, I take the graph picture and save it to a bitmap-file.
That works fine as long as the front panel is opened or the number of plots and their attributes stays constant. But if the panel is closed (which is the default of that VI) and the number of plots changes, I get only as many plots plotted correctly as there are shown in the plot legend
- regardless of if the legend is shown or not.
I don't like the idea of having a huge legend on the panel which still might be too small sometimes or having the legend scaled by it's height-property in pixels.
What I need is something like a .refresh-method that forces the graph to update even if the front panel is closed. Any idea how to do this?
Cheers & thanks, Daniel

The issue you are seeing is because LabVIEW doesn't update the controls/indicator of a front panel that is not open. This is done to save computer resources. The simple way around this is to use VI server to open the front panel for it to update and then close it again. You can use the VI property FP.position to move the window offscreen where it can't be seen and perform the open/close. This will get you the results you are after while still allowing the illusion of a closed front panel.

Similar Messages

  • Sound Blaster X-FI Pci Express Front Panel Not working right Win7

    ASound Blaster X-FI Pci Express Front Panel Not working right Win7
    Please read carefully
    Part number Part SB040
    Hello,
    I have a fresh install of Win7x64 OEM. First, I want to say that I have "AUTOMATICALLY MUTE SPEAKERS" UNCHECKED under the Headphone detection tab. I have tried "Automatically Enable Headphone Settings" checked or unchecked. No difference.
    As soon as I plug in headphones to the front panel connector , the speakers in the mixer say "disconnected" (see below) and the SPDIF becomes the default output. There is no way for me to change this. And there isn't any sound coming from the headphones when plugged into the front panel. (the mic front panel works fine)
    I am using the nati've Win7 drivers for the card. Apparently the Win 7 drivers on your site are older than the nati've ones.
    This worked fine in Windows XP 32. Any ideas.

    Ok guys this is how I fixed the problem on my X-Fi PCI-Express. Open the Creative SB X-Fi Volume panel. Mine is set in game mode and I have 5 vertical sliders for Line-In /Mic, MIDI Synth, Digital-In, and the last one will say one of three things either Digital-In, Microphone, or Mirophone FP. At the top of the?slider there is a tab which brings up a drop down menu. Mine was default set to Digital-In, I switched it to Mirophone FP (tried Microphone first and it worked but the FP sounds better for me) and cranked it all the way up and my problem was solved. Very frustrating one though as there is no documentation that led me to the fix it was just playing around with it till I could figure it out.
    I hope this at least helps some of you out.

  • How can I rotate waveform graphs or charts on front panel?

    I'd like to have my power spectrum graph displayed vertically on front panel. Any idea how to do it?
    Thanks for helps.

    THree quick ideas come to mind.
    1) Use XY graph and transpose X and Y.
    2) Use Picture control version of XY chart and hack away (these are included as example under chart and graphs)
    3) Graph to a "off-screen" indicator and periodicly use an invoke node to grab the image. There is an example on this web-site that will let you rotate an image and display it in a picture control.
    Have fun,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Using Outlook 2007 I want to receive emails on my iPhone 4 only when Outlook is NOT open on my computer, as when away from home or want to quickly check email when computer is not turned on. Either ALL emails come to my iPhone or none at all.

    Using Outlook 2007 I want to receive emails on my iPhone 4 only when Outlook is NOT open on my computer, as when away from home or want to quickly check email when computer is not turned on. Either ALL emails come to my iPhone or none at all. Is the setting I need to change in Outlook or on the iPhone or is it somewhere else?  I used to have this setting but transferring Outlook to a new laptop somehow turned it off.

    No. You really can't do that. Not easily at any rate. You would have to set them both up to use POP3, but even then there is no way to guarantee that the phone won't poll the server prior to your computer doing so, pulling down the message from the server.

  • What do I do to view images on CS5-64 when it will not open them?

    The program will not open images, either directly or from Bridge.  Using Win 7 on a Dell PC.

    Strange, after rebooting, both Ph CS5 and Bridge are working again.  Thanks for getting with me.
    Date: Fri, 9 Aug 2013 23:30:38 -0700
    From: [email protected]
    To: [email protected]
    Subject: What do I do to view images on CS5-64 when it will not open them?
        Re: What do I do to view images on CS5-64 when it will not open them?
        created by Mylenium in Photoshop for Beginners - View the full discussion
    What exactly? What image files? Do you get any error messages/ warnings? Provide more info.
    Mylenium
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5582783#5582783
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5582783#5582783
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5582783#5582783. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop for Beginners by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Find DBID when DB is not open

    Greetings friends
    Is it possible to find DBID of database when DB is not open given
    - DB is in non-archive mode
    - No backup is available
    - No RMAN catalog repository

    Thread on the link has a slighly different issue where user requires
    I want to restore the control file from an autobackup.DBID can be find using v$database, rman respository etc.
    I am wondering if oracle keeps the DBID in plain text anywhere on filesystem or registry.

  • How do i close CS5 Bridge.exe when Bridge is not open?

    I can't download updates because Bridge CS5 application manager says "close bridge.exe" when Bridge is not open.

    You have Bridge set to "open on startup" so it is running in the background.  To disable this feature it is in advanced preferences.
    To solve your imediate problem, open task manager (ctrl+alt+delete) and click on processes tab.  Go down the list and look for any instance of Bridge.exe and close it.

  • When iCal is not open cant see event

    pleasee help i am going to school and i really need it so i can see the events when iCal is not open pleazz someone help me

    Tamara,
    I'm not really sure what you want to do. Why can't iCal be open? What can be?
    You could get MenuCalendarClock which sits in the menu bar: http://www.objectpark.net/mcc.html
    Or ical viewer will put events on your desktop: http://www.icalviewer.com/
    Comeback with more details if this doesn't do the trick.

  • When FF is not open, external apps spawn FF with default profile

    When Firefox is open, external links open in a new tab fine. However when FF is not open, the links will spawn the browser with the default user profile. Then I have no customized bookmark bar with my links on it.

    It is best to select the default profile that you want to use when you click a link in an external program as the current selected profile in the Profile Manager (marked as Default=1 in profiles.ini) and use desktop a shortcut that specifies a profile folder to open other Firefox version with a specific profile.
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox
    * http://kb.mozillazine.org/Bypassing_the_Profile_Manager
    Use the -no-remote command line switch to open another Firefox instance with its own profile and to run different Firefox instances simultaneously.
    * http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile

  • How do I open launchpad when it will not open by the suggested methods?

    How do I open Launchpad when it will not open by the suggested methods?

    Then reinstall OS X. See if that helps:
    Reinstalling OS X Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Reinstalling OS X Without Erasing the Drive
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility and press the Continue button. After Disk Utility loads select the Macintosh HD entry from the the left side list.  Click on the First Aid tab, then click on the Repair Disk button. If Disk Utility reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit Disk Utility and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • Graph stalls when front panel is adjusted

    So I am trying to debug a code that someone previously wrote. I am a bit familiar with the code but as I mentioned did not write it myself. The deal is that when Im in running the front panel and the graph is graphing time vs any other parameter, if you press any button on the front panel or if a sub-vi gets called the graph will stall and one has to manually reset the graph. I am not too sure why this is going on. Attached are a few screen shots of where this section of the code lives. There is a stacked sequence with two subdiagrams and it is also being called in the event structure inside one of those subdiagrams. I could also upload the whole code if needed.
    Thanks for the help guys
    Attachments:
    Graphing front panel.doc ‏456 KB

    OK, I was able to get to the code by selective unzipping.
    As a first step, you should eliminate all these value property nodes and replace them with plain local variables instead. The code os causing excessive thread switching and spends way too much time in the UI thread.
    Overall, there is way too much code. For example you have in the "graphed parameter" event the same property node in every single case of the inner case structures. These property nodes belong after the case structure, only once instance each needed!
    (Sorry, I have to do some other things now. Will look at it a little more later.....)
    LabVIEW Champion . Do more with less code and in less time .

  • Background color of front panel when printing

    My vi has a control named "print" which allows the user to print the front panel during execution. The background color of the front panel is white, to avoid filling the printed page with any color. In labview 7.1 (and also 6.0), this worked perfectly. I recently updated to labview 8 and now the background color of the print is gray. Does anybody have any idea how to avoid this?
    I am using the "print panel.vi" found in the "vi.lib\utility\printvi.llb". I also tried with the "Easy Print VI Panel or Documentation.vi", with the same result. The same problem also occurs when exporting the front panel to a ".png" file.
    Best regards

    I tried with different colors, without any success.
    I think that this is a bug !  Good catch !
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Background color bug.vi ‏11 KB

  • VI locks up when front panel is displayed

    Hi
    Firstly, I apologise if I’ve sent this to the wrong forum – I’m not sure if this is a TestStand or Labview related issue or possibly both.
    I have a test procedure developed using Labview 7.1 and TestStand 3.1. It’s run from TestStand’s Operator Interface VI (full version), and executes about a dozen TestStand sequences in turn which call lower level VIs that perform the actual tests.
    The code was written on a Dell GX240 Pentium 4 PC, with Windows 2000 + SP4 installed and runs without a hitch. However, I also have a second PC, same model & spec, but running Windows XP + SP3 instead of Win2K. I’ve also installed the same versions of Labview & TestStand on it, and copied across all my TestStand sequences & VIs into the same working directory. However, when I run the program on this machine, again using the same Operator Interface, it executes until about half way through and then hangs up.
    In several tests, I call up a graphical user interface VI which displays a picture and prompts the operator to click on either a ‘Pass’ or ‘Fail’ button – the actual text being passed as a parameter. When the lock up occurs, the front panel is displayed, but there’s no picture and the buttons are blank. Up to that point, previous calls to the VI have executed ok.
    If I modify the step that causes the problem, to call another VI - for example, a sub VI that doesn’t display a front panel - the new VI executes and the program continues to run. If I then change this VI’s configuration so that it’s front panel is displayed at run time, the problem re-occurs - the front panel outline appears but everything then freezes.
    Attempting to close the front panel window, results in either error code –18001 and the message ‘an error occurred accessing the Labview ActiveX automation server’ being displayed or the Windows prompt to close Labview as it’s not responding. Usually, clicking ‘End Program’ causes the PC to crash out & re-boot.
    Skipping TestStand sequences, whether they execute the GUI VI or not, just moves the point where the lock up occurs further down the list of tests, to the next step where the GUI VI is called. It’s almost as if something isn’t being closed properly when the program runs, and eventually reaches some limit, but why this doesn’t appear to effect the Windows 2000 PC, I’m at a loss. 
    Very much appreciate anyone’s thoughts.
    Thanks
    Bruce

    Hi Bruce,
    I found a KnowledgeBase article relating to the error you are seeing.
    It describes error 18001 "Error occurred accessing LV activeX automation server". 
    Let me know if this helps you out.
    This problem may also be due to how you have configured the Distributed COM (DCOM) settings on your machine. You will need to ensure that your DCOM settings allows the LabVIEW ActiveX Server to be launched and accessed through ActiveX automation. Even Administrator accounts can be denied launch and access permissions. To modify these permissions follow the steps below for Windows XP:
    Login to Windows using a UserID that has administrator privileges.
    Select Start»Run and enter dcomcnfg.exe. This displays the Component Services dialog window.
    Navigate to Component Services»Computers»My Computer and select DCOM Config. Ignore the warnings that may appear.
    Right-click on LabVIEW Application, TestStandLVRTS or the name of your LabVIEW ActiveX Server and select Properties to open the LabVIEW Application Properties dialog window. Select the Security tab. 
    You must give permission to the appropriate users so that they can access the LabVIEW server. You should give everyone access permissions and appropriate users launch permission. Only users who have launch permission will be able to access the server. Add permissions by selecting Customize and Edit for each of the three permission settings and manually adding permissions for each user.
    I doubled checked that LabVIEW 7.1 and 3.1 are compatible with windows XP and they are.  Just to make sure, it is 32bit or 64bit you are using?
    Let me know how you get on.
    Kind Regards
    Lewis Gear CLD
    Check out my LabVIEW UAV

  • Front Panel Not Scrollable

    Hi Everyone,
    I just started writing a program in LabView 8.5.  When I first started, a scroll bar was on the right of window and a scroll bar was on th bottom of the window.  After couple days, those two scroll bars disappeared.  I am not able to scroll up and down the front panel to see the controls and indicators that are on the front panel.  I do not know if this is a Windows problem or LabView.  If I create a new VI, the scroll bars are still there.  Please help me.
    Thank you very much and Happy Holidays!!!
    Lynniz

    You may have turned them off inadvertently.  Try going into the VI Properties (File->VI Properties).  Go to Appearance and click the Customize button.
    Make sure the options to show the scrollbar are checked.  This will turn them back on.
    Message Edited by Matthew Kelton on 12-28-2007 09:08 AM
    Attachments:
    scrollbar.png ‏18 KB

  • Programatically alther the properties of the front panel of another vi (vi server)

    hi all,
    check out the attached code (lv 8.6). this is a standard example of how to modify the properties of another vi (test.vi and test1.vi in this case). although the properties of the called vi are set, the front panel does not react accordingly. for example:i set fp.minimizable to false and double checked that the value is actually set. but the front panel still is minimizable. why? where is the error?
    thanks in advace
    labviewette
    p.s if you want to run the attached code, you have to create a test vi in the same directory in which the code is saved.
    Attachments:
    Setting Window Options.vi ‏22 KB

    Minor errors in your code :
    1 - set  "wait until done to false" when running Test.vi from your vi
    2 - connect "Show menu bar" to the case input instead of a constant 
    Then everything runs nicely. See modified vi below.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Setting Window Options.vi ‏22 KB

Maybe you are looking for

  • How to load data from a query?

    Hi all, I'm not very familiar with ODI, but we already use it to load table (to Hyperion Planning). Now, we need to execute a query (I don't want only to apply filter), that cross differents table, to load it. We can't create view in the datawarehous

  • IMac G3 won't boot after updating the firmware and upgrading the OS!

    Hi! Everyone, I have an iMac G3 333MHz (five flavors) which comes with 192MB of RAM and 6GB of hard drive. Originally, it was OS 8.5.1 installed, later upgraded to OS 9.2.2. Of course, the firmware has been updated by the appropriate method provided

  • How do I install Safari 6 on my Mac OS X version 10.6.8 with Safari version 5.1.2?

    How do I install Safari 6 on my Mac OS X version 10.6.8 with Safari version 5.1.2? Thank you.

  • Dark images when creating a PDF in Frame 10

    We're having an issue with dark images in the PDFs created from Framemaker files. I've been trying to solve it two different ways, but each solution seems to have it's own set of problems... 1. When we print to PDF using a .ps file generated through

  • Invoice PDF does not open

    hiI have an account with a Mobile operater Comviqwhen I login to their homepage i can see all invoices to my account but when i clickin order to open it in PDF does not open and no any msg pops up need helpthanks