Append control image requires vi to be open

Having a curious problem with the append control image vi in the report toolkit.
I'm using LV8.6 with the current report toolkit .
I have an application that merges the information from 4 sections into one html report.
Using the append control image vi I add images to the report in two subvi.
When the subvi are open on the desktop everything works fine.
As soon as I minimise them to the toolbar or open them up so the image I am grabbing is not fully visible, I either miss the image entirely or only capture a portion of the image.
Am I doing this wrong?
Is there a workaround or better method to achieve this ?
I am trying to avoid using  word or excell as these products may not be available on the target machine.
henry

Hi Henry,
From what you are saying it sound very similar to KnowledgeBase 339HAFUW Append Control Image to Report Does Not Update the Correct Value of my Hidden....
I made a subVI that writes to an indicator and then in the main VI I use that indictor’s reference as the input to the Append Image VI. I write to an HTML report and the image appears fine for me. During this time I never the subVI opened.  However, if I open the subVI and then minimize it I notice that blanks images are outputted to the HTML file.
I will be investigating this behaviour a some more.
I have attached my VI for reference.
Message Edited by DiscoBall on 05-01-2009 03:21 PM
Message Edited by DiscoBall on 05-01-2009 03:21 PM
Joshua B.
National Instruments
NI Services
NI Support Resources
NI Training Resources
Attachments:
cvilv.vi ‏12 KB
time.vi ‏6 KB

