Print a graph when used different resolutions

Hello,
my LV programm
(using V8.5.1) must run on computers with different resolutions (1024x768,
1280x1024...), so I used the option
"new scaling of all frontpanel elements after changing the windows size" (free translating   )
(German: "Alle Elemente des Frontpanels bei Änderung der Fenstergröße neu skalieren")
in my VI.
This works fine but now I have some trouble with the printout of a graph.
Depending of the selected resolution of the computer, the graph will be printed complete or only partial, then the lower part of the graph is missing.
To print out the graph I used the VI  "Append Control Image to Report.vi"
Can anybody help me?
Gruß
jan91

Hello Jan,
 you are right - when printing the report in landscape orientation, images will be cropped if higher than the paper size.This issue has already been reported to our LabVIEW R&D team (#36511) and should be solved in a forthcoming update of the report generation toolkit. In my opinion, the issue is linked to the problem that the image will not fill out the report page completely to the right margin (#36926), another nuisance you might also have encountered.
I have created a workaround for the problem,  which you should find attached to this post. As you change the graphs background color for printing, I added another property to resize the graph to the maximum printable size (evaluated here in trial&error, depending on your printer, the maximum size might change a bit), and another one to restore the original size when the report is done. To reduce the "blink time" of the graph, I placed the restoring property node directly after the control image has been attached to the report, so that during printer initialization, the original layout is already visible again.
Hopefully, this is acceptable for you, until these issues have been fixed.
Best regards,
Sebastian 
Attachments:
print graph (modified).vi ‏44 KB

Similar Messages

  • Do IMAQ Cast Image or IMAQ Linear averages give different results when using different computers that are running under Windows XP ?

    Hello
    I'm currently developping an image processing algorithm using Labview 7.1 and the associated IMAQ Vision tools. After several tests, I found a weird result. Indeed, I put the labview algorithm - including the IMAQ VI on the library to get sure that I use all the time the same VI - on my memory stick and used it on two different computers. I tested the same picture (still in my memory stick) and had two very different results.
    After several hours trying to understand why, I found that there were a difference between the results given by both computers at the very begining of the algorithm. Indeed, I used a JPEG file.
    To open it, I first create an Image with IMAQ Create (U8). Then, I open it.
    Then in my first sub-VI, I use IMAQ Cast Image to be sure that the picture is a U8 grayscale picture.
    Right after that, I use the IMAQ Linear Averages. The results of this VI are different on the two computers.
    I tried several time on the same picture : one computer always give me the same result but the two computers give me a different result. So there is no random variable on the results.
    So my question is : Do IMAQ Cast Image or IMAQ Linear averages give different results when using different computers that are running under Windows XP ?
    My bet is on IMAQ Cast Image but I'm not quite sure and I do not undestand why. The labview and IMAQ are the same on both computers.
    The difference between the two computer are above :
    Computer 1 :
    Pentium(R) 4 CPU 3.20GHz with a RAM of 1Go. The processor is an Intel(R).
    The OS is windows XP Pro 2002
    Computer 2 :
    Pentium(R) 4 CPU 2.80GHz with a RAM of 512Mo. The processor is an Intel(R).
    The OS is windows XP Pro 2002.
    If anybody can help me on this problem, it would be really helpful.
    Regards
    Florence P.

    Hi,
    Indeed it's a strange behaviour, could you send me your VI and your JPEG file, (or another file that reproduces) so that I could check this inthere ?
    I'll then try to find out what's happening.
    Regards
    Richard Keromen
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Découvrez, en vidéo, les innovations technologiques réalisées en éco-conception

  • How do you plot multiple curves on the same graph when using a while loop?

    I am writing a program that will plot the IV Output chracterisitcs curves for a MOSFET transistor. I have two sweep variables Vg and Vd. For each Vg valve selected, Vd is swept from its start to stop voltage creating a graph for that Vg valve. Both of the sweeps are done using while loops. Ideally I would like to display all of the Vg plots on the same graph while having the ability to do real-time graphing. Can anyone help me figure this problem out? I have attached my program. Thanks!!
    Tammy
    Attachments:
    outputfin2.vi ‏165 KB

    Hi Tammy & Tica T,
    As far as I see it - this thread is a very bad version of already existing bad version......
    http://forums.ni.com/ni/board/message?board.id=170&message.id=127857
    I expected, that an Applications Engineer from NI knows something about  a Transistor and how an Output characteristic looks like !!  Take a look to a typical Transistor Datasheet ( e.g. n-channel MOSFET) - you will see, that there is no relation of ID vs Time like in your example ( values vs time )  but  IDrain vs VDrain at different VGate's ( no relation to Mr. Bill Gates ).
    Find attached a vi, that in general does what you need - drawing of  curves vs x-axis (XY-graph in use)  - in test_sweep.zip.  And that you geet an impression, how it might be done ...... dynamic Output characteristic of a Transistor with Standard Equipment of a Lab ( Scope + Generator + Power Supply ) find in addition a Frontpanel - picture. One of the interesting points here is - the self-heating effect; visible on ch3 of scope - 5µs Pulse is already a very long time...... This measurement was done in order to compare with our own Transistors......... 
    Hope this helps a little bit to understand, what we are talking about.
    Regards
    Werner
    Attachments:
    test_sweep.zip ‏358 KB
    dynamic Transistor char.png ‏65 KB

  • Dbms_crypto - avoid error when using different key in lower environment

    Hello Experts,
    We are using Oracle 11.2.0.2. We are planning to implement dbms_crypto to encrypt few columns. We clone the data from production to lower environment ( DEV, QC).
    For the lower environments, we do not want to get the sensitive data from production and do not plan to use same key. Rather than getting an error when using differnt key, is it possible to get a different resultset back.
    In other words, we want the implementation to be same across environments but want to use a diffent key in lower environment and get different result (or garbage).
    Any suggestions would be greatly appreciated.
    While testing this logic, I am getting following error when using differnt key to decrypt. It works fine if I use same key.
    Error at line 1
    ORA-28817: PL/SQL function returned an error.
    ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
    ORA-06512: at "SYS.DBMS_CRYPTO", line 44
    ORA-06512: at line 19
    DECLARE
      l_credit_card_no    VARCHAR2(19) := '1234 5678 9012 3456';
      l_ccn_raw           RAW(128) := UTL_RAW.cast_to_raw(l_credit_card_no);
    l_key               RAW(128) := UTL_RAW.cast_to_raw('abcdefgh');
       l2_key               RAW(128) := UTL_RAW.cast_to_raw('12345678');
      l_encrypted_raw     RAW(2048);
      l_decrypted_raw     RAW(2048);
    BEGIN
      DBMS_OUTPUT.put_line('Original  : ' || l_credit_card_no);
      l_encrypted_raw := DBMS_CRYPTO.encrypt(src => l_ccn_raw,
                                             typ => DBMS_CRYPTO.des_cbc_pkcs5,
                                             key => l_key);
      DBMS_OUTPUT.put_line('Encrypted : ' || RAWTOHEX(UTL_RAW.cast_to_raw(l_encrypted_raw)));
      l_decrypted_raw := DBMS_CRYPTO.decrypt(src => l_encrypted_raw,
                                             typ => DBMS_CRYPTO.des_cbc_pkcs5,
                                             key => l2_key); --**Using different key to decrypt
      DBMS_OUTPUT.put_line('Decrypted : ' || UTL_RAW.cast_to_varchar2(l_decrypted_raw));
    END;Thank you.

    If I understand what you are trying to do ... and I may not ... it is not going to work.
    SQL> DECLARE
      2   l_credit_card_no VARCHAR2(19) := '1612-1791-1809-2605';
      3   l_ccn_raw RAW(128) := utl_raw.cast_to_raw(l_credit_card_no);
      4   l_key1     RAW(128) := utl_raw.cast_to_raw('abcdefgh');
      5   l_key2     RAW(128) := utl_raw.cast_to_raw('zyxwvuts');  -- alternate key used to attempt a different decryption
      6 
      7   l_encrypted_raw RAW(2048);
      8   l_decrypted_raw RAW(2048);
      9  BEGIN
    10    dbms_output.put_line('Original : ' || l_credit_card_no);
    11 
    12    l_encrypted_raw := dbms_crypto.encrypt(l_ccn_raw, dbms_crypto.des_cbc_pkcs5, l_key1);
    13 
    14    dbms_output.put_line('Encrypted : ' || RAWTOHEX(utl_raw.cast_to_raw(l_encrypted_raw)));
    15 
    16    l_decrypted_raw := dbms_crypto.decrypt(src => l_encrypted_raw, typ => dbms_crypto.des_cbc_pkc
    s5, key => l_key1);
    17 
    18    dbms_output.put_line('Key1 : ' || utl_raw.cast_to_varchar2(l_decrypted_raw));
    19 
    20    l_decrypted_raw := dbms_crypto.decrypt(src => l_encrypted_raw, typ => dbms_crypto.des_cbc_pkc
    s5, key => l_key2);
    21 
    22    dbms_output.put_line('Key2 : ' || utl_raw.cast_to_varchar2(l_decrypted_raw));
    23  END;
    24  /
    Original : 1612-1791-1809-2605
    Encrypted : 3534443342333642353141363846384237463732384636373943374630364234323243334539383042323135
    Key1 : 1612-1791-1809-2605
    DECLARE
    ERROR at line 1:
    ORA-28817: PL/SQL function returned an error.
    ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
    ORA-06512: at "SYS.DBMS_CRYPTO", line 44
    ORA-06512: at line 20

  • QBE issue when using different db types

    Hello,
    Our ADF application has the ability to connect to the same schema but different backends (Oracle and SQL Server). I have successfully implemented switching the AM data source. I am running into a syntax issue when performing Query By Example for a table. The error is (Incorrect Syntax near "|"). In the VOImpl I overrode the function public String getViewCriteriaClause(boolean forQuery) and I can see the viewCriteriaClause is "( (UPPER(TransMasterEO.TMMessage) LIKE UPPER( ? || '%') ) )". This works when running against the Oracle instance but fails when running against the SQL Server instance.
    I implemented code to replace the "||" with "+" but then we fail on Oracle. Can someone recommend an approach to resolve?
    Running 11.1.1.6
    Thank you
    Rudy

    he different dbs yre using different sql flavors. This is causing trouble if you change the connection to a db which is using a different flavor. I'm not aware that you can change the flavor used to build the queries to, but you can implement your own sqlbuilder which may just extend from the one for hte right flavor and then build the sql through the right class.
    Check http://jobinesh.blogspot.com/2013/02/customizing-sql-builder-class.html for more info on how to change the sqlbuilder.
    Timo

  • Project changes when using different pc's

    ok i had using pro 4 a project saved on  pc one
    i then opened it up on another pc [pc 2] where i added some title pages
    then saved the project on pc2 and copied the whole saved folder back to pc one
    when i opened the copied project on pc one [using pc one] the title fonts have changed
    is there some issue when using more than one pc to work on one project ???
    oh i forgot pc one = win xp and pc2 = windows 7 !!!
    cheers

    ok the font used was MV Boli
    on both pc when i look in titler they both say MV Boli
    they just look totaly different
    other thing different between the two is :-  the font templates used and saved on pc 2
    are not showing up when opend on pc 1

  • When using different profile, I can't get it cleared for security

    Due to trouble with Flash, I changed/added a ff profile.
    When I then tried to sign in to yahoo, I got screen saying for security purposes I had to verify my ID. I had a choice of several methods, text or voice to cell, email to different email.
    I tried both texting my cell and getting email. Both times, I got code. I typed it in and clicked on 'submit'. Nothing happens.
    The image remains the same. It looks like I did not click at all. I have repeated this, sometimes clicking 8-9 times. still no change.
    In order to reach my yahoo mail, I had to go back to my earlier profile. I may as well change back to old profile and as changing did not solve the problem with flash.
    But I would still like to know what is going on/ how to fix it.When I travel and use different computer, I have to do this, verify ID. I want to know how to force the verifcation through.
    Thanks

    Some added toolbar and anti-virus add-ons are known to cause
    Firefox issues. '''Disable All of them.'''
    Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift ''(Mac Options)'' >''' key, and then starting Firefox. Is the problem still there?

  • Help - Receive message "an error occurred printing this document" when using airport express and Ipad

    Hi, I am trying to set up an airport express hub to work with a Star tsp100 receipt printer and IPad 2. The IPad is being used to accept credit card payments and I was hoping to print receipts out wirelessly using the airport express and receipt printer. I checked to make sure the airport express has the latest firmware and it does. The IPad software is also updated to the latest 7.1.  I then connected the Airport express and IPad and the network setup with no problems. I connected the receipt printer to the airport express using the USB slot available. While the printer comes up as available, when I attempt to print something, I get the error message "An error occurred printing this document" and I can cancel or Try again. No matter how many times I try, I continue to get this message and I lost as to the cause. When I disconnect and reconnect, another instance of the printer appears, but receive the same cryptic error message when I try to print. Totally lost, please help

    Hi kelston3,
    In order to print from an iPad you will need to use a printer that is compatible with AirPrint, which is described in the following article -
    About AirPrint
    http://support.apple.com/kb/HT4356
    AirPrint printers must be wireless on your network - not connected via USB to the base station. There is a list of printers that are known to be compatible with AirPrint in the article.
    Thanks for using Apple Support Communities.
    Best,
    Brett L

  • Images on Facebook do not appear when using different web browsers

    Images on Facebook do not appear when using Safari on my Macbook Pro (I've tried Google Chrome too with the same result).  This makes me think it's a setting within OS Mavericks that I'm missing.  I have not seen this issue on any other computers.  This only occurs on my, and others' profile pictures on my profile page and on the news feed, not photos that are posted in albums or on walls.  and yes, i have images enabled in Safari.
    In safari the images don't appear, and in their place is a small blue "?" square >>.
    In Chrome it appears as a broken image link >>
    Has anyone encountered this?  Is there a fix?  It is very annoying.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Colors print differently when using different printers.

    When I print from Illustrator 3 to a Xerox printer, my bright yellow prints bright yellow. When my project is sent to a HP Designjet T1100ps plotter/printer, my bright yellow prints as an orange color. How do I fix this? What am I doing wrong?

    I was wondering if you could ever get them to look the same. It's two
    different printers on two different papers. Still, you'd think they could
    be closer than you're getting.
    Richard

  • Photosmart C6150 printing slow even when using printer controls

    It started out intermintently printing slow using the PC and the front panel copy button, as if it was switching into high resolution mode.  I checked the driver / printer prefrences and found nothing in high resolution mode.  Recently we have been doing alot of copying from the front panel, not from the computer software, and it got worse.  I checked the quality setting in the printer and even set it to fast.  It would then print a semi-fast sheet  (as if it was fighting itself to print faster but couldn't), then a fast sheet, then the next sheet would be slow again.  After a few times of doing this, it finally stopped printing normal or fast and now it's stuck in high res slow printing mode.  I printed a self test diagnostic page and it printed in less than 60 seconds and showed nothing.  I have also chaned out the drivers on the PC and still nothing.  Could it be a firmware issue and is that something I can flash?

    Hello , Welcome to the HP Community. I hope you have a pleasant experience here.  I understand you are having an issue with slow printing on your HP Photosmart C6150 All-in-One printer. I'd love to help you with this. First, I'd like you to try printing a self test page again: HP Photosmart C6100 All-in-One Series - Printing the Self-Test Diagnostic Page If the test page printed in less than 60 seconds, then I would suggest following the steps here to troubleshoot the driver and settings on your computer:HP All-in-One Printers - Slow Printing in Windows: Computer Issues If the issue persists after these steps, I'd recommend replacing your USB cable (with a smaller one if it is over 6ft long). If the test page took longer that 60 seconds to print, then I would suggest following the steps here to troubleshoot an issue you may be having with the printer hardware:HP All-in-One Printers - Slow Printing in Windows: Hardware Issues Another thing I would suggest, if the printer is slow even from the printer, would be to make sure the printer is plugged directly into a wall outlet. The printer does have a power moderator built in, so when plugged into a power surge or battery backup, it can often not get enough power. Please respond to let me know if these steps help to resolve your issue!Have a great day.

  • How can i get rid of the print dialog box when using api to print an html file

    i am using the systemshell.vi provided by labview the VI is working fine but it will open a dialog box for printer selection and properties. i would like to hide that dialog box and have it print to the default printer with the default properties

    ShellExec is part of lvwutil and merely calls a function in Shell32.dll. There is nothing about the function call that controls the display of the printer dialog. I think that what shell32.dll does when it prints (just like right clicking on the file) is print the file according to what is defined about that file type in Windows Folder Options. On my Win2K system, the print application is defined as "C:\Program Files\Microsoft Office\Office\msohtmed.exe" /p %1. If I remove the /p, then Word starts up and in order to print, I get a printer dialog when choosing Print from the File menu. So it seems like the printer dialog is entirely dependant on the application that does the printing. I get no dialog when I use the VI to print a .txt file. I
    nstead of using shell32, you might want to try some ActiveX method or property of an application like Internet Explorer that can open and print an html file.

  • Y scale flip in waveform graph when using property node.

    I'm having problem with property node. I'm trying to build a stackable scope with Waveform Graph And dynamically change the number of plots. It is working. But The Y scale is flipping. The minimum goes on the upper part and the minimum scale goes down. when I change it appearance it's not very fast. It take about 1 or 2 second on my computer.
    The way it is build actually is:
    Cluster_1 is containing 8 clusters. And each of the 8 clusters are containing a Waveform Graph. By reference I change the property of each Waveform to make visible or not each of the Waveforms.
    First I would like to solve the scale problem and second accelerate the redrawing of my scope.
    Maybe there is an other way t
    o do what I need.
    Thanks.
    Nitrof
    Attachments:
    MultiScopeExample.llb ‏192 KB

    Wow, you have a neat program! The problem with your y axis flipping is because the last four charts in the cluster were programmed with a flipped axis. I relabeled the charts and it worked correctly.
    From what I could tell with your code, you do not need the sequence structures. The one inside of the even actually runs the same code twice. Remove this duplication and you should see improvement. Also clusters are slow, so you should not expect it to blink back with additional coding. Use defer panel updates to get that behavior. I incorporated these changes and attached the program.
    Jeremy Braden
    National Instruments
    Attachments:
    MultiScopeExample.vi ‏163 KB

  • Photosmart 7660 printing blank page when using Microsoft word 2007

    I have a Hp photsmart 7660.It will print a Test page ok-it will print some of the text in an email.That is the heading and the end, but not the message in the middle of the email. When I write a document in Microsoft Word or Works the printer will go through the motions of printing but all I get is a blank page.
    I have uninstalled and reinstalled using original disk and also tried the same using Hp software download all to no avail.
    The utility diagnostic says there is no problem everything is working well,but of course it is not. Can anyone help me to resolve this problem please.

    I tried this but didnt work for mr. Can you help? How did you PDFed??
    It works for me in Word 2010 (or later) using Save As PDF. It did not work in Word 2007 using the Adobe Acrobat PDF printer nor using Word 2007's save as pdf utility. (The hyperlink showed up but was not active.) It did work using the Acrobat tab in Word
    2007 (this requires Adobe Acrobat).
    I did this by:
    first creating the text box with the hyperlink in the body of the document and moving it into the footer area (but still not in the footer itself).
    Then I used the Format tab of Text Box Tools and the Postion button (More Layout Options).
    I gave it an absolute vertical position relative to the page.
    Then I cut the text box, went into the footer, and pasted it there.
    It might have worked to just create the text box in the footer itself.
    I personally prefer it that the header and footer are not part of the active page when I am typing. This hyperlink is not clickable in Word without going into the header/footer view and I'm fine with that. The QAT workaround is just fine.
    Charles Kenyon Madison, WI

  • Epson R1800 printer options missing when using AEBS wireless printing- WHY?

    I have run into a very odd problem with my Epson R1800 printer. When I install the printer for directly connecting via USB or FireWire the version 6.12 print driver appears with all of the options. When I install the same printer when connected through my AirPort extreme base station the print driver is lacking most of the adjustment features.
    Fire wire and USB contain the following menu items in the drop down print dialog"
    Print Settings (with basic and advanced tabs)
    Roll Paper Option
    Expansion
    Extension Settings
    The AEBS printer options only contains one printer specific selection called:
    Printer Features
    which has a very limited selection of options, an no options which allow me to turn off color management.
    Some additional information
    - I installed this same printer driver on one laptop back in the days of 10.5.2 and I was able to install a AEBS printer which allows all of the options. On that same computer if I now install a new printer with the same driver those extra options are missing.
    - I just upgraded a second laptop to Leopard today and went straight to 10.5.3 and the wireless driver for this printer only contains the limited menu items.
    - I am certain that I am using the Epson drivers and not the Gutenprint drivers. Please do not suggest the Gutenprint drivers, they do not handle color management properly.

    This is a real problem for this printer OS combination... I believe due to the crappy Epson driver. I searched the internet and found lots and lots of people having a similar problem. When I contacted Epson today they admitted there was a driver problem, but the tech told me they had no plans to improve the driver 'because the R1800 is a discontinued model'! How's that for support!
    Anyway...several people have had fairly decent luck removing the printer and all Epson software then re-installing it. When the 'correct' driver is installed it will say something like "Epson R1800 (sp) 1". My problem is there is no way to profile this printer and have the driver work as it should for proofing and color management. I know that doesn't help much, but if you google "Epson R1800 problems with Leopard" you'll see what I mean.

Maybe you are looking for

  • Missing records

    Hello all, I have a problem regarding delta load. <i><b>(  0FI_AR_4 datasource )</b></i> I have deleted deltas in ODS , by mistake. then, I made them forced red in reconstruction and then did repeat delta.. I checked in RSA7...and found that all reco

  • I would like the bookmark (drop version) button to not have text beside it saying "Bookmarks"

    I love the new FireFox 4. Looks great. Feels great. Top of the game. Best browser ever. There are two versions of the bookmark(s) button. The 1st is just a folder/star icon that when pressed, opens up a panel with your bookmarks. I hate that one. Nev

  • Migrating to Prod - Best method

    Hi I have new implementation golive to happen very soon, I need the best practice method for migration the custom object developed to the custom top The objects to be migrated are 1. reports 2. sql 3. forms 4. unix files 5. custom conc program (ldt f

  • Why cannot my macbook air read my external hard drive?

    First of all, I have an external hard drive (Western Digital - WD5000H1U-00). I went to their website, downloaded the WD driver installer, and then installed the drivers. I even had restarted my MBA but when i plug the usb cable of my external hard d

  • New MBA or iPad?

    So I'm a huge fan of my iPad. I so glad I bought it and use it all the time. Question is, do you think this new MBA will be an iPad replacement? It seems to have all the features of the iPad plus the features that the iPad is missing. I wonder if the