Word report generation problem

I have a problem with my report generation toolkit. I have programmed a test program (main_program), where i can load a data and print it to a word document.
First i have to load the data(data.txt) and then i have to push the print button.
The header of my is ok, but when the Subvi (write2) tried to generate the graph in the Document always an error occured!
I got an error message but i don*t found the reason why the program stops!?
Error Message:
Fehler -2146827284 ist bei Exception occured in Microsoft Graph, Die Interior-Eigenschaft des Series-Objektes kann nicht zugeordnet werden.. Help Path is C:\Programme\Microsoft Office\OFFICE11\1031\graph10.chm and context 0 in Word_Set_Chart_Colors.vi->Word Set Graph Colors.vi->write2.vi->Report.vi->Main_program.vi aufgetreten
Could sombebody help me, please???
Best regards,
Peter
Labview 7.1 on Windows 2000
Attachments:
program.zip ‏94 KB

Another question....
I want to make a axis label for the y-axis. I can do this with the "word set graph font.vi"!
But when i make this, the label is horizontally. Where can i change this label to vertical???
see the attachement....
Best regards,
PETER
Labview 7.1 on Windows 2000
Attachments:
word.jpg ‏30 KB

Similar Messages

  • Generate report using Word Report Generation VIs error

    When I Generate report using Word Report Generation VIs  ,the error is generated.
    This is  my Vi
    can somebody  tell the error reason?
    The attaché is Vi (one is 2011,other is 8.6)
    Attachments:
    report-8.6.vi ‏16 KB
    report2.vi ‏33 KB
    template.doc ‏40 KB

    Hi Ben64
                 Thank you! The problem is solved.
       BUT when I use the Word Easy Graph vi  ,the result is
    I want the Graph (curve),like as:
    How Can I do get the picture.
    I have other problem. I want to get default name for the new word file.
    liang

  • Hi Sir! I have some questions regarding word report generation please.1.How can i add border to a word page?.2.How can i add grid lines to a table generated in word report?.3.How can i add border to a table of word report?.Thanks Imran Pakistan

    Hi !
    Sir I have some questions regarding word report generation using(C language in labwindows) Please.
    1.How can i add border to a word page?.
    2.How can i add border and grid lines to a table generated in word report(Not the " cvi table control" inserted from gui,i am asking about the table generated in word report)?
    3.How can i fill a cell of word report table withe the data type other than "character"?.
    And sir one question about use of timer in cvi labwindows please.
    Sir i'm trying to set minimum delay interval of timer control to 1millisecond(0.001s),as i set ,timer don't cares of the interval that is set by me it responds only to the default minimum time interval which is i think 10milliseconds(i'am using windows xp service pack3 version 2002).
    Regards
    Imran
    Pakistan
    Solved!
    Go to Solution.

    Hello sir!
    Sir i'm using daq6251.But Sir before implimenting it to my final application now i'm just trying to achieve 1millisecond time interval for timer in a vary simple programe i mean at this time no hardware (daq device) is  involved i,m just trying to achieve minimum time interval of 1millisecond.
    Sir i read form "help" of labwindows how this time interval can be set,i'm trying for,as described in help notes but i could'nt.I'm attaching a screen shot sir for you it may helpful for you to explain me.
    And sir also waiting for your kind reply regarding word report generation.
    Thanks.
    Imran.
    Attachments:
    screen_shot_rigistry.docx ‏65 KB

  • Report generation problems on the WinNT target machine

    I'm using report generation VI's to generate a standard report, mixed with text and graphs.
    In development mode (LV 6.0.2; Win-NT 4.0 SP6)there are no problems to print it. As soon as I make an application (application builder 6.0) and transfer it to the target machine (Win-NT 4.0 SP6; run time engine 6.0.2) I get an error -2147352567 unable to load picture..to Append front panel image to report.vi> If I delete the VI "Append front panel image to report.vi", I can print the text of my report without problems. Do you have any idea?

    I could fix the bug in the meantime. I had installed an older version of the Internet Explorer. When I updated the target PC to Internet Explorer Vers. 5.5, there are no problems anymore. I think it must be a problem of ActivX.

  • Word report generation toolkit error with Win 7 LabVIEW 2013, Word2010

    Hi All
    I'm seeing different Errors using the Report generation toolkit. Maybe you can help me with that.
    The errors are:
    -2147417846, application is busy in Word_Get_range.vi
    -2146824090 Exception in Microsoft word: Befehl misslungenHelp Path is wdmain11.chm and context ...
    -2147417846 application is busy in Word_Quit.
    the error messages are attached to the post.
    I'm testing 10 sensors with one application and want to run up to 5 applications on one computer. Since I'm seeing such errors as application is to busy I set all my report generation vi's as non-reentrant execution and additionally added some pause after each word modification.
    But I'm still seeing such errors when I run two applications on one computer.
    What is the best way to deal with these errors?
    thanks
    best regards
    Urs
    Attachments:
    exceptionerror.PNG ‏20 KB
    BusyActiveX2.PNG ‏20 KB
    BusyActiveX.PNG ‏22 KB

    Here my Vi's involved in creating the report.
    Is there a way to check wheter word is busy or already open?
    Attachments:
    save report as PDF.vi ‏26 KB
    create_report.vi ‏70 KB
    Word_Update_Table.vi ‏34 KB

  • MS word report generation

    Hi,
    I am trying to generate report in MS word.The functions used in report generation are appending test and appending table.At few instance of report generation getting the attachded warning/error And report is not generated.
    Using SPI 2013 and MS word 2013.
    Thanks,
    Chethan
    Attachments:
    REPORT ERROR.JPG ‏63 KB

    Hi
    VI attached.
    Note:The error message appears randomly(Not always).
    Thanks,
    Chethan
    Attachments:
    PA_REPORT.vi ‏45 KB

  • Word report generation VIs are not found.

    Hi,
    I've installed LabVIEW 6.1 followed by installing Report Generatio Tool set, but I don't find word specific VIs and excel specific VIs on Function Palatte. Could u plz. let me know what I m missing there.
    Regards
    GNS

    GNS,
    Which version of the toolkit did you install?
    Do you see the Report Generation Toolkit listed under the Add/Remove Programs in control panel?
    If you have multiple versions of LabVIEW, check in which folder did the toolkit get installed.
    Can you find word and excel llbs under ...\LabVIEW 6.1\vi.lib\addons\_office directory?
    If these VIs didn't get installed, you should check the version (LabVIEW 6.1 needs toolkit version 1.0.1) and reinstall the toolkit.
    If you do have these llbs, try to manually edit the palettes and add new subpalettes linked to these menu files:
    LabVIEW 6.1\menus\default\excel.mnu and
    LabVIEW 6.1\menus\default\word.mnu
    Check out the following KnowledgeBases as well
    "Palettes Not Populating" Error with the Report Generation Toolkit 1.0 for Microsoft Office and LabV...
    Installing the Report Generation Toolkit on Multiple Versions of LabVIEW
    Zvezdana S.
    National Instruments

  • A report generation problem

    Hey all,
    has anybody seen this error?
    An Error prevented report generation.
    Error class: jet.jectc.ReadFailureExecption
    Error message: ..\reporting\canned\Novell
    Reporting\Zen5Inventory\en\Zen5Inventory.cat cannot be found.
    How do I Fix it?
    thanks

    I have tried that. It did not work. I'm not sure as to whether I
    should look for the Zen5Inventory.cat file on the server, or
    workstation. Also, I am running ZEN 3.0 with SP1a applied.
    Shaun Pond wrote:
    > Charles,
    >
    > does this help?
    > http://support.novell.com/cgi-bin/se...?/10064168.htm
    > (Incidentally, you can also find this by going to the Knowledgebase
    > http://support.novell.com/search/kb_index.jsp and entering the TID > number, you can also search for other TIDs by entering words or
    > phrases, such as an error message).
    >

  • BI Publisher Report generation problem in Siebel

    Hi Experts,
    Here is the scenario, let's say i have 2 BIP reports in siebel, named Report A and Report B. i tried using 1500 records to generate Report A and Report B. I view the status of the reports in My BI Publisher View in Siebel, i noticed that after 5 hours, Report A is successfully generated, and report B still doesn't show if it successful or not, after 2 days, report B still doesn't show if it is successful or not.
    Based on the scenario above, here are my questions:
    a.) is there a way that we can increase the report generation for BI Publisher integrated with Siebel? 5 hrs of generating 1500 records i think is too slow, specially if that specific report is required to be generated everyday.
    b.) do you know why Report B still doesn't show if it successfully generated eventhough both reports was generated using equal amount of records?
    Thanks in advance! :)

    Here are the two steps I took to get the VI to work on my machine:
    1) Recompiled the code by ctrl-shift-clicking on the run arrow.
    2) Changed the string in the 3rd frame of the sequence that goes into the Append Front Panel Image to Report from I Graph plot.vi to I_Graph_plot.vi.
    After making the changes I did a File->Save All.

  • Simple report generation problem

    how to list all stock position for a choosen material for a choosen storage location in a given plant?

    Hello zäpfle,
    This is actually a known issue and already reported to NI R&D. As you mentioned, to solve this, you have to open and close the Excel report (with Word report everything seems to be fine). Since the task is closed just after the VI closes or open-and-close Excel, it seemed that not all references would close properly. The issue though isn't with properly closing the references, but rather deeper.  However, a possible workaround would be to programmatically end the process just after closing the reference to Excel.  Here is a link to a community example that demonstrates how to do just that:
    Kill a task in Windows using System Exec.vi
    https://decibel.ni.com/content/docs/DOC-9275
    Hope this helped. I am sorry for the inconvenience!
    Kind regards,
    Ioannis Karakatsanis
    Applications Engineering
    www.ni.com/support

  • Report generation problem in 6.1

    Attached file worked fine under LabView 6i but not in 6.1. The problem seems to be with the Set Report Font VI which doesn't like the words "Arial". Anyone else had this problem or is it something peculiar to my PC?
    Attachments:
    I_Graph_plot.vi ‏570 KB

    Here are the two steps I took to get the VI to work on my machine:
    1) Recompiled the code by ctrl-shift-clicking on the run arrow.
    2) Changed the string in the 3rd frame of the sequence that goes into the Append Front Panel Image to Report from I Graph plot.vi to I_Graph_plot.vi.
    After making the changes I did a File->Save All.

  • PDF reports generation problem from single oracle reports in 10G

    Hi All,
    i am generating 4 PDF reports from one Oracle reports in 10 G.
    i used RUN_REPORT_OBJECT built in 4 times with some different parameter list at a single time.
    some time it generates but some time it generate 2 or 3 out of 4.
    Can you anyone help me on this issue.
    Regards,
    Abhishek
    Code that i used for generation of report:
    on key-F0:
    DECLARE
    PL_ID PARAMLIST;
    PL_NAME VARCHAR2(10) := 'REP';
    USRNM VARCHAR2(50);
    pl_id2 paramlist;
    pl_name2 varchar2(10):= 'REP';
    usrnm2 varchar2(50);
    pl_id3 paramlist;
    pl_name3 varchar2(10):= 'REP';
    usrnm3 varchar2(50);
    pl_id4 paramlist;
    pl_name4 varchar2(10):= 'REP';
    usrnm4 varchar2(50);
    BEGIN
    USRNM := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID := GET_PARAMETER_LIST(PL_NAME);
    IF NOT ID_NULL(PL_ID) THEN
    DESTROY_PARAMETER_LIST(PL_ID);
    END IF;
    PL_ID := CREATE_PARAMETER_LIST(PL_NAME);
    IF ID_NULL(PL_ID) THEN
    MESSAGE('Error Creating Parameter List ');
    END IF;
    ADD_PARAMETER(PL_ID, 'P_PRNT_C_FAM_ID', TEXT_PARAMETER, :PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID, 'P_NOTICE_DATE', TEXT_PARAMETER, TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID, 'P_REDET_DATE', TEXT_PARAMETER, TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID, 'USR_NM', TEXT_PARAMETER, USRNM);
    ADD_PARAMETER(PL_ID, 'SCHEDULE', TEXT_PARAMETER, :RUN_TIME);
    ADD_PARAMETER(PL_ID,'P_PRNT_PROV',TEXT_PARAMETER,'PRNT');
    ADD_PARAMETER(PL_ID, 'P_ENG_SP', TEXT_PARAMETER,'N');
    REDET_REPORT('506',PL_ID,'CT506_Parent_FamId_Eng'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM2 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID2 := GET_PARAMETER_LIST(PL_NAME2);
    IF NOT ID_NULL(PL_ID2) THEN
    DESTROY_PARAMETER_LIST(PL_ID2);
    END IF;
    PL_ID2 := CREATE_PARAMETER_LIST(PL_NAME2);
    IF ID_NULL(PL_ID2) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID2,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID2,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID2,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID2,'USR_NM',TEXT_PARAMETER,USRNM2);
    ADD_PARAMETER(PL_ID2,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID2,'P_PRNT_PROV',TEXT_PARAMETER,'PRNT');
    ADD_PARAMETER(PL_ID2,'P_ENG_SP',TEXT_PARAMETER,'Y');
    REDET_REPORT('506',PL_ID2,'CT506_Parent_FamId_Sp'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM3 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID3 := GET_PARAMETER_LIST(PL_NAME3);
    IF NOT ID_NULL(PL_ID3) THEN
    DESTROY_PARAMETER_LIST(PL_ID3);
    END IF;
    PL_ID3 := CREATE_PARAMETER_LIST(PL_NAME3);
    IF ID_NULL(PL_ID3) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID3,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID3,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID3,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID3,'USR_NM',TEXT_PARAMETER,USRNM3);
    ADD_PARAMETER(PL_ID3,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID3,'P_PRNT_PROV',TEXT_PARAMETER,'PROV');
    ADD_PARAMETER(PL_ID3,'P_ENG_SP',TEXT_PARAMETER,'N');
    REDET_REPORT('506',PL_ID3,'CT506_Prov_ProvId_Eng'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM4 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID4 := GET_PARAMETER_LIST(PL_NAME4);
    IF NOT ID_NULL(PL_ID4) THEN
    DESTROY_PARAMETER_LIST(PL_ID4);
    END IF;
    PL_ID4 := CREATE_PARAMETER_LIST(PL_NAME4);
    IF ID_NULL(PL_ID4) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID4,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID4,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID4,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID4,'USR_NM',TEXT_PARAMETER,USRNM4);
    ADD_PARAMETER(PL_ID4,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID4,'P_PRNT_PROV',TEXT_PARAMETER,'PROV');
    ADD_PARAMETER(PL_ID4,'P_ENG_SP',TEXT_PARAMETER,'Y');
    REDET_REPORT('506',PL_ID4,'CT506_Prov_ProvId_Sp'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    Message('Notice Submitted For Printing');
    EXIT_FORM;
    END;
    Program unit:
    PROCEDURE REDET_REPORT(rep_name in Varchar2,plist in ParamList,rep_pdf_name in Varchar2)IS
    filecode varchar(2);
    Repnm varchar(30);
    report_id REPORT_OBJECT;
    report_id_hear REPORT_OBJECT;
    report_prop VARCHAR2(20);
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(200);
    bat_loc varchar2(200);
    time_slot varchar2(100);
    rep_folder_name varchar2(100):='Redet Notice for Packets Sent\';
    BEGIN
    Filecode := init.GetFileNmCode;
    if filecode 'FL' then
    if upper(substr(rep_name,1,2)) ='CC' then
    RepNm := filecode||substr(rep_name,3);
    else
    if rep_name != 'viewerr' then
    RepNm := filecode||rep_name;
    else
    RepNm := rep_name;
    end if;
    end if;
    end if;
    Begin
    begin
    report_id := find_report_object(RepNm);
    if error_code = '41219' then
    Message('Unable to execute : '|| RepNm);
    Raise FORM_TRIGGER_FAILURE;
    end if;
    end;
    set_report_object_property(report_id, REPORT_FILENAME, RepNm);
    set_report_object_property(report_id, REPORT_SERVER, init.Appl_Repserver);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE,SYNCHRONOUS);
    set_report_object_property(report_id, REPORT_DESFORMAT,'PDF');
    select rprm_param_val||rep_folder_name||rep_pdf_name||'.pdf' into bat_loc from rprm where rprm_param_name = 'BAT_LOC';
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(REPORT_ID,REPORT_DESNAME,'"'||bat_loc||'"');
    begin
    v_rep := RUN_REPORT_OBJECT(report_id,plist);
    exception when others then
    Message('Error While executing running reports ::'||error_code);
    end;
    end;
    END;

    Thanx Frank
    Well one solution is that i can decrease the length of my report name and the problem does not occur than.
    any ways thanx ..but where to get the patch from.
    Kindly provide me with the link if possible.
    Thanx,
    Qaiser Qayyum Malik.
    [email protected]

  • Report Generation Problem

    First, I tried posting the question coming up in a web case,
    but that was on 9/27. Anyone know what the
    est. time is to expect a response?
    In the mean time, maybe one of you could help?
    Our tech support person installed RoboHelp Server.
    When trying to access the reports, we're getting this
    error...
    Server object error 'ASP 0178 : 80070005'
    Server.CreateObject Access Error
    /robo/reports/Report_API.asp, line 105
    The call to Server.CreateObject failed while checking
    permissions. Access is denied to this object.
    Any suggestions on what to look for?
    Here's what we're using...
    OS: Windows 2003
    Web Server: Microsoft IIS 6
    Browser: Microsoft IE
    Database: Access
    Thanks
    Doug

    The way to get around the timeout problem is to get rid of the timeout. If you have a real business requirement that you have to run a query that takes 30 minutes then it conflicts with the other business requirement that queries aren't allowed to take more than 3 minutes. Conflicts between requirements should be resolved by managers or designers, not by programmers whose job is only to implement designs.

  • Query report generation problem

    Hi,
    I want to know how to view the queryvalues without variable screen but after report showing the values if i click the variable screen option it should show the screen.
    If u know pls tell me.
    Thanks and regds,
    S.Girikumar.

    from what i understand you would like this below functionality:
    1) Run the report without giving the values in the variable screen.
    2) use the variable screen now to select the values.
    one of the possible solution:
    1) remove the mandatory option for all the variables
       eg: bex > 0customer > char values > select the variable > edit > remove mandatory option
    2) run the query
    3) you will be prompted with the variable screen, just say yes, without entering any values.
    4) report is displayed
    5) press the refresh button
    6) variable screen is displayed
    7) give the variable values now.
    let me know if i interpreted the questions wrong.
    Thanks,
    BWer
    Assing points if helpful.

  • Standard Analysis - Report generation problem.

    Hi,
    while generating a report in standard analysis, it says no data records found. Date also were taken care of. For this sales organization first time we are doing the sales, when tried to view the report it give the above message. For all the other sales organizations were coming out correctly which have been used from quite some time.
    please suggest

    Hello,
    MCL1 - WMS: Stck Placemt.+Remov. Selection
    MCL5 - WMS: Flow of Quantities Selection
    MCL9 - WM: Material Placement/Removal: Selection
    MCLD - WM: Material Flow - Selection
    MCLH - WM: Movement Types - Selection
    Hope this help you for analysis
    Reward
    Regards,
    Kumar

Maybe you are looking for