Decimal delimiter and excel report generation

Hello,
I've a problem with the "Report Generation Toolkit" while trying to generate reports in MS Excel.
I first select data from an Access database table. Although the database table contains information
in string-format as well as numbers, in the first instance it'll be passed as an array of strings to the
report generation vi's (generate easy table).
While my computer's region settings (WinXP) are always set to german standard I now get different
results if I on the one hand try to generate a report table in Word-format (Word Easy Table)  and
on the other hand a report in Excel-format (Excel Easy Table).
While all numbers are displayed correctly within the Word-table, they aren't within the Excel-table.
Thereby (Excel-table) the numbers are converted falsely as shown below:
0,12345 -> 0,12345 (values < 1 are displayed correctly)
1,2345   -> 12.345 (false)
In my opinion there's a problem with the decimal delimiter. Does anybody have an idea of how to maybe
modify this way of working only within my application without changing my computer's region settings?
Thanks & Greets
Michael

On the one hand you can configure LabView to either use the localized decimal point or not (Menu Tools-->Options->Frontpanel->Use localized decimal point), on the other hand you can format singlse strings either with or without using the localized decimal point. The VI "format sting.vi" can use the format-sting %.; or %,; to define the decimal point. (Just make a double-left click on the VI to start the format-string editor for help).

