Generate pdf from labview using DIAdem

Hi
I am trying to generate a report (pdf) using DIAdem in LabVIEW 8.5, but I can't get the the template that I generate myself, to work properly.
I have some data (attached in the VI), which is a table with 3 rows, 1st: sample no, 2nd: frequency, 3rd: result.
What I need on my report is
1) The frequency plottet along the x-axis (equally spaced), and the result plotted along the y-axis (it's percent (%), so they really has to be multiplied with 100, so the y-axis should go from 0-100)
2) A table below with 2 rows, 1st: frequency, 2nd: result
3) Some extra information about who conducted the experiment, date and so on.
I have tried and make something like it, which you can see in the attached pdf Data.pdf.
I am all new in DIAdem, so can someone please help me make this template, I can't get it to work properly. I can't turn the table, so I get two columns instead of two rows, and I can't get the graph to plot the data as I want to.
Hope to hear from someone soon, today if possible, thank you very much.
Best regards
Simon
LV 8.5
LabVIEW 8.6 / 2009 / 2010
Vision Development Module 8.6 / 2009 / 2010
VBAI 3.6 / 2010
Attachments:
diadem_report_gen.zip ‏135 KB

Hi Brad
I have tried to build an installer and compile an exe and nothing seems to work regarding the template, eventhough I place the TDR file in the same directory as the executable. I can see that the pdf, that is generated, is using the right template, there is just no data in the pdf, I have even tried to plot the graphs in the VI, so I am sure the data is there, pretty weird.
I have attached my little example in the following zip, containing the VI, TDR and installer. It is made in LV8.5 and DIAdem 11 and I run it on the same machine as I compile i.
I have made a ring control to choose between two different paths for the TDR, because the path doesn't seem to be the same when you run it in LabVIEW and running the executable.
But again, I can see that it uses the right template, or else the pdf would just be blank, but there is just no data
Can you take a look at it?
Best regards
Simon
LabVIEW 8.6 / 2009 / 2010
Vision Development Module 8.6 / 2009 / 2010
VBAI 3.6 / 2010
Attachments:
my_diadem_program.zip ‏244 KB

