Batch width curve report with script tiara

Im having problems by applying only one line
thinckness to all curves in my REPORT. Heres so the story,

I have
call export to PDF tool of labview for each measure that I do.
Each measure has a slightly different report layout I load
independent files, I use a script once the data is loaded in the
report to adjust a few settings such as width of axis and the curve. Please see code:

Call
GraphObjOpen("2D-Axis1")
Call GraphObjOpen ("2DXAxis8_1")
D2AxisXDivMode
= 'linear '.
D2AxisXScaleType = "manual".
D2AxisXBegin = 20
D2AxisXEnd
= 20000
D2AxisXOrigin = 20
D2AxisXTick = 1
D2AxisXMiniTick = 4
Call
GraphObjClose ("2DXAxis8_1")

Call GraphObjOpen ("2DYAxis8_1")
D2AxisYDivMode
= 'linear '.
D2AxisYScaleType = "manual".
D2AxisYBegin = - 60
D2AxisYEnd
= 10
D2AxisYOrigin = - 60
D2AxisYTick = 1
D2AxisYMiniTick = 1
Call
GraphObjClose ("2DYAxis8_1")

Call GraphObjOpen ("2DObj2_Curve1")
D2CURVELINEWIDTH
= 1
Call GraphObjOpen ("2DObj2_Curve1")

Call
GraphObjOpen ("2DObj2_Curve2")
D2CURVELINEWIDTH = 1
Call
GraphObjOpen ("2DObj2_Curve2")

Call GraphObjClose("2D-Axis1")

Worms
the end of the script, I enter programmatically CurveLineWidth
adjustments to correct my lines, but there is a problem. each report
seems to use different object names, so I often get the error message:
Unknown object '2DObj2_Curve1' or not open. Obviously...

How the names of these objects are chosen by the tiara PDF report generation VI? Some appear to be linear as... Curve2, curve3, but then I get names like curve4, curve13! Is it possible to see the script that generates this VI?

Is
It there a way to make a "foreach" method without using the names of specific objects?

Or don't
any other method come to mind?

Help is very
appreciated...

AL.

Hi Al,.

It's for each approach, you asked.  You can also rename these object of the REPORT by directly modifying the TDR file in Notepad or WordPad.  It is also a way to find the names of all the REPORT objects if you don't know that the graph is called "2D-axe1.

Call GraphObjOpen("2D-Axis1")
Call GraphObjOpen (D2AxisXObj (1))
D2AxisXDivMode = 'linear '.
:        :           :
Call GraphObjClose (D2AxisXObj (1))
Y = 1 to AxisNoMax
IF D2AxisYObj (y) = "" THEN exit for ' y
Call GraphObjOpen (D2AxisYObj (y))
D2AxisYDivMode = 'linear '.
:        :           :
Call GraphObjClose (D2AxisYObj (y))
C = 1 to CurveNoMax
If D2CurveObj (c) = "" then exit for ' c
Call GraphObjOpen (D2CurveObj (c))
D2CurveLineWidth = 1
:           :
Call GraphObjClose (D2CurveObj (c))
NEXT ' c
Call GraphObjClose (D2AxisYObj (y))
NEXT ' y
Call GraphObjClose("2D-Axis1")

Brad Turpin

Tiara Product Support Engineer
National Instruments

Tags: NI Software