Similar Messages

  • Add multiple graphs in one chart(ex.scatter chart) using labview excel report generation toolkit

    How to add multiple graphs in one chart(ex.scatter chart) using labview excel report generation toolkit. Assume like my test data is like below:
    X-Axis
    Data1
    Data2
    1
    1
    2
    13
    2
    3
    14
    3
    4
    15
    5
    5
    16
    3
    6
    7
    7
    The above graph generated manually in excel. I want to generate the same using excel report generation toolkit. when I use Excel Insert Graph.vi where the input data is 2D array with numeric data but here labview converts the empty cells (eg.x -axis 1,data1- is empty) as zero and while plotting i am getting zero for empty cell values.
    Can anyone please help me on how to plot the graph without adding zero for empty cells?
    Thanks&Regards,
    Bharathi T
    TE
    X-Axis
    Data1
    Data2
    1
    1
    2
    13
    2
    3
    14
    3
    4
    15
    5
    5
    16
    3
    6
    7
    7

    Hi Bharathi,
    The Excel Insert graph function takes in only 2d arrays as inputs. Since arrays can only have numeric values, any table with a null string is read as 0. Now to get a plot like you mentioned, you could read the table and replace blank Strings as NaN. NaN values in an array when plotted do not appear in the excel sheet. For reference I have attached a sample vi to help you understand.
    Regards
    Vijetha Nuthakki,
    Applications Engineer
    NI Systems India
    Attachments:
    Excel_graph_multiplot.vi ‏21 KB

  • Excel report generation error

    Hi,
    Does anyone have experienced (and solved) this behaviour?
    I've been using the report generation toolkit to build word report without
    problem. I've also solved a lot of problems in the excel part of the toolkit
    (e.g. building graphs with >20000 points). It finally works in development
    environment.
    Now when I install the executable (, with the installer) the word reports
    still work, but the excel report don't. The executable does run on a
    different system, but the excel versions are the same (both Excel 2000).
    I have copied the excel library in the data directory of the executable.
    The following error is generated:
    -2147319784
    Old format or invalid type library
    Excel_Open.vi
    This is the first report generation vi that is called. I us
    e it to open a
    template.
    Any help is appreciated.
    Wiebe.

    Hi,
    Surfing the internet, I found this comment:
    *Start quote*
    Sometimes you'll find that a parameter is required that isn't mentioned
    anywhere in the application's documentation. This happens when you need to
    specify system information: the chief example of this is the lcid, which is
    a locale identifier, and which pops up all over the place in Excel. The good
    news is that there is a constant in the Windows unit which provides you with
    the correct value, LOCALE_USER_DEFAULT:
    var
    lcid: integer;
    begin
    lcid := LOCALE_USER_DEFAULT;
    Excel.Visible[lcid] := True;
    There's also a function, GetUserDefaultLCID, but using that value can cause
    an error, complaining about an 'old format or invalid type library' on some
    setups. Using LOCALE_USER_DEFAULT for the
    LCID value should fix that.
    *End quote*
    Could this be the problem?
    Regards,
    Wiebe.
    "Wiebe@AIR" wrote in message
    news:3e79a3aa$0$140$[email protected]..
    > Hi,
    >
    > Does anyone have experienced (and solved) this behaviour?
    >
    > I've been using the report generation toolkit to build word report without
    > problem. I've also solved a lot of problems in the excel part of the
    toolkit
    > (e.g. building graphs with >20000 points). It finally works in development
    > environment.
    >
    > Now when I install the executable (, with the installer) the word reports
    > still work, but the excel report don't. The executable does run on a
    > different system, but the excel versions are the same (both Excel 2000).
    >
    > I have copied the excel library in the data directory of the executable.
    >
    > The following error is generated:
    >
    > -2147319784
    > Old format or invalid type library
    > Excel_Open.vi
    >
    > This is the first report generation vi that is called. I use it to open a
    > temp
    late.
    >
    > Any help is appreciated.
    >
    > Wiebe.
    >
    >

  • Excel report generation

    Hello,
    I am looking for a simple solution to this simple problem:
    I have generated an excel data file using LabVIEW Report Generation Toolkit for Microsoft Office ( see diagram below ).
    Now I would like to add data to this worksheet every time I run this VI ( data must expand in column format instead of
    row)  but i have no Idea how to do it .
    I would appreciate any help.
    Thanks 
    Attachments:
    Excel Report.jpg ‏59 KB

    That's what the start input is for. You tell it where to insert the cells.
    Asides:
    Why aren't you wiring the error out from the new report function to the next function?
    Do not autoindex an array and wire a value to N. Do one or the other, not both. If you do both the loop will run for whichever value (N, or the array size) is smaller.
    Your loop with the function node can be simplified by replacing it with a single Divide function and feeding the Divide function the arrays directly. The numeric functions (as well as many other functions) are polymorphic.
    To learn more about LabVIEW it is recommended that you go through the introduction material, tutorial(s), and other material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.

  • Excel report generation does not exit excel

    I am using the excel report generator to save test reports.  I can create the report using a template and write to it when needed with no problems.  After every test step I add data and save the report.  I keep excel closed by using the no change setting for the window state.  I do not want the user to see excel or even know it is there.
    The issue is when I am done testing and use the dispose report vi, it leaves an instance of excel open that you can see in the task manager.  And the only way to close that instance is to open one of the files that was created and close it and then exit excel.  The memory used by that instance grows a little each time a new file is created.
    Labview 2011 SP1 (11.0.1.F2 32bit)
    Excel 2007
    How can I close excel completely after each test?
    Solved!
    Go to Solution.
    Attachments:
    Report Example.png ‏52 KB

    I find it very hard to believe that this function isn't somewhere in the report generation toolkit.  But my 30 second look for it came up with nothing.  So instead I wrote a function that does a task kill for you.  Keep in mind this only works in Windows, and this will do the same thing as a end task in Taskmanager so only use it when you are sure your are done saving all reporting.  Saved in 2011.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    Taskkill Excel Report.vi ‏22 KB

  • Difference between diadem and LabVIEW Report Generation Toolkit

    I want to expand LabVIEW's reporting capabilities.  Can someone tell me what the difference is between DIAdem and the LabVIEW Report Generation Toolkit for Microsoft Office.

    Hello Mr Bean,
    There are several major differences between the two solutions. I'll try and outline them as good as I can ...
    The biggest different is that LabVIEW and its toolkits are programming tools and DIAdem is a ready to run application.
    The LabVIEW Report Generation Toolkit basically provides an extensive library of VIs that allow you to connect LabVIEW to the MS Office library and create and edit reports in Word and Excel.
    DIAdem is a stand alone application that was designed to post-process data from various sources. The tools included in DIAdem are:
    1. NAVIGATOR: Allows you to import data from files (ASCII, binary, Excel, etc.) as well as DataBases (SQL/ODBC, Citadel, ASAM, etc.). The unique DataPlugin technology available within DIAdem allows you to import vitually and data file by creating a DataPlugin that describes the data format and gets linked to DIAdem. More information at: http://www.ni.com/diadem/dataplugins.htm
    2. VIEW: Graphical and Numerical data inspection tool. Use cursors to zoom and scroll through your data, edit your data graphically and numerically and compare different tests.
    3. ANALYSIS: DIAdem has a wide range of analysis functions, ranging from simple functions like integration and differentiation to FFTs, Order analysis and 3D data analysis.
    4. REPORT: The DIAdem REPORT tool allows you to create reusable report layouts that can contain multiple axis systems (2D, 3D and polar plots) as well as tables (2D and 3D) and variables. The REPORT tool generates templates that can be usedwith multiple data sets due to the inclusion of automatic (or manula if required) scaling as well as extensive use of variables for annotations. Finished reports can be exported to printers, graphics files, the Windows Clipboard, HTML pages and PDF files (PDF writing is build into DIAdem, no extra software required). Using Scripts, it is also possible to create Word, Excel or Powerpoint reports from DIAdem automatically.
    5. SCRIPT: The DIAdem scripting tools allows users to record macros or write scripts that automate complete sequences, for the import of data, via extensive analysis, to creating a publication ready report. Scripts can make reports "intelligent" by modifying the appearance of a report based on the data or calculation results that are going to be displayed in the report.
    I recommend you check out the following link for more information: http://www.ni.com/diadem/
    DIAdem is an extremly powerful tool for report generation. I am leaving to go on a business trip to Asia, but I would be more than happy to give you an Web presentation on DIAdem after I have returned. We could use your data and create a DIAdem report Script together online. My Email address is [email protected] and I will be back the week of Thanksgiving.
          Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • Changing the Size of generated graph in excel report generation toolkit

    Hi, i am trying to build a report generation vi for my Structural health monitoring system in which i need to export 3 graphs in to an excel report. The idea is to have the report on a single page, but when i paste them along with the ceiling and pillar deviation percentages, the report just exceeds the page limit. I wanted to know whether one can change the size of the graphs in excel? One can do it in word(tried that), but i dont want to use the bookmark option as it intend to put this up as a webservice in the next step. I am using LabVIEW 2009 Thanks.
    LabVIEW 8.2,8.6,2009...still learning
    Attachments:
    Report Generation SHM.vi ‏30 KB

    Hi,
    I haven't tried this myself, but looking through the report generation toolkit the "Excel format image VI" (in the Excel specific tab of the Report Genertaion window) looks to be the one you are after. The help entry for the VI says to: "Use this VI to format any type of image in a worksheet, including front panel images, images from a file, and graphs"
    Hopefully this will help.
    -CC 
    "If anyone needs me, I'll be in the Angry Dome!"

  • Excel Report Generation in Report Builder 6i

    i want to generate Reports in Excel using report builder 6.0.
    is there any facility to generate reports in report builder 6 in proper excel format

    You can generate report in delimited format and Excel can open such a format
    Thanks
    Ratheesh
    [    All Docs     ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper   ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • What diff between BIP AttachEntity Report Generation and BIP Report Generation?

    Hi all,
    I want to know the two WF has what's difference.
    I had seen they have same method and step.
    Actually,I want to do a function, when click a button,will generate BIP reports.
    Using the BIP Report Gneration can do this.
    But I want pop a window to open or save the report after the WF finished work.
    Could  BIP AttachEntity Report Generation  do that?
    I had similitude it seem same as BIP Report Gneration.
    Be appropriate to you if you can answer the question.
    Thanks,
    Wenqin

    Ok, let me guess, you are seeing an error that says an invalid printer was selected, right? Well there is a bug in your code but it has nothing to do with the printer that you have selected. Specifically you have some of the margin values set to zero -- which is invalid. The margins have to have a value of at least 1. In case you're interested, I followed down the logic and inside the print report VI the code, for some unknown reason (NI is checking into it), remapps an error code that correctly identifies invalid margins to report one that reports an invalid printer name. Apparently this was first reported in 2008.
    Verified this behavior of both LV2013 and 2014.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Hyperlinks in RTF and Excel reports using CF Report Builder

    Has anyone gotten external links to work in RTF and Excel CF
    Report Builder reports? The PDF report type works as advertised in
    the help, but these other two have me stumped.

    Could you please tell us whether you fllowed any special procedures
    or made some specific settings to launch RTF reports ?Can't help much, I'm afraid. The report and web server settings were
    all made before I got here, and are not visible to me.
    We can get RTF from report builder/generate-to-file and when running
    reports on the web. Our servers are all Sun/Solaris boxes, although
    we display on DOS boxes. Excel we get from a program, not from the
    report server.
    Report builder 6.0.8.10.1, database claims to be 8.1.7.0.0.
    Sorry I can't help much more than saying "yes, it can be done".
    Allan Plumb

  • Applicatio​n with excel does not work after installing​. Cause is excel report generation

    First of all, yes i have selected the installer and included the NI report support. I can run and install the application buth the application freezes when handling an excel-related VI. I can still run the program in Labview and it works fine buth i want to use an exe because i have seen that it works considerably faster.
    Thanks,
    Andries Wim

    wim andries student wrote:
    > First of all, yes i have selected the installer and included the NI
    > report support. I can run and install the application buth the
    > application freezes when handling an excel-related VI. I can still
    > run the program in Labview and it works fine buth i want to use an exe
    I won't be able to help you with the Excel problem. I do not like Active
    X and don't deal with it if I don't absolutely have to.
    But your claim that the executable runs considerably faster given the
    same hardware and system resources definitely sounds suspicious. LabVIEW
    has very little speed difference between the development system and an
    executable. The difference is so small that you almost never should be
    able to even notice it. If it is very notica
    ble there are other reasons
    that it is faster, for instance failed initialization for whatever
    reasons, which makes subsequent functions to simply skip their task
    instead of doing something.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Issue with Excel Report generation

    Hi Experts,
    I'm trying to export the data of reports in excel format ,it's exporting query instead of actual data . please suggest me the way to fix the issue . when i try to save the exported excel it's shows the name as query.xls instead of exportXXXX.xls
    Any ideas appreciated
    Regards,
    TD

    Well after some debugging I found it. Apparently for Excel 97 only there is a problem that when you qiut MSGraph it may not save properly so the VI had the Quit Property removed.
    I have added it into my code and it seems to work and will see how well it does and if I run into any problems.
    Jeff D.
    OS: Win 7 Ultimate
    LabVIEW Version: 2011,2010,2009 installed
    Certified LabVIEW Architect

  • How can i create multiple page report using excel report generation toolkit from excel template?

    i am having code which create report in excel.but it prints only single page. if content is more than size of template than insted of tacking new page it prints only single page.Please help me out.
    Anyone has material for learning activeX in labview? Please mail me on [email protected] 
    PBP (CLAD)
    Labview 6.1 - 2014
    KUDOS ARE WELCOMED.
    If your problem get solved then mark as solution.

    Hi thanks for reply.....
    PBP (CLAD)
    Labview 6.1 - 2014
    KUDOS ARE WELCOMED.
    If your problem get solved then mark as solution.

  • PDF and Excel reports

    Hi Everyone,
    In Oracle BPM 11g, can we export to excel the worklist from inbox or from any other view from bpm workspace ? if not how can we provide export to excel functionality in bpm workspace .
    Thanks!.

    Dan,
    Can i customize my BPM workspace(PS6) to add a Excel button. On click of excel i will export the worklist for that view using HWF API .is this feasible technically ? .
    Got customization information from this url(http://andrejusb.blogspot.com/2013/05/customized-bpm-11g-ps6-workspace.html?spref=fb)

  • Plant wise Balance Sheet and Profit and Loss report generation

    Hi,
    Can any one please give me the configuration steps for generating plant wise P&L stat and B/S.
    The client has a single  company code with 5 plants and wants to generate the statements  plant wise.
    Thank u,
    Regards,
    SP.

    Hi,
    I SAP we can draw the B/S and P&L on company code and Business area. and from ECC6.0 on profit center.
    We can not draw B/S and P&L on Plant. So is your r  on Ecc 6.0 and above define profit center for each plant and then u can draw B/S and P&L on plant.
    And if below Ecc 5.0 define business for each plant and u can have B/S and P&L .
    Hope this is clear , assign the points.
    With regards
    Krishna Singareddy

Maybe you are looking for

  • Viewing Animated GIF files in Preview

    Hello... I'm trying to figure out why I cannot view animated GIF files within Preview. When I search within Preview's help I get this... *1. Open the animated GIF file in Preview.* *2. If the window's drawer isn't already visible, choose View > Drawe

  • LaCie external HD does not mount after lion 10.7.2 upgrade

    After the upgrade to Lion 10.7.2, my external LaCie 2big Quadra (connected through FW 800 to a MacMini late 2009) was no more visible to the system. This has not been the first issue with this disk since I have Lion: after the upgrade fron Snow Leopa

  • Why Bother with Objective C?

    Given the tools out there for writing iOS apps in HTML, Jquery, C#, Ruby, etc, including some with generate apps that can run on both Android and iOS, why bother writing in Objective C? What are the advantages? thx         

  • Shortcuts [ or ] plus more..... not working for Spanish Keyboard

    Hello everyone, Reciently bought a Wacom Intuos Pro Tablet.... but can't get to work with some shortcut listed for Lightroom nor Photoshop... Been reading a little more and it seems any other than English keyboards are supported with this. Any idea o

  • Looking at Softwares, Can someone answer some quesitons about Captivate?

    Hey all, I am looking at training software for a pretty big project and wanded to check with those who actually use it to see if Captivate would fit my needs as wel as what I found using the website: Is the UI Developer friendly? Does it have Multime