How could I possibly remove the default picture in the picture control?

I've been using the picture control and a bit of code to create a zoom effect on a picture. It all works great however I get a labview picture when the Vi is first loaded. I'm trying to get a blank area instead cause it doesn't look really tidy!
I've attached a picture and my code.
Thanks for your help
Solved!
Go to Solution.
Attachments:
Picture Zoom.vi ‏100 KB

The image is configured to be the default value of "Picture". In other words: you have to get rid of the default. You can do this by either:
a) Delete "Picture" and create it again. Disadvantage: You have to recreate all property nodes connected to this control.
b) Load an empty picture and then select "Data Operations >> Make Current Value Default".
hope this helps,
Norbert 
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.

Similar Messages

  • How to remove the "table control" icon in ITS based ESS screen

    Hi All,
    I have upgraded my external ITS 620 to patch level 28. Earlier we were on patch 04.
    Since then I am seeing the table control in my ESS screens (ITS Based),
    In some thread i got to know that the table control is totally redefined / modified from patch 22 of ITS.
    Is it possible that we can remove / hide the table control from the screens.
    I dont want to let the users access the "Table Settings" screen at all....can u plz tell me how to do it
    regards,
    PK

    we could not remove the table control...it seems like we can not remove it as the table control also appears in the r3 screens also..

  • How to customize (or remove) the documentviewer toolbar in code (no xml)?

    Hi all,
    I have a tab control that gets a new tab (with a documentviewer and a button) at runtime as the user selects items from a listbox. There is no xml for the new tabs ( but there is for the tabControl). The new tabs are generated at run time. After some
    time I was able to put a couple of rows and have the button in the top row and the documentviewer on the bottom row. Now I'm thinking I want to get rid of the documentviewer toolbar but all examples I can find use xml. I also read that I need to change
    the default template for the documentviewer... but again most stuff involves xml. So ... I'm thinking maybe I should modify the toolbar instead to include the button. But I'm not sure which way would be easier.
    Comments welcome.
    Thanks
    private void myListbox_SelectionChanged(object sender, SelectionChangedEventArgs e)
    if (myListbox.Items.Count > 0)
    TabItem newTab = new TabItem();
    newTab.Header = myListbox.SelectedValue.ToString();
    Button closeButton = new Button();
    closeButton.Content = "Close Report";
    closeButton.Width = 105;
    closeButton.Height = 25;
    closeButton.Margin = new Thickness(50, 0, 50, 0);
    closeButton.HorizontalAlignment = System.Windows.HorizontalAlignment.Right;
    closeButton.VerticalAlignment = System.Windows.VerticalAlignment.Center;
    closeButton.AddHandler(Button.ClickEvent, new RoutedEventHandler(closeButton_Click));
    DocumentViewer mydoc = new DocumentViewer();
    // Need to remove or modify documentViewer toolbar Grid myGrid = new Grid();
    RowDefinition topRow = new RowDefinition();
    RowDefinition bottomRow = new RowDefinition();
    topRow.Height = new GridLength(5, GridUnitType.Star);
    bottomRow.Height = new GridLength(95, GridUnitType.Star);
    myGrid.RowDefinitions.Insert(myGrid.RowDefinitions.Count, topRow);
    myGrid.RowDefinitions.Insert(myGrid.RowDefinitions.Count, bottomRow);
    Grid.SetRow(closeButton, 0);
    myGrid.Children.Add(closeButton);
    Grid.SetRow(mydoc, 1);
    myGrid.Children.Add(mydoc);
    newTab.Content = myGrid;
    mainTabcontrol.Items.Insert(mainTabcontrol.Items.Count, newTab);
    private void closeButton_Click(object sender, RoutedEventArgs e)
    TabItem tabToClose = new TabItem();
    tabToClose = mainTabcontrol.SelectedItem as TabItem;
    mainTabcontrol.Items.Remove(tabToClose);

    You could add a "dummy" DocumentViewer to your XAML, switch to design mode in Visual Studio 2012 or later, right-click on it and choose Edit Template->Edit a copy to copy the default template into your XAML and then modify it as per your requirements.
    You can then remove the "dummy" control, but keep the generated style and assign the Style property of your DocumentViewer to this custom style at runtime:
    DocumentViewer mydoc = new DocumentViewer();
    mydoc.Style = this.Resources["DocumentViewerStyle1"] as Style;
    //or mydoc.Style = Application.Current.Resources["DocumentViewerStyle1"] as Style;
    Hiding/removing the Toolbar can be accomplished by setting the Visibility property of the first ContentControl in the default ControlTemplate to Collapsed:
    <Window.Resources>
    <Style x:Key="DocumentViewerStyle1" BasedOn="{x:Null}" TargetType="{x:Type DocumentViewer}">
    <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.WindowTextBrushKey}}"/>
    <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/>
    <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
    <Setter Property="ContextMenu" Value="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerContextMenu, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}"/>
    <Setter Property="Template">
    <Setter.Value>
    <ControlTemplate TargetType="{x:Type DocumentViewer}">
    <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Focusable="False">
    <Grid Background="{TemplateBinding Background}" KeyboardNavigation.TabNavigation="Local">
    <Grid.ColumnDefinitions>
    <ColumnDefinition Width="*"/>
    </Grid.ColumnDefinitions>
    <Grid.RowDefinitions>
    <RowDefinition Height="Auto"/>
    <RowDefinition Height="*"/>
    <RowDefinition Height="Auto"/>
    </Grid.RowDefinitions>
    <ContentControl Visibility="Collapsed" Grid.Column="0" Focusable="{TemplateBinding Focusable}" Grid.Row="0" Style="{DynamicResource {ComponentResourceKey ResourceId=PUIDocumentViewerToolBarStyleKey, TypeInTargetAssembly={x:Type Documents:PresentationUIStyleResources}}}" TabIndex="0"/>
    <ScrollViewer x:Name="PART_ContentHost" CanContentScroll="true" Grid.Column="0" Focusable="{TemplateBinding Focusable}" HorizontalScrollBarVisibility="Auto" IsTabStop="true" Grid.Row="1" TabIndex="1"/>
    <DockPanel Grid.Row="1">
    <FrameworkElement DockPanel.Dock="Right" Width="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/>
    <Rectangle Height="10" Visibility="Visible" VerticalAlignment="top">
    <Rectangle.Fill>
    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
    <LinearGradientBrush.GradientStops>
    <GradientStopCollection>
    <GradientStop Color="#66000000" Offset="0"/>
    <GradientStop Color="Transparent" Offset="1"/>
    </GradientStopCollection>
    </LinearGradientBrush.GradientStops>
    </LinearGradientBrush>
    </Rectangle.Fill>
    </Rectangle>
    </DockPanel>
    <ContentControl x:Name="PART_FindToolBarHost" Grid.Column="0" Focusable="{TemplateBinding Focusable}" Grid.Row="2" TabIndex="2"/>
    </Grid>
    </Border>
    </ControlTemplate>
    </Setter.Value>
    </Setter>
    </Style>
    </Window.Resources>
    If you just want to hide the Toolbar, you could do this programmatically by findind the ContentControl in the visual tree using a helper method like this:
    private void myListbox_SelectionChanged(object sender, SelectionChangedEventArgs e)
    DocumentViewer mydoc = new DocumentViewer();
    mydoc.Loaded += (ss, ee) =>
    ContentControl cc = FindVisualChildren<ContentControl>(mydoc).FirstOrDefault();
    cc.Visibility = System.Windows.Visibility.Collapsed;
    private static IEnumerable<T> FindVisualChildren<T>(DependencyObject depObj) where T : DependencyObject
    if (depObj != null)
    for (int i = 0; i < VisualTreeHelper.GetChildrenCount(depObj); i++)
    DependencyObject child = VisualTreeHelper.GetChild(depObj, i);
    if (child != null && child is T)
    yield return (T)child;
    foreach (T childOfChild in FindVisualChildren<T>(child))
    yield return childOfChild;
    If you want to do some more advanced customization, then use the XAML approach and edit the template accordingly.
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't post several questions in the same thread.

  • Mailbox cleanup could not completely remove the mailbox for user

    Hello.
    I have Exchange 2010SP3 2 DAG member in cluster.
    Recently i have warning in app log on a second DAG member:
    Mailbox cleanup could not completely remove the mailbox for user GUID.Encountered error 0xfffffae8. Should this message continue to persist for the same mailbox, it may be indicative of a problem that requires further investigation. 
    I read all post wich say just unmount and mount database.
    I can't find any user wich have guid containted in error.
    So that i need to do?
    Can i use StartDAGmaintenance and reboot a server,then after reboot use StopDAGmaintenance?

    Hi,
    I suggest to refer to this blog to find this mailbox by GUID.
    http://blogs.technet.com/b/ehlro/archive/2010/04/22/how-to-find-the-object-that-belongs-to-a-guid.aspx
    Then check which database this mailbox belongs to, dismount and mount this database.
    Best Regards.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Lynn-Li
    TechNet Community Support

  • How to escape or remove the special characters in the xml element by regula

    Hi members,
    How to escape or remove the special characters in the xml element by regular expression  in java??
    For Example ,
    <my:name> aaaa </my:name>
    <my:age> 27 </my:age>
    In the above example , i have to retrieve the value of the <my:name> Element(For examlpe -- i have to get "aaaa" from <my:name> tag)...
    How to retreive this value by using DOM with XPATH in java
    Thanks in Advance

    Hi members,
    I forget to paste my coding for the above question....This is my coding......In this display the error...... Pls reply ASAP.......
    PROGRAM:
    import java.io.IOException;
    import java.util.Hashtable;
    import java.util.Map;
    import org.w3c.dom.*;
    import org.xml.sax.SAXException;
    import javax.xml.parsers.*;
    import javax.xml.xpath.*;
    public class DOMReaderForXMP {
         static Document doc;
         static XPath xpath;
         static Object result;
         static NodeList nodes;
         public DOMReaderForXMP() throws ParserConfigurationException, SAXException,
                   IOException, XPathExpressionException {
              DocumentBuilderFactory domFactory = DocumentBuilderFactory
                        .newInstance();
              domFactory.setNamespaceAware(true);
              DocumentBuilder builder = domFactory.newDocumentBuilder();
              doc = builder.parse("d:\\XMP.xml");
              XPathFactory factory = XPathFactory.newInstance();
              xpath = factory.newXPath();
         public static void perform(String path) throws Exception {
              result = xpath.evaluate(path, doc, XPathConstants.NODESET);
              nodes = (NodeList) result;
         public void check() throws Exception {
              perform("//my:name/text()");
              if (!nodes.item(0).getNodeValue().equals("application/pdf")) {
                   System.out.println("Mathces....!");
    ERROR:
    Exception in thread "main" net.sf.saxon.trans.StaticError: XPath syntax error at char 9 in {/my:name}:
    Prefix aas has not been declared

  • How stop PS6 from removing the DPI value from an image when using "save for the web"?

    How stop PS6 from removing the DPI-value from an image when using "save for the web"?
    Example:
    - Open a tif image, that contains a dpi value (resolution).
    - Use the splice tool in PS6.
    - Export the slices with "Save for web", as gif-files.
    Then the dpi value is removed, the gif files has no dpi value (it's empty).
    How can we stop PS6 from removing the dpi value when using "save for web"?
    OR:
    When using the slice tool, how can we save the sliced pieces without PS removing the dpi value?

    you can make your art go a little bit over the bounds. or you can make sure your artboart and art edges align to pixels

  • TS3297 I forgot the answer to my security questions. How could I find out the answers to my security questions?

    I forgot the answer to my security questions. How could I find out the answers to my security questions?

    The Best Alternatives for Security Questions and Rescue Mail
         1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    An alternative to using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • How could I be sure the download of iAS is correct?

    I have been trying to install iAS on Windows 2000 server with a fix IP and
    appended domain name. The setup run nicely and said complete. However, there
    is no files in the directory after installation. Ray, mentioned that it
    could be due to the quality of download.
    I have a cable modem here which I reckon has a very stable connection to the
    internet. How could I know if the testdrive file I download is in good
    condition?
    Any assistance is very appreciated. Thanks in advance.

    Hi,
    Unfortunately there is no way as of now to detect if the download is successful. However please ensure correct values on static ip and the DNS suffix and this error is common for test drive version download. The only solution is try to download again when you think the network traffic would be lesser and I'm sure that you will succeed. Good Luck on iAS.
    Regards
    RG

  • How is it possible that the black ipad 2 64 gb is sold out in hole Sweden, Hong Kong, Shanghai, Boston and Memphis at the same time!?

    How is it possible that the black ipad 2 64 gb is sold out in hole Sweden, Hong Kong, Shanghai, Boston and Memphis at the same time!?

    Because Apple can't get enought of them made to cover the demand, obviously. The iPad has been extremely popular and would probably be in short supply in any case, but the various disasters that have struck portions of the supply chain can't have made things any easier.
    Regards.

  • Volume control: I cannot change the volume using the keyboard of my Macbook. I have to go into preference. How to come back to the keyboard controler.

    I cannot change the volume using the keyboard of my Macbook. I have to go into preference. How to come back to the keyboard controler.

    1. Reset PRAM.  http://support.apple.com/kb/PH4405
    2. Reset SMC.     http://support.apple.com/kb/HT3964
        Choose the method for:
        "Resetting SMC on portables with a battery you should not remove on your own".

  • How do I pull up the left control panel that allows you to move from text to moving objects on page?

    How do I pull up the left control panel that allows you to move from text to moving objects on page?

    Do you mean this one:
    If so, go to the Window menu and make sure that Tools is checked.

  • How to get value on the table control in infotyp e0008

    Dear Freinds
                I have written a user exit ZXPADU02 for my requirement
    as per the requirement in i have calculated  wa-poo8-bet01 = wa_p0008-ansal/12 and i have passed on to the INNNN structure .
    Nowe when do a Create or Copy for a rcord in  infotype 0008  iam not
    getting value on Q0008-betrg field on the SCREEN , since it is table control how to get data on the table Control Cell .
    Please let me knlow
    regards

    Hi Syamala,
    The try to find the name of the table control and pass the values to it.
    Of course you have to loop and endloop, the table control and mofidy it from the work area.
    Message was edited by:
            Sera

  • Cannot remove the access control entry object on the object because the ACE isn't present

    Hello,
    I am very new to using Powershell and Exchange Management Shell, and have no prior experience using either of these tools. However, the software I am installing requires me to use the EMS tool in order to set certain permissions for a user in Exchange, which
    will be like the admin account. 
    The command I am attempting to run follows as:
    Get-ExchangeServer | Remove-ADPermission -User $newusername -Deny -ExtendedRights Receive-As -Confirm:$False 
    This throws me an error saying:
    cannot remove the access control entry on the object because the ACE isn't present. I've done some research, and have found that this error is quite common, but the solutions do not apply to what I am specifically trying to accomplish. I am simply trying
    to remove the Receive-As permission for the admin user that I just created.
    Once again, I am very new to Exchange and Powershell, but if there is any advice anyone has, it would greatly appreciated.

    I ran this command, and a very long list was displayed, it looks like everything is there.
    The weird thing is that I was able to run a previous command which granted Receive-As access to the user I am creating: 
    Get-ExchangeServer | Add-ADPermission -User $newusername -accessrights GenericRead, GenericWrite -extendedrights Send-As, Receive-As, ms-Exch-Store-Admin -Confirm:$False 
    The description for the commands to run read to 'grant permissions and to revoke denies, if present'. I'm not sure what this means, but the second part of this pertains to the second command that I am having trouble with:
    Get-ExchangeServer | Remove-ADPermission -User $newusername -Deny -ExtendedRights Receive-As -Confirm:$False

  • Could not install DPM agent on Secondry site DPM could not connect to the Service control manager : ID 33221

    Hi,
    We have two DPM 2012 R2 server installed at Primary and Secondary site Windows 2012 R2 installed.
    We need to Protected Primary DPM from Secondary DPM.
    When install DPM agent got error from secondary DPM console.
    “DPM could not connect to the Service Control Manager on these servers ID: 33221”
    Checked till now :
    Visual C++ redistributable installed.
    Checked DNS A record and both server can ping each other,
    Widows Firewall off on both servers.
    Net stop mpssvc ( Windows firewall service)
    sc \\Server1 query
     àable
    to see result
    Thanks,

    Hi
    You mention checking the DNS A record, are these 2 servers not in the same domain? Can you ping -a computername?
    Do you have any other AV software that have firewalls built in?
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Photo collage - how do I delete/remove the gray frame around a picture?

    I am creating a photo collage in PSE 7. I put 3 photos with no theme (background white) and adjusted the size, rotated them...etc. I also used the cookie cutter tool to give the photos a shape. A gray frame still remains after "cookie cutting" the pictures. How do I remove the gray frame?

    I cannot EDIT the above post anymore, so i have to tell you all, that i have now read the instructions, all about Photo Stream.
    So i have NOW found the easy way to Backup my Photo Stream, simply by using my MBP, create a folder in finder, goto iPhoto/iCloud, select ALL and Export to the folder just created in Finder. easy peasy.
    The instructions also say that Delete a photo stream photo on one device and it IS deleted automatically on all other devices.
    So realistically the above Questions are all a load of old TOSH. sorry for wasting your time if you read all of this.
    Tim

Maybe you are looking for