2D Picture Control Export as JPG

Hi guys,
I've created a radar plot using a 2D Picture Control. However on attempts to export this by using 'Get Image' I end up with a complete white/black (depends on background colour) square box. So in short, the radar plot created out of 2 variables is not visible. 
Any suggestions for exporting a .jpg file from a created radar plot from a 2D picture Control?
Thanks a bunch!
Solved!
Go to Solution.

Have you tried the Picture to Pixmap function followed by one the Write JPEG Image file?
EDIT: The snippet is a modification of the shipping example. All that I had selected for the snipper were the three VIs and the wires between them. Nothing else was selected. The snippet posted is what I got. (Didn't have the Code Capture Tool installed on the virtual machine.)
Attachments:
save image.png ‏26 KB

Similar Messages

  • PDA example: Reading a jpeg file into a picture control

    Hi
    Does anybody have a simple PDA example of how to read a .jpg file and show it in a picture control. The jpg examples I've found does not compile for PDA.

    Evan wrote in message news:<[email protected]>...
    > In LabVIEW for windows there are VIs to read in JPEGs, however the PDA
    > module does not support those VIs, so I do not believe there is a way
    > to display JPEGs.
    The hard way would be to write your own JPEG -> Bitmap / Array
    de-compression routine. You will probably find example (C++) code at
    the JPEG web site.
    http://www.jpeg.org/jpeg_about.html

  • Save content of picture control as .jpg into excel file?

    Is it possible to save the contents shown of a picture control as a jpeg file into an excel file along with other data? Is this possible without using ActiveX? If I have to use ActiveX how do I use this?
    Thanks

    Hello AndyBE,
    ActiveX is definitely going to be your best bet. I�ve attached an example that should meet your needs. Let me know if this works for you.
    Have a nice day!
    Robert Mortensen
    Applications Engineer
    National Instruments
    Robert Mortensen
    Software Engineer
    National Instruments
    Attachments:
    Picture_To_XL_(6i).vi ‏133 KB

  • 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 do I apply a texture to an imported .stl file in 3D Picture Control?

    Hi, I'm trying to apply a 2D image as a texture to an imported .stl file in 3D picture control. It works fine if I'm using a standard shaped mesh created in LabVIEW, however is there a way in which a texture can be applied to an imported model that isn't a standard shape, in my case a balloon. I've attached the an image of the Sub vi where I apply the texture. The object just shows up as a flat colour. Do I need to define how the image is applied to the mesh due to it being a non-standard shape? If so, any pointers would be appreciated.
    Many thanks.
    Oh, I'm using LabVIEW 2009 SP1.
    Attachments:
    stl texture problem.jpg ‏60 KB

    Apologies, been trying all afternoon and then a couple of minutes after posting, I figured it out. Using a property node for the Scenemesh reference, I set the property TextureGenMode to Spherical and it appears to now display the texture on the mesh.

  • Inserting a small graphics in a picture control

    Does any one have an example code for inserting a small graphics/8 bit bmp file (15x15) in a relatively large (240x360) 8 bit jpeg image at known location in LabVIEW using Picture Control? Thanks in advance.

    Hello,
    To read an image file (BMP, JPG, PNG) and put it into a picture control you can use the OpenG function "draw image from file", and then use the picture control property "Zoom" to fit it correctly.
    Here's an example :
    You can get OpenG functions from here.
    Hope this helps.
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • 3D Picture Control Using Solid Works VRML File and Moving Individual Components

    Hi, i am new to these forums and am looking for help concerning 3d picture control, i am a undergraduate student doing a second year project to control a 4DoF UAV.
    I'm trying to sort out the 3d simulation of it, i have made the solid works drawings and assembly then exported that to a single WRL file (in the correct format ie. ver. 97) however when trying to import that to Labview i am having difficulty setting the relationships so different parts rotate etc. in the assembly.
    i'll attach the corresponding example vi from labview and my solid work files.
    Any help is very much appreciated
    Thanks
    Tom
    Attachments:
    CDEx Draw Helicopter 3D Model.vi ‏21 KB
    WRL and solid work files.zip ‏4235 KB

    hi again,
    i've tried your suggestion with the naming however, i am using seperate VRML files for the different components and using the main vrml file to control the prent-child relationship etc. however when trying to access that file through labview it can't open it. this is the code within the vrml file
    #VRML V2.0 utf8
    DEF assembly Transform {
    Children [
    Inline {
    url [" Bottom Base.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Revolve Transform {
    Children [
    Inline {
    url [" Top Base.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Elevation Transform {
    Children [
    Inline {
    url [" Arm Pivot.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Connector Transform {
    Children [
    Inline {
    url [" Rod-Base Connector.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Rod Transform {
    Children [
    Inline {
    url [" Rod.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Roll Transform {
    Children [
    Inline {
    url [" Mount Connector.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Pitch Transform {
    Children [
    Inline {
    url [" Mount Pivot.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Mount Transform {
    Inline {
    url [" Arm Mount.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Chassis Transform {
    Inline {
    url [" Chassis.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Gearhead1 Transform {
    Inline {
    url [" i_gearhead.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Gearhead2 Transform {
    Inline {
    url [" i_gearhead-1.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Gearhead3 Transform {
    Inline {
    url [" i_gearhead-2.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Gearhead4 Transform {
    Inline {
    url [" i_gearhead-3.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Shaft1 Transform {
    Inline {
    url [" i_shaft.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Shaft2 Transform {
    Inline {
    url [" i_shaft-1.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Shaft2 Transform {
    Inline {
    url [" i_shaft-2.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Shaft3 Transform {
    Inline {
    url [" i_shaft-3.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Prop1 Transform {
    Inline {
    url [" Propeller.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Prop2 Transform {
    Inline {
    url [" Propeller-1.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Prop3 Transform {
    Inline {
    url [" Propeller-2.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Prop4 Transform {
    Inline {
    url [" Propeller-3.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Shell Transform {
    Inline {
    url [" Shell.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000
    DEF Dome Transform {
    Inline {
    url [" Dome.wrl "]
    bboxSize -1.000000 -1.000000 -1.000000
    bboxCenter 0.000000 0.000000 0.000000

  • Memory Leak with Picture Control

    Hi all
    There is bug with Picture Control
    When you insert you picture data in loop into the shift register, memory leak
    Can somebody to prevent this bug?
    Run attached example and look at Task Manager
    Attachments:
    Picture Memory Leak Example.vi ‏24 KB

    I believe David properly called the cause of this memory consumption.
    In reply # 52 of thsi thread,
    http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=5&jump=true
    I posted an example that inserts 130 FP object images in a picture and moves them around (it is a random walk where each object is assigned a letter and the program terminates when all of the letters required to spell out "Hello World" wander into the trap at the bottom.)
    A snippet of the code follows.
    A) Start with a blank picture
    B) Inster all of the images
    C) show the updated image.
    Other links to LV Picture control examples can be found in this thread.
    http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=14&jump=true
    Ben
    Message Edited by Ben on 01-14-2007 08:58 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    Many_Objects.JPG ‏24 KB

  • Set 2d picture control image

    I'm making some palette installers for ease of distribution for some libraries I have written. I'm following the example VIs (search the example finder for "palette API").
    I'm having some frustration in setting the new palette icon; the icon constant is a 2d picture control but I can't find a way to drop my image into it, and I can't set it programatically as the 2d picture control VIs only allow me to draw shapes into it.
    - Cheers, Ed
    Solved!
    Go to Solution.

    In cases like this I often resort to using a transparent classic path as an overlay to catch dropped files.  If you do not plan on interacting with the picture control, it is quite easy.  Otherwise it is just a few more events to control visibility when the mouse enters the VI with the button pressed.
    Just run the VI and drag PNG, JPG, or BMP files to the picture control.
    Attachments:
    DragToPictureControl.vi ‏16 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

  • Trouble exporting to JPG

    Probably a newbie question, but I'm stumped.
    I've created an RGB AI file that consists of a picture with text overlaid on it. The text is a pale yellow (254,254,179). Everything works fine until I export it to JPG. When I do so, the yellow text changes to white. Picture, text style all remain exactly as designed in AI, but the text always goes white. I've run experiments, and this doesn't happen if the color is, say, a red or a blue.
    What's going on? How do I fix this?
    Thanks for any help.
    EdB

    I tried some text with your color and used save for web jpeg(low) then tried export to jpg and worked fine.
    Open your .jpg in photoshop try moving your eyedropper set to 1 pixel  over the image. Mine comes back with 253 250 180 on the jpg low quality. The color shifts when saving to .jpg for compression, and low quality changes the most. Your monitor calibration and color profile settings can be part of the problem. Try changing your illustrator >> edit >> colorsettings to:

  • Does lightroom honor my incamera picture control profiles?

    I've been struggling with this question while importing photos from a Nikon D700.
    Sometimes  I switch to different picture control settings in Nikon depending on the shooting situation.  I use D2x  profiles for portraits frequently, but on import,  lightroom seems to discard everything and applies "Adobe Standard" to all pics (RAW).  Does lightroom care? Or is picture control profiles only  apply to jpeg?
    Please let me know what is the smoothest way I  can import photos into lighroom without having to go through each photo  and adjust colors.  I'm sure there must be a way to import photos so  that they at least reflect what I'm doing in camera.
    Thanks in advance

    thedigitaldog wrote:
    The picture styles the manufactures provide are proprietary raw to JPEG processing in-camera. Only the manufacturers know that recipe.
    a bit of a myth this. Manufacturers processes are not unknown. They are not secret in any way. The settings are applicable only to the manufacturers software (or the firmware for in camera production of jpgs). LR uses different (and superior) processing tools, so cannot apply them.
    If you wish to use the in camera settings then you can
    1 Shoot RAW plus jpg. The jpg will be processed according to the manufacturers settings.
    2 Shoot RAW and use the propitiatory tools provided or sold by the manufacturer rather than LR.
    Certain proprietary settings are actually shared and used by LR. The lens corrections built into m 4:3's cameras being an example. But the colour profiles, sharpening, noise reduction etc. in LR is different to that used by proprietary software such as DPP or Nikon Capture so these cannot be used directly. Adoe makes it's own camera specific profiles for every camera, these may not match the manufacturers. In the case of some Canon and Nikon cameras Adobe also produce alternative colour profiles which closly match (but are not exact replicas) the ones the camera manufacturer uses.
    The "secret sauce" is not the information in the file, but the way each different RAW processing software uses that information. There is no right or wrong interpretation of the data and it is really down to individual preference between LR, Capture One etc. and the various manufacturers software. The biggest problem you have with using Canon or Nikon software is that it only works with Canon or Nikon cameras (which is of course the reason the manufacturers are keen on it). Whereas LR, Capture One etc. works with any camera.
    The choice is all yours.

  • How can I draw dashed lines on a Picture Control?

    I have loaded a *jpg map onto a Picture Control.
    I then load a file of X-Y coordinates that make-up different legs which are connected.
    I need to make these lines dashed. Before I spend time on adding new points in between
    points and then alternate between "Draw line" &
    "Draw point", I wonder if there is an easier
    way of maybe changing the attribute of the
    line with "Draw Multiple Lines" ???

    I have been trying to draw dashed lines too. I have tried drawing a dash and then putting it in a loop. the loop executes after the user has lifted the mouse and then it gets the end point of the line. the problem is that the line appears only after the mouse has been pressed, dragged and released. I was wondering if you have managed to solve your problem. If yes then could you help me with it.

  • 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

  • Programati​cally reset camera orientatio​n for 3D picture control

    Does anyone know how to programatically reset or control the camera orientation for the 3D camera control/indicator.
    I'm trying to play back some motion data that I've gathered on a boat and I'd like to be be able to accuratley control the orientation of the camera (ie more then just by using the spherical camera controller)
    Thanks for any help.
    J Bowen
    US Marine; A Brunswick Family Boat Company
    Product Integrity, Component Testing, and Validation
    LabVIEW 8.2
    CompactDAQ
    DaqPad 6015
    SCC-2345

    The new 3D
    Picture Control in LabVIEW 8.20, has tons of functionality even though only the
    most common features are exposed through the VIs
    in the palette. The functionality of controlling the camera programmatically is
    accessible through the "Setup Camera" method for the 3D Picture Control window/indicator:
    Refer to the "solarsystem.vi" shipping example to see an implementation of the "Setup Camera" method.
    Good luck!
    Message Edited by Philip Courtois on 01-09-2007 09:45 AM
    - Philip Courtois, Thinkbot Solutions
    Attachments:
    SetupCamera.JPG ‏10 KB

Maybe you are looking for

  • Budget not working

    Hi All, I have set block for the budget deviation. I have set budget for PO , GRPO, and Accounting. selected the radio button of monthly budget. I have set the 12000 as budget amount for G L NO EX1111. So per month budget amount is Rs.1000. For the f

  • Determining Message Server Host and Port information

    Hi, I am working on the NWDS creating a Java WD application and I was told which Netweaver system I should work on but I was not told the Message Server Host  information neither the Port information. I ran transaction SM51 (right click->details)in t

  • Problems importing .wmv file as an asset to CS3 Encore DVD

    If anyone has any insight, it would be very much appreciated. I tried to find the answer by looking at this forum and google and I haven't been able to find any information. When I import the .wmv file on a mac to Encore DVD CS3, I am getting the fol

  • When I turn on my computer it shows program running and I can't find the program?

    When I turn on computer, below my name it says program running.This appears before I log on to internet.

  • Bitmap monochrome (not greyscale)

    Sorry for this question - Illustrator CS6 can export a bitmap monochrome file (not greyscale)? I have to export this old format file for a client and i have to understand it's possible. Many thanks.