Change Parameters.ReportOptions by expression

I'm testing five UUTs with the batchmodel.
Now I want to save the UUT reports to "c:\\test\\<UUT>_<UUTStatus>_<Unique>".
Therefor I've added the expression to the sequence "ReportOptions":
Parameters.ReportOptions.DisableReportGeneration = False,
Parameters.ReportOptions.IncludeStepResults = True,
Parameters.ReportOptions.AppendToFileIfItExists = False,
Parameters.ReportOptions.Format = "html",
Parameters.ReportOptions.BodyGenerator = "Sequence",
Parameters.ReportOptions.BaseName = "",
Parameters.ReportOptions.DirectoryType = "SpecifyByExpression",
Parameters.ReportOptions.ReportFilePath = "c:\\test\\<UUT>_<UUTStatus>_<Unique>",
Parameters.ReportOptions.GeneratePath = False,
Parameters.ReportOptions.IncludeTimes = False,
Parameters.ReportOptions.DateAndTimeFormat = "DateFirst",
Parameters.ReportOptions.NewBatchFileNameForEachBatch = False
Now I get the following error:
Details:
An error occurred calling 'Save' in 'Report' of 'NI TestStand 2010 API'
Value invalid or out of range.. Error writing to file 'c:\test\<UUT>_<UUTStatus>_<Unique>.html'.
Error Code:
-17300; Value invalid or out of range.
Location:
Step 'Write Batch Report' of sequence 'Test UUTs' in 'BatchModel.seq'
What am I doing wrong? I've searched and tried a several thinks, but I can't find what goes wrong.
Solved!
Go to Solution.

Thank you for your answer, but I still got a problem. I've changed the expression to:
Parameters.ReportOptions.DisableReportGeneration = False,
Parameters.ReportOptions.IncludeStepResults = True,
Parameters.ReportOptions.AppendToFileIfItExists = False,
Parameters.ReportOptions.Format = "html",
Parameters.ReportOptions.BodyGenerator = "Sequence",
Parameters.ReportOptions.BaseName = "",
Parameters.ReportOptions.DirectoryType = "SpecifyByExpression",
Parameters.ReportOptions.GeneratePath = False,
Parameters.ReportOptions.IncludeTimes = False,
Parameters.ReportOptions.DateAndTimeFormat = "DateFirst",
Parameters.ReportOptions.NewBatchFileNameForEachBatch = False,
Parameters.ReportOptions.BatchFileBatchModelExpression = "",
Parameters.ReportOptions.ReportFileBatchModelExpression = "c:\\test\\<UUT>_<UUTStatus>_<Unique>"
And now I get the following error:
Details:
Parameter 'newValue': Error in argument 2, 'Find(Parameters.ReportFilePath, "\\", 0, True, True)', in call to the expression function 'Left'.
The parameter which evaluated to -1 cannot be negative.
Error code:
-17300; Value invalid or out of range.
Location:
Step 'Set Temp File Directory Path' of sequence 'Setup Report Display Settings' in 'ModelSupport.seq'
Parameters.ReportFilePath contains ".html", so I think it is using the incorrect parameter for the ReportFilePath.
How can I force to use "ReportFileBatchModelExpression" in stead of "ReportFilePath"? I thougth this would be done by:
DirectoryType = "SpecifyByExpression", but this isn't working, do I have another incorrect setting?