Similar Questions

  • batch file to run the script to report

    Hello

    How to create a batch file to call my script essbase report.

    Thank you!

    Hello

    you create a MaxL script that calls the report script. When it does not, you create a batch file that launches the MaxL script.

    MaxL example: export sample.basic database using fichier_journal '' $ARBORPATH/App/Sample/Basic/asym.rep' ' of data_file ' home/month2.rpt ";

    The batch file called essmsh.

    Kind regards

    Philip Hulsebosch

  • Help please with Script report :(

    Hello

    I am trying to write a small report with a calculation script and would really appreciate some help.

    Ideally, I would like to create a report where I only get the account and the value. I select all my limbs, but I need a calculation on the entity dimension. Here's what I'm trying to achieve:

    (All selected members for all entities + all members for all entities in the RIA - IFRS REPORTING ADJS group.) Yes I'm duplicate members of the RI group - IFRS REPORTING ADJS.

    Count to 100 for all entities = 50
    account 100 for all entities in the REPORTS of RI-IFRS ADJS. = 25
    I want to display grouped 100 as 75 account without showing a line for each entity.

    That's what I have so far but it does not work well:


    {
    ROWREPEAT
    SUPCOLHEADING
    SUPCOMMAS
    SUPHEADING
    SUPBRACKETS
    SUPEMPTYROWS
    TABDELIMIT
    MISSINGTEXT "#mi".
    2 DECIMAL PLACES
    NOINDENTGEN
    }

    < PAGE (years, Version, currency, script, intercompany, 'Entity', 'Cost Center', 'set of books', 'Reports')
    "FY10" 'In progress' 'Currency' "real" "intercompany" 'Entity', 'Cost center' "AB_CON_USD'"Reporting ".

    < ROW ("account")
    < LINK (< DESCENDANTS ("Balance sheet Total accounts", "Lev0, account"))
    {CALCULATE the LINE 'Entity' = 'Entity' + "RI-IFRS REPORTING ADJS."})

    < COL (period)
    "Dec".
    !

    Have you tried to use & CurrQtr instead of @CurrQtr

    variables substitution = & NomDeLaVariable

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Export of batches of regular financial report with LCM

    Hi people. 11.1.1.3 EMP here running.

    I'm trying to use LCM to export regular batches of Financial Reporting. When I shared in the context of Reporting and Analysis Services, under the zoom on objects regular, I don't see any regular object and yet I have about 200 EN batch reports on demand on my dev server.

    I looking in the wrong place to export these or is there another way?


    Thank you
    Tom

    11.1.1.3, the files get exported under the Hyperion\Common\import_export folder.

  • When I try to batch photos to resize in Scripts &gt; Image Processor function, an error message that says: "comand"Pen"is not available. What can I do to fix this?

    When I try to batch photos to resize in Scripts > Image Processor function, an error message that says: "comand"Pen"is not available. What can I do to fix this?

    Yes Adobe tile action fails with the error when he didn't is not the active selection. Note that the Cut Out, built-in frame and thumbnail (selection) after their name. These actions require an active selection to the selected mobile dotted lines before using the action.  Action seeks to soften the selection that were provided to you.  There was no selection, so there is nothing to be flag.

    In addition, the step of the pen in the action of the tile is an interactive step on its dialog box is.  An interactive action defeat as the design of the Image Processor script commands.  Isn't interactivity in a batch.

  • Data store report with NFS export pathname specification

    Hi all I created a report with the SCSI LUN ID and NFS export path specification data store.

    But I have no idea of the NFS export the path of a query data store. Can you help me in the following script?

    $report = @)

    $VMHost = get-VMHost-location

    $cluster foreach ($cluster Get-cluster) {}

    (Get-Datastore - VMHost $VMHost | where {$_.}) Type - eq "VMFS"}) | %{

    $info = "" | Select Center data, Cluster, name, capacity, put in service, available, DSType, State, Monday, NFSPath

    $info. Datacenter = $_. Data Center

    $info. Cluster = $cluster. Name

    $info. Name = $_. Name

    $info. Capacity = [math]: Round($_.capacityMB/1024,2)

    $info. Put into service = [math]: Round (($_.)) ExtensionData.Summary.Capacity - $_. ExtensionData.Summary.FreeSpace + $_. ExtensionData.Summary.Uncommitted)/1GB,2)

    $info. Available = [math]: round ($info. Capacity - $info. Put into service, 2)

    $info. DSType = $_. Type

    $info. State = $_. State

    $info. Monday = Get-ScsiLun - Datastore $_

    $info. NFSPath = "n/a".

    $report += $info

    }

    (Get-Datastore - VMHost $VMHost | where {$_.}) Type - eq 'NFS'}) | %{

    $info = "" | Select Center data, Cluster, name, capacity, put in service, available, DSType, State, Monday, NFSPath

    $info. Datacenter = $_. Data Center

    $info. Cluster = $cluster. Name

    $info. Name = $_. Name

    $info. Capacity = [math]: Round($_.capacityMB/1024,2)

    $info. Put into service = [math]: Round (($_.)) ExtensionData.Summary.Capacity - $_. ExtensionData.Summary.FreeSpace + $_. ExtensionData.Summary.Uncommitted)/1GB,2)

    $info. Available = [math]: round ($info. Capacity - $info. Put into service, 2)

    $info. DSType = $_. Type

    $info. State = $_. State

    $info. Monday = "n/a".

    $info. NFSPath = "I don't know".

    $report += $info

    }

    Thank you.

    You can use the attributes RemoteHost and RemotePath of the data store to get the path in any format you want.

    e.g. $info. NFSPath = "$($_.)". RemoteHost) :/ $($_.) RemotePath).

  • How to get all the style of paragraphs and their policies of an indesign file and write all the info with info para in a txt file with scripts

    @

    How to get everyone how to get all the style of paragraphs and their policies of an indesign file and write all the info with info para in a txt file with scriptingstyle and their policies of an indesign file and write all the info with info para in a txt file with scripts

    Hello

    Try this,

    var doc = app.activeDocument,
        pstyles = doc.allParagraphStyles,
        report = "";
    for(var i =0;i
    

    Kind regards

    Cognet

  • OBIEE export report with view narrative

    Hello

    I have a report with a view narrtive sequencing when I export this report the result do not match the result shown in the web analytics Page, in fact in this report, I use a variable called 'Run' which can contain more than 100 values, in the Analytics of the report show several line for this value, but in pdf format, the value of 'Run' is displayed on a single line.

    Can you please help me to correct this bug exporting

    Date: @{DateVar} {Todos los fechas} [br /] [br /]
    Sub-sistema: @{SubsystemVar} {Todos los values possible} [br /] [br /]
    < div style = "dressing: break-word;" Width: 800px ">RUN del applicant: @{Run} {Todos los values possible} < / div >"

    Try this work around.
    Use the variable of presentation in one of the column expression and use the function moves back to replcae, space
    and hide this column of the report and use it in the narrative with line break
    It should work.
    Exp:
    Replace (@{ApplicantVar} ',' ')

  • form of execution of report with parameters in oracle 10 g

    DB and dev rel2 10g, xp
    Hi all
    I can run Report Builder of forms with this code:
    DECLARE
     
    v_repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    v_rep_status VARCHAR2(100);
    v_param VARCHAR2(200) := NULL;
    v_valor VARCHAR2(200);
    v_url VARCHAR2(2000);
    v_repserver varchar2(20) := 'myserver';
     
    v_report varchar2(100) := 'D:\REPORT_NAME.REP';
    v_PARAMETRO varchar2(100) := '';
     
    BEGIN
     
    v_repid := FIND_REPORT_OBJECT('MYREPORT'); -- report is an element from object navigator report
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_FILENAME, v_report);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_DESTYPE, cache);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_DESFORMAT, 'pdf' );
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_DESNAME, v_report);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_SERVER, v_repserver);
    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_OTHER, 'paramform=no '||v_PARAMETRO);
    v_rep := RUN_REPORT_OBJECT(v_repid);
    v_rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE v_rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
    v_rep_status := REPORT_OBJECT_STATUS(v_rep);
    END LOOP;
    IF v_rep_status = 'FINISHED' THEN
    message(v_rep);
    message(v_rep);
    WEB.SHOW_DOCUMENT(v_url||'/reports/rwservlet/getjobid'||
    SUBSTR(v_rep, INSTR(v_rep,'_', -1)+1)||'?'||'server='||v_repserver, '_blank');
    END IF;
     
    END;
    but I want to run a report with the parameter, that's my problem.

    which I think is to create a list of parameters 'tmp' and add a 'p_ename' parameter that contains the value of a text element ": t_ename" who I want to do my report, then add the parameter list parameter to the
    run_report_object (myreport, "parameter list");
    then
    Adds a user setting with the name "p_ename" to my report in Report Builder and test it, but I did it and nothing happens, it runs the report with the data set, not only with the data from the text value of the element?

    How to solve this problem?
    Thank you

    SET_REPORT_OBJECT_PROPERTY (v_report_id, REPORT_OTHER, 'p_deptno =' |:dept.deptno |' paramform = no "");

    Change the line preceding with a bellows

    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_deptno='||QT||:dept.deptno||QT); --- remember to add QT at your declaration
    QT char(1):=''''; -- only at declaration section if you want to add single quote(')
    

    and place it just place of

    SET_REPORT_OBJECT_PROPERTY(v_repid, REPORT_OTHER, 'paramform=no '||v_PARAMETRO);
    

    your first code posted

    I hope this works... :)

    Hamid

  • How creat a summary report with txt.

    Hi all

    I want to create a summary of the report with .txt, and I disabled the feature of report generation in teststand.

    I created a complex sequence, includes some sub-sequences, example: the UUT is tested on three different temperatures and four different voltages conditon. So I creat three subsequences (different temperatures) there are four steps (different voltages), then mainsequence invoke three subsequences to excute test.

    I only want to get the fail-no summary, include: name of the step-fail, status

    How do I? Thank you very much

    You can use Parameters.Step.Name to get the name of the step failed. You can also use something like Parameters.Step.StepType.Name is 'NI_MultipleNumericLimitTest' to the different types of filter steps.

    To the extent where the string any failure...

    You can check RunState.CallStackDepth to see callers how you deep. Based on this information, you can use RunState.Caller.Caller. (in sequence but of many appellants deep, you are). RunState.Step.Name or. Sequence.Name

    So if the CallStackDepth is 1, you can only use a caller. If it was 2, need to recursively would you use 1 caller and then 2 appellants and so on.

  • Problem when creating a report with a date of schduled

    When I tried to create a report with a schedule (any option except now) I get the error 'Date of the first report occur must be after or equal to the current date", unless I have use a date of 01-10-2012 or later in the first report occurs on the field.  Current date is 2012-08-23.

    Let me know if you can recreate it and if or when there is a fix.

    Hi Tim,.

    We have fixed the problem now. Could you please check that you are able to schedule a report now with start date of today?

    Thank you

    The OnPlus team

  • working with scripts

    Hello

    I work with scripts of these days, I wonder if anyone can guide me through a document that explains each step and gives an example of this work.

    I already read the explicit book of the IPCC, but it gives no examples of its use.

    Thanks for your help

    IPCC express 4.0

    I also wonder if, using the scipt even editor would work for CUE.

    Nice day

    Hello

    Take a look at this link.

    It's a zip file with examples of "aef" from Cisco:

    http://www.Cisco.com/application/x-zip-compressed/en/us/guest/products/ps1846/C1028/cdccont_0900aecd80179234.zip

    Hope this helps,

    Juan Luis

  • New reports with the Version 15.1

    With version 15.1, we have several new reports, including status report list grouping all individual status reports into a single report with the colors for the selected values of the keys.  It is an impressive report (as well as other added to 15.1).  Take the time to view the reports again.

    Where does he find one this version 15.1 report? I only find a project status report in global reports-> list of reports and there is no color as your example shows.

  • Simple report with parameter requirement does not

    I have a simple report, select rows from a table when the date is earlier than a date variable. I have a page with a switch of date and a button element. The button links to the report page and assigns to P3_AS_OF_DATE P2_SELECT_DATE. Page 3 includes & P3_AS_OF_DATE. in the title of the region, as an element of display, and in which paragraph of the report. However, when I click on the Run_Report button on page 2, the date selected on page 2 does not appear on page 3. I can't understand what Miss me.

    I've reproduced my code at https://apex.oracle.com/pls/apex/f?p=4550 & ws = Larimer using assistance/Viewer to connect. The application is called report with Date setting.

    Thank you!

    (There is more to the condition that, so obvious alternatives as an interactive report are not a solution).

    mdwyer wrote:

    I have a simple report, select rows from a table when the date is earlier than a date variable. I have a page with a switch of date and a button element. The button links to the report page and assigns to P3_AS_OF_DATE P2_SELECT_DATE. Page 3 includes & P3_AS_OF_DATE. in the title of the region, as an element of display, and in which paragraph of the report. However, when I click on the Run_Report button on page 2, the date selected on page 2 does not appear on page 3. I can't understand what Miss me.

    I've reproduced my code to https://apex.oracle.com/pls/apex/f?p=4550&ws=Larimer with assistance/Viewer to connect. The application is called report with Date setting.

    The button performs a redirect. This means that the page is not filed and the value of P2_SELECT_DATE is therefore not saved in session state. When the form values should be stored in the database or used in the treatment later, you must enter them in session state using a button that submits the page. Next navigation should be performed using a direction rather than a redirect. The example has been changed to make it.

  • XLS-models with BI Publisher using and download the reports with APEX

    Hello

    I already create PDF reports with RTF Templates. In the APEX, I create a button and a process of "Download" to get the PDF-reports the BI Publisher. ". We use version 11.1.7.

    Now I try the same thing with XLS-Templates. I create the XLS model in the editor of BI and where it works very well. Now I need also an APEX-"Download" - Process to download the XLS reports to the client. The method already used doesn't work for RTF models.

    Kind regards

    Mark

    Hello

    I found here, the format has value "excel", not "xls"!

    http://docs.Oracle.com/CD/E28280_01/doc.1111/e26693/ibr_config.htm#WCCAA2062

    Now it works like a charm!

    Kind regards

    Mark

Maybe you are looking for