Similar Messages

  • Append Control Image to Report stops Source Distributi​on from working

    I have a top level built executeable that calls various external vi's using the "Call by Reference Node" function.  This seems to work ok, to a point.  An additional point here is this is code that I had running well in LV8.2 and am now trying to get running in LV2010 as there have been some significant changes in LV that have impacted on this project and this has forced me to change things.
    The external vi that is called is stored in a "Source Distribution" directory structure, which has been generated via its own project specifications.  An examination of the directories and vi's stored at the destination looks like everything should be there. 
    When it comes to running the vi in the source distribution directory (from the top level built executeable) I get the following error message "Error 1003 occurred at Open VI Reference in Run HTML Report Generation VI LV10.vi->Generate Reports.vi", with the additional suggestion " The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File>>Open to open the VI and then verify that you are able to run it.".  So it looks like there is something missing in the "Source Distribution" directories.
    Doing as suggested, opening the vi in the "Source Distribution" with the development environment, shows that it has no broken arrow.  My suspicion is the development environment is supplying whatever it is missing.
    Using the built top level application, using trial and error and using the diagram disable structure, I have narrowed down the location of the problem to an "Append Control Image to Report" sub vi (its from the NI Report menus).  Disabling this vi at the level it is called, allows the "Source Distribution" vi to run.  "Append Control Image to Report" is part of a class structure and I must say I have not used class structures so my understanding of their implications is very limited.
    If I instead dive into "Append Control Image to Report" vi and disable the vast majority of its diagram (everything in the "No Error" case), the original error pops up again.  Bit strange considering there are only controls and indicators and a case statement left.
    I would appreciate any suggestions, as this has got me stumped.  Hopefully I have made myself clear enough as it is all a bit complicated.  Let me know if I haven't.  Thanks.
    Herbert Niesler

        Hi Caleb,
          "When the VI displays the broken arrow and displays that error in the dialog, does it take you to a particular diagram component? Does the diagram have any broken arrows or something?"...      it doesn't take me to a particular diagram.  Is this possible in the RTE?  If it is how do I enable it?
       I can follow the chain of broken arrows (front panel only) down to my vi that calls the NIreport vi that is causing the problem.  However I am unable to open the NIreport vi's in the RTE, so cannot chase this any further down the call chain.
      I have tried opening the offending top level vi (on a network drive) and it opens ok.  When I close it, it wants to save some changes which i think might point at where the problem is.  The attached file shows the screen shots of the "Explain Changes" window.  Hopefully they mean something to you.
           Cheers
                    Herbert
    Herbert Niesler
    Attachments:
    Explain Changes.jpg ‏46 KB

  • Cluster not saved correctly in Append Control Image to Report VI

    [LV8 with Windows XP]
    I'm using the Append Control Image to Report VI to save the image of a control to Word (the same problem occurs if I save to Excel). This VI seems to work fine with all my controls except clusters. Not all of the contents of the cluster show up in the saved image. I have to expand the edges of the cluster way beyond the cluster contents in order for all the contents to show up in the saved image. Is this a bug? Is there a way to "realign" the contents of the cluster within the boundaries?
    George

    Hi,
    just had a customer with the problem with this cluster picture function and I wrote a little VI that manually gets the picture, resizes it to the cluster and the rest is up to you. The only thing is, that you have to place the "zero point" of the frontpanel in the upper left corner to get the proper image.
    For Users who want to upgrade: This issue is fixed with the next LabVIEW release.
    Best Regards,
     Andreas Pistek
    ~~~ Logic is a systematic method of coming to the wrong conclusion with confidence ~~~
    Attachments:
    better picture.vi ‏19 KB

  • I can't append control image to report on 1 page with appended text report

    I am attempting to create a report which is simply header, experiment information, and two graphs of data. I am using a Easy Text Report and Append Control Image to Report. I have successfully printed out this report, but on two separate pages. The header info is on the first page, and the graphs on the second page. This doesn't seem to be a margins problem, as the header is very brief and the graphs aren't that large either. I would like to make this into a one page report.  Any help is greatly appreciated.
    Message Edited by csmrunman on 01-15-2010 10:18 AM

    Nevermind. I neglected to see the Append Report Text.vi. That solved everything.

  • Append control image

    Hi,
    I Have a problem with the append control image to report VI. I Have a Array of clusters that contain 3 numeric indicators and 2 vertical pointer slides. When i try to append this iamge to a report, the picture thats appended downt contain the whole control, and has some weird artefacts. With other controls the append control image to report vi works fine.. Is this a bugin LV 8.0 or am i doing something wrong?
    Thnx
    Bart
    Labview CLD , Engineer/Manager
    Promedes and DSM
    using LV 7.1, 8.0, 8.2, 8.5 and 2009 SP1
    http://www.promedes.nl

    Ok here is an example, the cluster is being appended in the subvi
    Labview CLD , Engineer/Manager
    Promedes and DSM
    using LV 7.1, 8.0, 8.2, 8.5 and 2009 SP1
    http://www.promedes.nl
    Attachments:
    subvi.vi ‏35 KB
    problem.vi ‏14 KB

  • Bug in Append Control Image to Report in 8.5?

    I am now at an end with this.  I seem to have some sort of problem when using the Append Control Image to Report.  I have a program that creates two reports.  One is a condensed version, the other detailed.  Both reports contain JPG images of some front panel displays.  For the most part it seems to work except what ever it is doing appears very unstable.  The problem seems to center around me trying to include a Multicoulmn Listbox.  I create a Reference of it and then run that to my Append Control Image, just like any other image I want to include.  If I probe the Reference, it appears to be correct, i.e. the name, etc. all seem right.  However, what the image that gets included is a whole different graphic.   Some times I will get the listbox, other times nothing at all.  If I look in the directory and bring up the images, indeed, if it prints the wrong graphics, it also has created two of the ne that it includes. 
    Running the same program unmodifed seems to do the same thing, i.e. it always will print the wrong graphic.  As I have tried different things to try and skirt the problem, I get different effects.  
    I have seen the same problem with other graphics as well, not just the listbox, but I can't come up with any hint as to why it does what it does. 
    Attachments:
    LABVIEW_err.jpg ‏18 KB

    I have dug into this a little further and it appears this bug has to do with creating two reports at the same time. If I only generate a single report, everything works flawless.
    I placed the sections of the code that append data to the reports into a sequence so they would not happen at the same time. This seemed to have some effect, but the reports were still incorrect.
    Is LabView just not able to create two reports within a single progeam?
    I can work around this by creating just the detailed report for now, but it would sure be nice if there were a way to make it work.

  • Print report and append control image to report.vi problem

    why print report.vi and control image to report.vi can't executable in xp service pack 3??
    before that, i use xp service pack 1. these sub vi can use successful. but after i transfer all ni file into xp service pack 3, that sub vi can't executable..why it happen???
    please, help me...

    When you said that you used your VIs in service pack 1 and then transferred to Service pack 3, are you referring to 2 different computers or you simply updated the computer with SP1 to SP3?
    If you are using 2 different computers, were all the software and the toolkit also installed in the pc with SP3? I am using XP with SP3 and I am not having any problems with the print vi.
    If you have more information, like if you get an error message, kindly post it here as well.
    Best regards,
    Mary Anne
    .....YOU WONT LEARN IF YOU ALREADY KNOW.....

  • Standard Report - Append Control Image Width Problem / Limitation or Bug?

    I am trying to create a Standard Report and am having a hard time placing a XY Graph control on the report. My problem is I want to use the maximum page area to view the graph. For this reason, I am keeping the margins small and increasing the size of the control so that it occupies almost all of the page. What I find is that after a certain limit, the XY graph image output on the report does not increase in size even if you increase the control size. In fact the image will get worse with larger size once beyond the limit. No matter How I try, the Image will not occupy all the area between the Horizontal Margins.
    Either this is a bug or undocumented limitation.
    Ahh.. One other possibility exists, that I am not smart enough. But if some one can help me here, It will be greatly appreciated.
    I am Using LV 8.2 on XP machine.
    I am attaching the VI and two PDF files, In "MyReport w1000.pdf" The XY Graph is 1000 Pixels Wide. In "MyReport w2000.pdf" I made it 2000 Pixels wide, however the size of the image did not increase on the report. Also You can notice the difference in quality between the two reports.
    To use my vi just size the graph to different sizes and run it, It will output to the default Printer. If you have a PDF writer set as default printer, It will save it to file.
    If anyone can help, I thank you and wish you...
    Good Luck!
    Mache

    I do not like Vivek's workaround. "Use HTML report"  is not acceptable when the question is about Standard report. People may want to use Standard report and there is a reason it is called standard.
    Anyway one solution is to size the image to most optimum size - as large as possible but retaining the graphical quality. This will still leave you with large white spaces around your graph object.
    Second solution that I am using is to Put the graph object and any other elements that I want on my report on a Front panel of a VI. Size the objects and front panel and objects appropriately and then use Print Panel to Printer method to Print the whole VI front panel. In my app. This VI which mimics the report is called from my app and is called Print Preview.  There is even a Vi that allows you to choose the printer. http://zone.ni.com/devzone/cda/epd/p/id/1327
    I am attaching a Sample Report and Code Snippet to look at.
    Good Luck!
    Mache
    Attachments:
    Labview Document.pdf ‏21 KB
    Print Code.jpg ‏30 KB

  • How could I arrange control images in a report?

    I appended 4 control images to a report using Append Control Image to Report. I wanted to lay two of these images in the first line and the other two in the second line. But the result of my program was one image in one line. (BTW, I did not use any New Report Line). How could I arrange control images?

    Mike is right, unless the images are too wide, the report VIs will put them next to each other on the same line.
    Please find the attached example that appends two charts on the HTML report. Open the .htm file with the web browser. If you make the browser window smaller, the charts will move one below the other.
    Zvezdana S.
    Attachments:
    image.zip ‏13 KB

  • Append Multiple Control Images as a 2-D array/tabl​e ?

    All
    I am trying to generate a report and I wish to have the following pattern:
    Image      Blank      Image
    Blank      Image      Blank
    Image      Blank      Image
    Where I intend to place my control images at "Image" and no image at "Blank"
    I thought I can build a table of control images and append but it accepts only string/numeric tables.
    Is there a easier way to include images into WORD report, equivalent to: me inserting a 3x3 table in a word document, and pasting images in 1st row 1st column, 1st row 3rd colum, 2nd row 2nd colum, 3rd row 1st column, 3rd row 3rd column.
    Please let me know, thanks
    Kudos always welcome for helpful posts

    That example was cool. I wish to add images to table using control reference.
    I tried using the control reference to get image, save as a png and then use it to add images. Is there a way that I can use the control reference to add images to my table directly ?
    Kudos always welcome for helpful posts

  • Imported B&W NEF images appear as colour when opened!

    Odd one here. Have searched the forum but while there are some B&W issues discussed, nothing matches this one.
    OS X 10.6.4, iphoto '09 build (8.1.2). Camera Nikon D90 using NEF images. Camera set to take B&W. Camera is using Colour Profile Adobe RGB 1998.
    Camera takes B&W photos. I can see this in the LCD viewer. I can also see B&W thumbnails of the images via Finder when looking directly into the SD card.
    Then I open iPhoto, select the SD card and even iPhoto will display B&W thumbnails. So far so good.
    Now I do the import into iPhoto, but then after the import is completed the thumbnail images display as colour images. Even when you open the image it displays in colour.
    How can this be ?
    Have not found anything specific to this particular issue on the 'net to date, Any assistance would be appreciated.

    Thanks, I understand what you are saying.
    The Nikon D90, has a Picture Control setting called Monochrome, This I thought, allows the shooter to take the picture in B&W, by doing an in-camera conversion from colour to B&W and stores the B&W image on the card. But then this doesn't explain why it opens in colour on OS X (??).
    So more likely it as you say, the camera is taking and storing a colour image, but has a flag embedded in it to indicate it was 'shot' in B&W.
    Oddly enough, under Windows XP using the free MS NEF viewer, the pictures do actually display in B&W ..thumbnails and when they are fully opened. I suspect then there is a bit or flag in the NEF processor in iPhoto 09 is not recognising and therefore shows the colour version. Does this make sense ?
    Cheers
    Mal
    Oz

  • In bridge i select a jpg image with cntrl r to open in camera raw but get "camera raw not avail"

    In bridge i select a jpg image with cntrl r to open in camera raw but get "camera raw not available"  camera raw editing requires that a qualifying product has been launched at least once to enable this feature.  I can open nef. in camera raw with no problem.

    Hm, what I suggested might actually be a possibility then...
    Close whatever version you have open first...
    I think Adobe installs shortcuts for both 32 and 64 bit Photoshop in the start menu.
    If you can't find the 32 bit Start menu entry, look for the 32 executable here (changing the CS version number to whatever yours is):
    C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\Photoshop.exe
    -Noel

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

  • Problem sending Tab/Cluster control image to Word report.

    I've set up an option for the user to send a control image to a Word report where they can decide to Print and/or save from Word (I've found the normal Print option too slow with the printer available). The Word document opens fine but I am loosing data from my indicators, without which there's not much point in printing!!
    Is there a problem with Clusters, I have a chart and table on another page of the Tab in my main program and they come out fine.
    I'm using LV8 with the Report toolkit and Word 2000
    Thanks
    Ian
    Attachments:
    Send to Word.vi ‏34 KB
    Send to Wordp.png ‏22 KB

    This problem has been reported in previous posts on the LabVIEW forums.  LabVIEW R&D is aware of the problem, and it should be fixed in a future LabVIEW version.  For now, the only workaround I know of is to make extra space in your clusters so the controls are visible in the report.  I know it's ugly, but it's the only thing I know that works (other than reverting back to LabVIEW 7.1).
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • When I try to open images I am getting this message: "The file "image.jpg" couldn't be opened because you don't have permission to view it." "Which I've tried - but it's not responding, plus its with all images now. Can anyone help?

    When I try to open images I am getting this message: "The file “image.jpg” couldn’t be opened because you don’t have permission to view it." "Which I've tried - but it's not responding, plus its with all images now. Can anyone help?

    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Containers/com.apple.iBooksX
    Right-click or control-click the line and select
    Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Quit the application if it's running. Move the selected item to the Trash. Relaunch the application and test.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

Maybe you are looking for

  • Tax Condition ZSRT not showing in Print Preview and Tax Register

    Dear Friends while we making Purchase Order the Tax condition not showing while print preview.  also not showing in Tax Register. Tax Register we developed. any hops Rajesh G

  • Macbook air freezes in screen save mode (Mid 2011 model using Mountain Lion

    My MacBook Air freezes during screen save mode & is completely unresponsive.  The only option is to press & hold the power button to force a power down then restart the laptop.  This issue is not intermittent but happens every time the laptop is in s

  • Webstart doesn't forward proxy config to an applet?

    Hello, I was trying to get a JNLPAppletLauncher applet (signed) to call home through a web proxy. Anyway, the suggestion in the unoffical FAQ ( http://lopica.sourceforge.net/faq.html#proxy-settings ) didn't work. For some reason proxyHost and proxyPo

  • Numeric Fields

    Hi, I need to give only numeric value in the field.wat validation must be done on it?

  • Color change desktop

    I was at a local store and they had a desktop that faded colors behind open windows. I know you can switch pictures but how about the fading? Is it a feature in the OS? Can I create a set of backgrounds that fade similarly? Where is the feature? Idea