Similar Messages

  • Need of Changing Parameters in Function Module

    Hi All,
    Why we need sepearte Import and Export parameters in Function Module if the Changing Parameters
    acts as both import and export parameters.
    What is the use of using Changing Parametrs in Function Module.
    Thanks in advance.
    Sundaresan

    Hi,
    EXPORT PARAMETERS: When u r passing some value to the function, and the parameter will not be changed in the function, we use export parameter. Example: u pass parameter (a : 10) to a function, even after the function has been executed, value of a will be 10 only.
    IMPORT PARAMETER: When u require some value back from the function. u do not provide any initial value to the function. Example : u pass a parameter (b: <blank>) to the function, function returns the same import parameter as (b : 20).
    CHANGING PARAMETER: When u pass some value to the function and that function may change that value inside function, then changing parameters are used. Example: u pass parameter ( c: 30) to the function as changing parameter and function modifies this variable and return ( c: 50).
    Reward points if helpful.
    Thanks & Regards
    - Rishika Bawa

  • NWA Job scheduler, how to change parameters?

    Dear guys,
    moving to AEX (java-only) the ABAP Stack is gone.
    Regarding job scheduling there is no more transaction sm37, but Job scheduler within NWA to be used for scheduling jobs.
    I configured a job for the predefined job definition AlertConsumerJob to get emails in case of alerts.
    Doing this the questions arises how to change parameters once a job is scheduled e.g. add additional email receiver.
    So far is seems you have to stop the configured job and define a NEW one from scratch by providing all job parameters. It seems not possible to adjust a job.
    This is not very comfortable?
    Is there an workaround / solution for this?
    Best regards
    Jochen

    Hello Gaurav
    thanks for your reply.
    It's a pity, but shows that there is still some room of improvement regarding AEX functionality (java only)
    Best regards
    Jochen

  • Syntax for defining a variable  with size in changing parameters

    hi,
    syntax for defining a variable  with size in changing parameters in the form statement.

    Hi prasad,
    1. one option is to type it as an data element.
    eg.
    form abc changing myvar type char10.
    endform.
    where char10 is a data element with length 10 characters.
    regards,
    amit m.

  • Blocks in standalone applications which can be double clicked for changing parameters

    Can we have blocks in standalone applications which can be double clicked for changing parameters.
    something like an options/configure button which opens another window and helps us to change tha parameters  of that particular
    block.

    Well, you will need to program your application that way. Maybe I am not understanding this correctly but what parameters do you want to change in your standalone application?
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Change parameters in QP01

    Hi,
    I exploring the functionality of Change parameters (Change Rule & change type) @ insp. plan header but system issues following error msg.
    *'Changes to change rule and change type are not allowed
    Message no. C5023"*
    Can anyone tell me how to use change rule functionality & also where to view message No. in SPRO.
    Ajay............

    Hi Ajay,
    As the message itself directing you....... follow the steps.
    - Create a Change Number (CC01)
    - Assign this object (the inspection plan group number, you should assign all the group numbers to this Change master itself, that will be use full to use a compiled/common Change number to activate ECM for all the Inspection plans)
    - Convert the ECR to ECO
    - Now run QP02, enter group number and the Change number just created.
    - Press enter to enter the QP02
    - Now try to set the change rule at header level for the inspection plan.
    Regards,
    Shyamal

  • Slow changing dimensions in application express GUI

    I need some kind of slow changing dimensions for application express GUI in order to be able
    1) simply allow users to edit 1 row for 1 object in APEX GUI
    2) widely use historical data in reporting.
    I.E.:
    Client's Last name (address, etc) was changed. I need to show in reports two points: before change and after:
    ID Name Order_date Amount
    12 Clark 1/1/10 500
    12 Johnson 5/1/10 200
    Are there common solutions?

    There are probably a few approaches you can take:
    1) Fine Grained Auditing (FGA) - very extensive and can be completely customized.
    http://download.oracle.com/docs/cd/B19306_01/network.102/b14266/cfgaudit.htm#sthref1766
    2) Triggers - if you have basic needs on a few tables/columns, it may be easier to just roll your own trigger. You can compare the :old to the :new value, and if they differ, write both to your own auditing table.

  • Whether it is possible through plsql to change parameters of the chart?

    Having set constant number in these fields («Y Axis Min », «Y Axis Max», «Chart Width»,«Chart Height »,«Maximum Rows») it is possible to change parameters of the chart.
    And whether it is possible to change them during performance of the program (to substitute in them the necessary plsql-variables)?

    A question for the HTMLDB gurus, has the limitation been fixed? I mean, can you use variables to set min/max for charts?
    I am using htmldb 2.0 and I can not put anything but constant number for min/max.
    btw. is there a way to use htmldb api to manually code a chart so I can set min/max dynamically like what we have in Microsoft Excel?
    Thanks.

  • Regarding changing parameters

    hi experts,
                     cud u plz send me your own  small coding which let me about the functionality of changing parameters.....thnx in advance....
    plz dnt copy and paste it from net.......

    Hi,
    CHANGING parameters are input and output parameters. When the function module is called, a suitable actual parameter must be specified for every non-optional input or output parameter. When the function module is called, the content of the actual parameter is passed to the input/output parameter, and when the function module is completed, the content of the input/output parameter is passed to the actual parameter. TABLES parameters are table parameters. Table parameters are obsolete CHANGING parameters that are typed as standard tables with a header line. If an internal table without a header line or a table body is passed as an actual parameter to a formal parameter of this type, an empty local header line is generated in the function module. If an internal table with a header line is used as an actual parameter, both the table body and the header line are passed to the function module. Pass by value is not possible in formal parameters defined using TABLES. Formal parameters defined with TABLES can be replaced by formal parameters defined with CHANGING. A local work area can be created for the internal table in the function module by using the addition LIKE LINE OF itab of the DATA statement.
    Exceptions
    The exception of a function module are defined on the Exceptions tab page in the Function Builder. Here you can select exception classes to define whether class-based exceptions are declared or non-class-based exception are defined. Class-based exceptions are represented in the above syntax by RAISING, and non-class-based exceptions are represented by EXCEPTIONS.
    The addition RAISING is used to declare class-based exceptions that can be propagated from the function module to the caller. Exceptions in the categories CX_STATIC_CHECK and CX_DYNAMIC_CHECK must be explicitly declared, otherwise a propagation can lead to an interface violation. A violation of the interface leads to the treatable exception CX_SY_NO_HANDLER. Exceptions of the category CX_NO_CHECK are implicitly always declared. The declaration of exceptions of the category CX_STATIC_CHECK is statically checked in the syntax check. For exceptions of the category CX_DYNAMIC_CHECK, the check is not performed until runtime. In a function module in which class-based exceptions are declared with the RAISING addition, the statement CATCH SYSTEM-EXCEPTIONS cannot be used. Instead, the relevant treatable exceptions should be handled in a TRY control structure.
    The addition EXCEPTIONS is used to define a list of non-class-based exceptions that can be triggered in the function module using the statements RAISE or MESSAGE RAISING. Exceptions defined in this way - as with formal parameters - are bound to the function module and cannot be propagated. If an exception of this type is triggered in a function module, and no return value has been assigned to it with the homonymous addition EXCEPTIONS of the CALL FUNCTION statement when the call was made, this leads to a runtime error.
    Note
    For new developments after release 6.10, SAP recommends that you work with class-based exceptions that are independent of the function module.
    RFC is a technology which is used to access a functions (Modules) from
    the remote systems.
    If a function module is set as remote enabled which can be access from
    the remote system via RFC.Eg: U can access the Remote enabled function modules in ur VB,Webdynpro,Java,Visual composer program.
    A function module can be set as remote enabled by SE37->Go to ur FM->click the option Button "remote enabled".
    But Normal function modules can not accessd from the remote system.
    Good Example for RFC enabled function module is : BAPI(Business Application Programming Interface)
    Note: All BAPIs are Remote enabled but not all remote enabled function modules are BAPI.
    CALLING A FUNCTION MODULE:
    1)In U ABAP Editor --> Click "Patter" ---> Selection Option Button "Call Function"
    --> Write the Corresponding FM name --> Hit Enter
    2)The appropriate import ,export Parameters will be displayed in ur editor
    3)Pass the Values Here.
    Also check these links.
    http://www.geocities.com/victorav15/sapr3/abapfun.html
    Check this link:
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
    Check this link:
    http://help.sap.com/saphelp_erp2004/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/d94b78ebf811d295b100a0c94260a5/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/41341147041806e10000000a1553f6/frameset.htm
    See the following links:
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db970e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
    REPORT demo_mod_tech_example_2 .
    DATA: num TYPE i VALUE 5,
    fac TYPE i VALUE 0.
    PERFORM fact USING num CHANGING fac.
    WRITE: / 'Factorial of', num, 'is', fac. "#EC NOTEXT
    FORM fact
    USING value(f_num) TYPE i
    CHANGING f_fact TYPE i.
    f_fact = 1.
    WHILE f_num GE 1.
    f_fact = f_fact * f_num.
    f_num = f_num - 1.
    ENDWHILE.
    ENDFORM.
    Regards,
    Priyanka.

  • Change table precision in express vi

    Hello friends.
    I have a problem.
    I uses an Express VI to build a Table.
    If you see an example below, it shows a table with precision set at 2.
    Now if I want to change the precision, I have to right click, go to properties and do the precision change.
    Is there a way to change the precision programatically. I couldnot see any property node for the precision setting.
    Can anyone help me ?
    PS: I am not very very conversant with Labview yet, so I would like to stick to Express VIs. I know they are not preferred by senior programmers but they are somehow very easy and convenient to use for newbies like me.
    Rgds,
    Rohit Chawla.
    Solved!
    Go to Solution.
    Attachments:
    Table Precision.vi ‏25 KB

    Thanks Smercurio_fc and Cerati
    Cerati's solution worked.
    But I was searching for something even simpler.
    I agree with Smercurio_fc that we do lose functionality in express VIs.
    But then "Laziness" is the mother of all inventions and I somehow invented a lazy method to solve my problem.
    I created a case structure with the precision (1-2-3-4) wired to 4 cases and in each case I have a Build Table VI with its own preset precision. But the final Table is common.
    So only 1 EVI (out of the 4) will execute and give me the table.
    Some day I will also be able to use deeper code like Cerati and other senior LV programmers.
    But for now, as James Bond said "I live to die another day"
    Attached my new VI just in case someone wants to look.
    Rgds,
    Rohit
    Attachments:
    Table Precision.vi ‏131 KB

  • When changing parameters in a disco workbook portlet provider refresh fail

    Hi,
    When changing input parameters in a discoverer workbook the automatic portlet provider refresh routine fails.
    We have published a report in Discoverer portal using portlet provider.
    When we change a parameter in the discoverer workbook and save it, then the automatic refresh of portlet with information about the parameters that are not recognized.
    Is it so that the portlet will be invalid and due to the workbook / work sheet parameter change. ?
    And the solution is then to create a new portlet? Or is it a bug?
    Have someone had this kind of issue?
    NOTE: We ar using Discoverer Plus 10.1.2.54.25 and the server installation is Oracle Application Server Installation Guide10g Release 2 (10.1.2)
    Regards
    Frode

    Michael,
    There are no issues with your provider.xml. Let me explain the
    ideal situations where SSO feature of URL-based portlets will
    work -
    1. FORM based authentication :
    User information is submitted to the secure application through
    HTML FORM and the application as a response sends Cookies to the
    client. These cookies are stored by the client will be used as
    authentication tokens from then on.
    URL-based portlets work in a similar fashion where in Cookies are
    extracted by the provider (URLProvider) and the portlets make
    use of the stored cookies while sending a request.
    2. BASIC authentication :
    Its a simple and less secure authentication mechanism than FORM based
    authentication. User credentials are Base64 encoded and are sent
    over network to the secure application.
    Having said this, it is important to know if your FORUM application
    relies on cookies or not.
    -AMJAD.

  • How to change parameters in amconsole for "Service Configuration"?

    Hello all,
    After Sun JES installation I'm changed few parameters in amconsole as amadmin.
    1. "Service Configuration" -> "Portal Desktop" -> "Authentication-less Portal Desktop Configuration "
    selected as "Disable"
    2. "Service Configuration" -> "Globalization Settings" -> "Charsets Supported by Each Locale"
    Add locale "locale=ru|charset=UTF-8;ISO-8859-1"
    Is it possible to do it from command line?
    I think it should be amadmin command...
    Thanks

    already resolved
    [http://forums.sun.com/thread.jspa?threadID=5355515&messageID=10550818]

  • Permanently changing parameters on the search box?

    I just switched over to Leopard from Tiger at work.
    Whenever I do searches for files in the finder my three parameters at the top are "Name", "Kind" and "Last Opened". I'm trying to find a way to change the "Last Opened" to "Last Modified" as it was on Tiger, which was much handier for the work I do.
    Is there a way to do this?
    I would also like to have the search include the Trash, but have been unable to figure out how on my new system.
    Any help would be appreciated.

    kev_taoboy wrote:
    I just switched over to Leopard from Tiger at work.
    Whenever I do searches for files in the finder my three parameters at the top are "Name", "Kind" and "Last Opened". I'm trying to find a way to change the "Last Opened" to "Last Modified" as it was on Tiger, which was much handier for the work I do.
    Is there a way to do this?
    no. you can add any items you want to that pulldown menu though. in that pull-down menu click on "other". in the resulting popup check the boxes next to any items you want to appear in that pull-down menu.
    I would also like to have the search include the Trash, but have been unable to figure out how on my new system.
    that's not possible either. spotlight doesn't search trash.
    Any help would be appreciated.

  • Change password airport extreme+express

    I have an airport extreme and two express for wideout. I wanna change my wifi-password. How to easily do that? I have tried to use Airport and changed the wifi-password in the extreme. But then the express goes away with yellow sign with !. How to do this?

    Change to the password that you want to use on one AirPort Express
    Click Update to store the new setting
    Wait a full minute for the Express to restart with a slow, blinking amber light
    Power off the Express
    Change to the password that you want to use on the other AirPort Express
    Click Update to store the new setting
    Wait a full minute for the Express to restart with a slow, blinking amber light
    Power off the Express
    Change to the password that you want to use on the AirPort Extreme
    Click Update to store the new setting
    Wait a full minute for the AirPort Extreme to display a green light
    Power up one AirPort Express and wait a minute for a green light
    Power up the other AirPort Express and wait a minute for a green light

  • Change Parameters on Scheduled request

    Hi,
    Is there a way, maybe profile setting, to go back into one of your scheduled reports from the concurrent manager and modify the parameters?
    Thanks,
    Ken

    Hi,
    Let me clarify a little bit.
    I have a concurrent request that runs for example every Sunday. Now this request is already scheduled and running fine. Now what I want to do is go back into the already scheduled request and change a value in one of the parameters.
    What happens now is I find my scheduled request click on the 'View Details' button and then click in the Parameters field. All the parameters are grayed out and I cannot change them.
    Hope this explanation helps a bit.

Maybe you are looking for