Similar Messages

  • How to generate PDF from template via REST query

    Hello. I'm newbie in Adobe LiveCycle, will appreciate any help.
    What we need: generate PDF from template, using different data.
    What we have: LiveCycle Designer and server with deployed Adobe LiveCycle ES 2.5 image.
    Looks like server works and listen 8080.
    In Livecycle Designer I can generate XML (XDP) from PDF, so I can change this XML in PHP/Python/Go script to fill template with data.
    I'm looking for some REST method, where I can give that XML (XDP) and recieve generated PDF in response.
    I've spent whole to for googling all these things, found a lot of docs, but all is very complicated there. Also, examples from just doesn't work - maybe I have to do something on server before calling REST API method.
    Please, push me into right direction

    Your best bet is to probably create an orchestration (or "process" in Adobe speak) that accepts two document parameters, calls LiveCycle Forms (or Output depending on whether you want to interactive or non-interactive PDF), and returns the resulting document variable.
    The orchestration will return a redirect that will point you to the document object.
    See Invoking LiveCycle using REST Requests, and Creating Your First LiveCycle ES4 Application.
    Rob

  • JNDI error while generating pdf from crystal reports in java

    Hi, i want to generate PDF from crystal reports in java. I have the .PDF file with database configured into the report. Following details are available in report.
    1. Server Name      = testdb
    2. Database Name  = testdb
    3. User
    4. Password
    I am using CR XI.
    In CRConfig.xml i had given following details.
    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:oracle:thin:@192.218.216.102:1521://TESTDB</JDBCURL>
         <JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
         <JDBCUserName>user</JDBCUserName>
         <JNDIURL>password</JNDIURL>
         <JNDIConnectionFactory></JNDIConnectionFactory>
         <JNDIInitContext>/</JNDIInitContext>
         <JNDIUserName>testdb</JNDIUserName>
         <GenericJDBCDriver>
              <Default>
                   <ServerType>UNKNOWN</ServerType>
                   <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>Standard</LogonStyle>
              </Default>
         </GenericJDBCDriver>
    </JDBC>
    When i am calling from java as standalone, i am getting following error.
    JRCAgent1 detected an exception: Error finding JNDI name (testdb)
    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)      at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
    Can anyone let me know where is the problem?

    Actually, the question boils down to; does the framework support the fonts?
    I believe that my question re. this working in the designer was valid. The designer does not use the framework, so if it works there, it is either a framework issue or a runtime print engine issue.
    I believe if you use the code below, it will list fonts available to the framework:
    foreach(FontFamily ff in FontFamily.Families)
    System.Diagnostics.Debug.WriteLine(ff.Name);
    For more information see kbase [1198306 - Crystal Report displaying incorrect font in Microsoft Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333333303336%7D.do]
    Ludek

  • Generating PDF from Microsoft Word with C#

    Hello,
    We have created web-based system for a customer that stores/handles Microsoft word documents and provides these to users as PDF versions. Unfortunately some problems appear with our third-party component that generates PDF from Word. Our customer has previously used Adobe Acrobat X Pro to manually generate the PDF files and is confident that the output produced this way is valid. Despite searching and reading a lot I can't find any way to determine if (and how) it is possible to automate the process of generating a PDF file from a Microsoft word file using the Adobe engine. There is a lot of SDK documentation, how to control PDF rendering in winforms applications etc. etc. All I want to do is to load an Adobe Acrobat instance, feed it with a word document and save it as a PDF on disk. From a C# app (ASP.NET). Is that possible?
    Best regards
    Jan Hansen

    As mentioned, you can probably send the DOC file to the Adobe PDF printer to create the file. What I keep reading in your post is a legal issue. You keep mentioning being able to create the PDF on a server automatically. The server use of Acrobat is a violation of the EULA. If you are creting the files off-line for posting as has been done, there should not be a problem. However, having these created in an automated manner by the user may be an issue. Before you go much further, I would check with legal counsel about the use of Acrobat in the way you intend. If they indicate there is a problem, then your question is not needed.
    Back to the issue. Try just dropping a DOC file on the Adobe PDF printer icon (you may have to open the Start>Printers to do that. See if that creates the PDF. If so, you will just need to automate that process.

  • Gray box for logo generating pdf from fm book

    Greetings,
    I have a large FrameMaker book that I've generated pdfs from a million times. We cleaned up our logo, so I dropped it in and tried to generate the usual pdf. a gray box resulted for the logo only. all other artwork displayed fine. i tried scaling down the logo, changing formats, changing import methods, etc. all failed. however, generating a pdf from the book if I remove a few chapters gives me my logo. Am I running out of resources? I'm using tech comm suite 1.3 on vista. There are no clues in the acrobat log. show large images is turned on in the adobe reader.
    I used the obvious workaround: generated two pdfs, one with just the logo page and one with the rest of the book, then combined them. But this process is not practical long term. Any clues?

    A couple questions:
    What format is the new logo file?
    Given that it works with some component files, but not in the book... I'd guess that it may be a resource issue. How much RAM and free space do you have?
    And when you "dropped it in," does that mean imported into one file by reference, or copied in, or imported into a template that you used to update all files in the book..... or something else? And if it did update multiple files, did you double-check them to make sure the path to the graphic is correct?

  • I am able to generate PDF from Framemaker file but not able to generate pdf from book in robohelp

    Hi,
    Using robo help i am able to generate pdf  from a single framemaker file.
    but when i am importing whole book then i am not able to make it.
    And also it is not showing any error on console
    It goes to hang like situation and i have to close it from task maneger.

    Ok, silly question - why are you bothering to try and create PDFs from RH when you've got FM? FM to PDF produces great results; RH to PDF involves having to go through Word - i.e. RH - Word - PDF = too much work IMHO.

  • Generate PDF From Database

    Hi,
    I have a table in database. Table has a column. There is data of pathes of images into column. I cretaed a illustrator template and I want to generate PDF from this template with using table data in database. so, is it possible? illustrator created pdf per each image with using illustrator template.
    thanks,

    AI cannot conent directly to databases. It can only parse CSV/ XML data. You either need to export the stuff or create extensive scripts to connect to the life database using sockets.
    Mylenium

  • Generate PDF From Flex

    Hi All,
    I am doing a Reporting/Chart application in FLEX. we need to
    generate PDF from FLEX. Report data will be 5-10 pages, How we can
    do this? Please advise.
    Thanks
    Subhash

    Hi,
    thanks for your reply. I tried with alive pdf, but source
    code only AIR files. can we use this in web based flex?. How we can
    format the report like html code? I just see in alivepdf, its only
    linebyline display, not multiple columns? pls advise.
    thanks alot
    Subhash

  • Error while generating .plx from .pll using Forms 4.5 Generator

    I get frm-30312 error while trying to generate .plx from .pll
    using Forms 4.5 Generator. I have both Oracle 8i and Oracle 7 on
    my computer. I work under Windows 2000 with Service Pack 1.
    Could anyone help my with this bug? Forms 6i Compiler generates
    .plx but Forms 4.5 Generator fails.
    frm-30312 "Could not compile library."
    Raimundas

    Hi Kuldeep,
    The WSDLC task which you are using in WLS8.1 ehich is not correct..."weblogic.wsee.tools.anttasks.WsdlcTask" The above taskDef is present WLS9.x Onwards.
    Please use the following Task for WLS8.1 (http://download-llnw.oracle.com/docs/cd/E11035_01/wls100/webserv_ref/anttasks.html#wp1075710)
    <wsdl2service
    wsdl="wsdls/myService.wsdl"
    destDir="myService/implementation"
    packageName="example.ws2j.service"/>
    Thanks
    Jay Sensharma
    http://jaysensharma.wordpress.com/webservices/ (WebLogic Wonders Are Here)
    Edited by: Jay SenSharma on Feb 16, 2010 1:30 PM

  • Create a PDF from webpage using entire site option doesn't works

    OK, guys, this is the problem...
    After YEARS of testing from Acrpbat 4 thru 9 on Create a PDF from webpage using entire site option... it doesn't works properly and doesn't got the entire site. ALWAYS get an error of memory or any other error but FINALLY you NEVER got the entire site. I'm talking for a big website... not like amazon.com, but a big one.
    I make a walkarround to try to capture the website in parts but Acrobat is not "intelligent" to make a resume capture of the site, because ALWAYS start from the begining instead from the resume position of the site...
    My question is, HOW can get the ENTIRE SITE in a PDF document... without getting errors or stopping the capture process...
    Don't have problem of low RAM memory because I'm in a MONSTER MACINTOSH.... 3.2 GHZ with 8 Core and 32 GB of RAM under Mac OS X Leopard 10.5.6 in Acrobat 9 Pro.
    If I'm not wrong, the GET ENTIRE SITE option in Web Capture (Create a PDF from webpage using entire site option) doesn't works from Acrobat 4 thru 9 in Pro version... tested, you'll never got the entire site... I'm talking in capture a huge entire site and not a little one...
    Can someone help me?
    Thanks.

    Ok so I go to a web page and select something to print. Once I've clicked print I switch over from printer/micosoft xps docu writer/fax and select Adobe PDF. All goes through with a 'Create Adobe PDF' coming up progressing through to eventually save and store. Once I open the file it end up as the picture above. I have the same version on another computer and that works fine but this particular Sony laptop it doesn't seem to work properly. 

  • Generating PDF from MSWord--IsTable of Content Updated?

    Hello,
    In generating PDF from MSWord document does the Adobe process call a method on the MSWord object to update the TOC field in the Word document during the generation process. Or is it assumed that the table of content in the Word document is always updated. If the table of content field is not current, field error message can appear in the Word document and the page number for
    the link can contain inaccurate values.
    Thank you,
    Jesse

    It is assumed the TOC is up to date.

  • Generating pdf from scanner

    generating pdf from scanner hp G3010: old windows xp file weight 40-50 K. Macbook pro with new mac os 10.7.2 minimum file weight 1,9 Mbyte with terrible resolution!!!! and no way to reduce.
    Nice change?

    It is assumed the TOC is up to date.

  • Error -2146960888 when opening excel from labview using active x

    attempting to open an instance of excel from labview using active x, I even tried using the "open excel and make visible.vi" found on this site. I get errors every time, Inserting a break right after the property node, I found that it does open excel with no active workbook. once the program runs to ompletion excel terminates. The error is on the line right after the property node executes.

    http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3F15456A4E034080020E74861&p_node=DZ53003&p_submitted=N&p_rank=&p_answer=&p_source=External
    Attachments:
    XL97table.zip ‏29 KB

  • Exporting figures to word from labview using activex??

    Does anybody know how to export figures into MS Word, XP edition from LabVIEW using activex. I am not using the report generation toolkit...dont have it....help wld be appreciated
    kuttu

    Here are some examples you can use. they all use activeX. One is even a toolkit I got from somewhere.Try these and if you have any more questions let me know.
    Joe.
    "NOTHING IS EVER EASY"
    Attachments:
    word.zip ‏1226 KB

  • Problems when trying to make pdf from ps using distiller

    Hi,
    I'm using Adobe Design Standard CS4 and I'm trying to make a PDF from Indesign, using Distiller. I made a ps and when I opened it in Distiller the pages were cut, as if the sizes were smaller than those set in Indesign. But I did modify in jobs the dimensions so that they would be the same as those from Indesign. I thought at first that maybe the ps was badly made, but when opened in Photoshop it displayed the same sizes as those in Indesign. Any suggestions?

    Bob's answer will certainly work, and those are usually fine settings, but you may want to know more about the what and why of export settings.
    Conversion is handled in the dialog in the output panel under, of all places, the "Color Conversion" field. You have three choices: No conversion (self explanatory, and if you've got everything in the correct space to start with a good choice), and two flavors of "Convert to destination," Preserve Numbers and Preserve Appearance, which have subtle, but major, differences. The target profile is selected in the next field below.
    In the case of either one, anything RGB will get converted to CMYK if you pick a CMYK target profile (and vice versa if you pick a RGB profile). The difference is in what happens to objects that are already using the color model, but not the specific profile, of the destination.
    When you preserve numbers a CMYK object in ISO coated with values of 25,38,40,10 can be converted to SWOP with the same numbers. You can expect slight shifts in color appearance this way (of course, there are also MANY RGB colors that can't be reproduced using CMYK inks at all, so you'll pretty much always get some shifting in RGB to CMYK conversions).
    When you preserve appearance the numbers used to represent the colors are altered so the output looks the same on both devices.
    You might think this is superior, but there is a glitch. What happens to solid black (100% K only)? If you've set type in InDesign you probably colored it with the [Black] swatch. If you pick preserve numbers, you type stays 100% K and will continue to overprint, and your pressman will be happy. If you pick preserve appearance, one of two things will happen: If the document working profile is the same as the target profile, there will be no change and everyone is happy. If the profile is different, your simple black type will become a four-color mix that has the same visual appearance (when in perfect register) in the target space, and now it no longer overprints and is separated onto 4 plates, and your pressman is cursing you.
    This will happen with anything that is just a single process ink, but generally speaking this isn't an issue for the other three colors if you are printing them anyway. It might be a problem for one-color hairlines or small type, though, so you should at least be aware of the potential.
    So, the bottom line is you should assign the correct output profile as the CMYK working space in your document, if you know it in advance. If not, make your best guess and consider re-assigning the working space before exporting to PDF if you guess wrong. Any conversion from one profile to another is going to have some sort of consequences and it's up to you to choose the best answer based on the particular circumstances of your file.
    Peter

Maybe you are looking for

  • Safari and IE can't locate server

    safari and IE page display but can't go past there. Cant go to apple homepage, google, favorites. All give the same message that server cannot be located.

  • Queries on SUS?

    Hi Friends We are on SRM7.0, SRM-SUS in diff client I have the following queries: 1. Do i need to maintain number ranges for POR in SRM-SRM Server-Cabs-Number ranges-SRM Server Number Ranges- Def Number ranges for POR in both SRM and SUS Client or SR

  • ALTER SYSTEM/DATABASE acts upon?

    Hi, I have a question inside my head since a long time now, I did lot of googling, but did'nt find a precise answer. All DMLs will be served by Dedicated/Shared server processes as per the configuration. Selects/Updates/Deletes/Inserts will have thei

  • Why is the download function in Bridge in CS 6 freezing up?

    Download in Bridge in CS 6 simply quits.  I can switch to CS 5 Bridge and download pictures from my flashcards with no problems.  What is wrong?

  • Creating Material Master views

    Hi Experts, I am writing a program to upload material master views. From that program i am getting the file as output and by using RMDATIND program(Direct input program) i am uploading that output file to that program and creates the material when it