Move picture inside of the picture control

All,
What I have been tasked to do is to use a picture control to display a picture and be able to zoom in and out of the picture. this works great. What I would like to be able to do is click and hold down the mouse and while the mouse is down move the picture with the coords of the mouse.
like this.
click and and hold.
mouse moves left then the picture moves to the left.
Any suggestions are appreciated.
thanks in advance
Joe.
"NOTHING IS EVER EASY"

Hi Joe,
I can't point you at a complete solution but the "CC and Friends" thread has cod ethat will let you figure out where in the picture the mouse is and where the user clicked.
That will at leats give you a head-start on this challenge.
If that helps and you find the opertunity, please post back showing how you completed this task. We could use an exaple that shows how to do this.
I hope this helps,
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • How can I set the caption text of picture controls inside an array or how can I choose which array element is assigned using the array elements caption text property.

    I have 8 picture controls inside an array and I would like to set the caption text of these controls.
    I have used the property node of the array and used the array elements property caption text to set the text.
    The problem is however that I set the same text to all the picture controls inside the array.
    My question is how to set caption text of specific elements (Picture control) that I have so far only been able to access using the array elements caption text property.

    Some more help
    1 You could use the caption of the array and place it in front of the selected picture and update that using property nodes.
    2 Like Norbett said if you use a cluster of pictures then their caption can be updated individually.
    Here is a an example that demonstrates the above
    David
    Attachments:
    Modify the Captions Of Pictures.vi ‏83 KB

  • How do i set the size of 3d picture control

    dear sir,
                I have attached my vi.I have one doubt  ie I have used translate object. vi in my vi to move my picture according to the value set by the y position.This y position indicates depth my object.this is sample object  insteat of i am going to update my underwater vehicle.
    What my problem is when i chnage the y value beyond 200 I can not see my picture.so  how do i set the size of the 3d picture control size.
           I have to see my picture within the 3d picture control eventhough i change the y value between 0-500,how do i solve my problem.
    Another my doubt is how do i show the depth value (ie y value in translate object .vi) in 3d picture control ie while the picture is moving in a 3d picture control at the same time i want to display the corresponding depth rating in the 3d picture control
    Pls anyone suggest me as soon as possible.
    Thanks and regards
    jayanthi.k
    Attachments:
    Untitled 1.llb ‏67 KB

    Jayanth,
    Take a look at the attached example.  Alternatively, you can search for it in NI Example Finder by going to Help>>Find Examples in LabVIEW, click on the search tab, and search for meshes.  I had difficulty reading your code, but I believe you need to position your lighting source in the optimal location to get better definition.  And the example shows how to bind a color to the object.
    Trey B
    Applications Engineering
    National Instruments
    Attachments:
    Using Meshes.vi ‏76 KB

  • Move a jpeg image within a picture control

    I am having problems moving a jpeg image inside a picture control with my arrow buttons.
    any help would be great thanks
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Solved!
    Go to Solution.
    Attachments:
    picfun.vi ‏17 KB
    ball.jpg ‏2 KB

    Hi Harold,
    Things are hooked up wrong....
    (Also, you don't really want to read the same file with each repeat. Once is enough! )
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    picfunMOD.vi ‏13 KB

  • How to enlarge the picture in the picture control at the same scale(proportion) with what

    the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size.how to enlarge the picture in the picture control at the same scale(proportion) of what the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size. i have alter the vi properties and select "window size" there is a "s
    cale all objects" tick box ,but failed,the picture ang the picture control (container)did not enlarge ,but the other control have enlarged,just opposite to my purpose .i thank it is a representional question although it may be very simple,in my around ,no one can solve it !
    i have offered the vi and a jpeg file underside,who can help me amend the vi? greatly thanks!!! noticed that what i use is lv6.1,if you can solve the problem but need some other vi or lib files ,please offered all together!!!
    Attachments:
    how_to_enlarge_the_picture_at_the__same__scale_of_what_the_fontpanel__enlarged_when_you_dbclick_the_title_bar_to_enlarge_the_fontpanel_to_entire_screen.vi ‏30 KB
    Test.jpg ‏21 KB

    the fontpanel enlarged when you dbclick the title bar to enlarge the fontpanel to entire screen,but the other objects (for example,the button,the string,and so on)on the fontpanel not enlarged with the varity of the fontpanel, only keep the original size.Hi,
    I am not quite sure if I understand what you are trying to do.
    Sounds like you are trying to implement the zoom feature (increasing/decreasing the size of the picture inside a picture control, but not the size of the picture control itself). If this is what you are trying to do, then there is a property node in LabVIEW 7.0 that supports this feature (This property did not exist in LabVIEW 6.1). Please download the LabVIEW 7.0 evaluation version and run the attached VI.
    Please let me know if this is not what you are trying to do.
    Sincerely,
    Feroz

  • How can i move pictures from the phone to the pc?

    How do I move pictures from my cell phone to my PC?

    Do you get an error when transferring, or do you not see the card/phone show up in a file manager/My Computer?  Do you have the updated drivers for USB from Samsung?
    If all of this is fine, can you not cut and paste or drag and drop from the phone/card to a folder? 

  • How do I move pictures off my phone without losing the pictures permanently?  Is there a way to keep the pictures in the cloud without them being on my device?

    How do I move pictures off my phone without losing the pictures permanently?  Is there a way to keep the pictures in the cloud without them being on my actual phone?  I'm concerned that the sync feature will remove the pictures from the cloud when they are deleted from my phone.
    Thanks for the help.

    Can I back up iPhoto to the cloud via some apple service (iCloud)
    No
    or do I need to use something else?  If so, any recommendations?
    An external hard disk:
    Most Simple Back Up:
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex: Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically.
    Example of such apps: Chronosync - but there are many others. Search on MacUpdate or the App Store

  • A few days ago my TV show and movie displays went whacky-the shows are no longer in alpha order, there are multiple listings of the same show, the pictures are random-including album covers.  I downloaded latest version.  Any ideas??

    A few days ago my TV show and movie displays went whacky-the shows are no longer in alpha order, there are multiple listings of the same show, the pictures are random-including album covers.  I downloaded latest version & no change.  Any ideas??

    ME TOO.
    I think mine are all still in alphabetical order, but :
    * movies I deleted from my library and told "hide this purchase in the cloud" are showing up again. If I try to play them, I get the "cannot find the file in its proper location, would you like to locate it" error message.
    * for movies that have "iTunes Extras," the extras show up as a separate item, with another copy of the movie artwork. Most of these I believe I had DELETED the "iTunes Extras" anyway.
    * Items are showing up multiple times.
    * A few MUSIC ALBUMS are listed in my Movies section.
    * Some movies (I believe ones that I deleted off my HD but are still in the cloud) are showing random album covers instead of their proper artwork.
    * Just rented a movie, and it didn't show up anywhere in my library. It downloaded properly and completely, was in a suitably labeled folder in my iTunes/Media/Movies section, but didn't show up in any section of the library (or via a library search). Had to manually find it and tell it to open the file using iTunes.
    Running the latest version, even checked for updates. No other changes made lately since the last round of apple software updates. This was wonky before the latest small update to iTunes - now it's even wonkier. And it is very, VERY effing annoying.

  • I am trying to move my  albums  with the pictures to a flash drive but I get the pictures but not in the album.

    How can I move my albums, including the title of the album , with the pictures to a flash drive. Every thing I try I only get the pictures but they are not in the album.

    Create a folder on the Desktop with the ablum name.  Then export the contents of your iPHoto album into that folder.  Drag the folder  onto the flash drive.
    OT

  • TS3477 How can I view movies, pictures, etc from Mac Book Pro (bought in he States) on a Sony TV(in Europe). Do you have change the settings on the Mac to comply with the european TV ?

    I have a Mac book pro ( 7,1  version ) bought in the US and want to see some videos, pictures and movies on a Sony TV with HDMI connection (in Europe).
    When connecting both the pc and the tv, I get on the tv the opening screen of a mac book pro but although a movie is playing on the pc it does not show on the tv. Do I have to change something in the displays on the system preference screen ?
    Thanks for helping out.

    By 'opening screen' do you mean the spiral galaxy desktop?  If so, then, with the TV connected to the MBP, open System Preferences ➜ Displays ➜ Arrangement.  You will see an image of two screens.  At the top of the smaller of the two screens in the image is a small bar, this represents the menu bar at the top of your display.  Drag this small bar to the top of the larger of the two screens in the image.  The menu bar and dock will now appear on the TV which is now the primary display and all the action will take place there.

  • A problem about saving the picture control'image in a child VI.

    i want to use 'export image' method to get a picture control'image,so ,i have a child VI to use method 'export image',and a main VI to using the child VI,but when i run the main VI,there is no image is saved on the disk ,but if i open the child VI'frontpanel,then,i run the main VI,the image is saved on the disk,i want to know the reason why i can not get the image,when i run the main vi without the child 'frontpanel or blockdiagram is opened.
    Solved!
    Go to Solution.
    Attachments:
    child.vi ‏11 KB
    main.vi ‏7 KB

    The behavior that Simon describes is not a hard and fast rule, and the Export Image method used to be a bit of an exception.  It would supposedly update the controls of unopened FPs that used the method.  Reality never quite matched what was described in the documentation if I recall.
    If you pore over the detailed help you discover that this method works fine in SubVIs with some controls and not others.  Look at the characteristic 'Loads the Front Panel Into Memory', for a Picture control it is 'No', for a Waveform Graph, for instance, it is 'Yes'.  Caveat:  Relying on this level of detail to be correct in the LV help is a bit risky.  Best to try it yourself.  Not loading the FP is a good hint that the method is not going to behave in a SubVI.
    As to the problem at hand, a Picture Indicator is an odd choice to me to use this method.  You have VIs in the Picture palette to convert pictures to image data and then export the image data to a PNG or JPG or BMP file directly.  Anything you would draw and then export could be exported directly without drawing.

  • 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.

  • Insert Art into the Picture control using AGM and ADM

    Hello. I need to get selected art and display it on the User Interface Picture control. What I already did:
    void ASAPI my_inDrawProc( ADMItemRef item, ADMDrawerRef inDrawer) {
    AIArtHandle **artStore = NULL;
    long artCount = 0;
    AIRealRect bounds;
    sAIMatchingArt->GetSelectedArt(&artStore, &artCount );
    AIPathStyle m_style;
    AIDrawArtData drawData;
    const AIColorConvertOptions drawOptions;
    for (int a=0; a<artCount; a++)
    AIArtHandle my_artHandle = (*artStore)[a];
    sAIPathStyle->GetPathStyle(my_artHandle, &m_style);
    sAIPathStyle->SetPathStyle(my_artHandle, &m_style);
    // Insert to port data
    drawData.art = my_artHandle;
    sAIDrawArt->BeginDrawArt(&drawData, drawOptions, 1);
    sAIDrawArt->DrawArt(&drawData, drawOptions);
    sAIDrawArt->EndDrawArt(&drawData, drawOptions);
    What to do next? Please help

    I'm not familliar with the AiDrawArtSuite unfortunately, but another way you might consider doing it is to rasterize the art you want to display using the AIRasterize suite. This will give you back the raw image data that you can put into an ADMImage (and cache).

  • Load picture control with png image from the web

    Hi guys,
    Is there an example anywhere for Labview 8.6 for loading a picture control with png image from the web?

    Hi lavalava,
    here you find a note on how to load pictures from the internet. After grabbing the data you could save them to a file, load the file with the picture file functions and then convert it into the image datatype to feed a picture indicator with the data...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Aperture ignores the settings Picture Control of my camera

    Hello.
    I am a professional photographer. I would like to use Aperture 3 in my professional career, but I can not because of this problem: When I import files from my Nikon D300 to Aperture, the program ignores the settings Picture Control of my camera. As a result, I can not use the potential of my camera. This forces me to do extra steps that take time. The recommendation not to use the Piсture Сontrol in my camera and use the presets and settings from Aperture no good for me because I dynamically change both standard and created by myself Picture Control settings directly at the shooting.
    How to set up Aperture to read and save settings Picture Control from my camera?
    Sincerely,
    Ulyaschenkov Nikita

    I have no doubt that you would say.
    Blame Nikon?
    Will the aperture to solve this problem in the future? I hope so.
    I do not think this problem is an unsolved problem.
    Of course, if the Aperture will want to do it. If the Aperture has a desire to get better and better.

Maybe you are looking for