Dynamic change of PropFlags_IncludeInReport doesn't change data in XML report

Hi,
I have tried to change the contents of my XML report generated in TS3.1 by changing the PropFlags_IncludeInReport. This works for some simple data types like numericteststep where I have removed the limits and step result from the report if the step pass. This is done from LV7.1 where I have created a reference to the step properties and then changed the flag with the GetFlag Property and SetFlag Property. I have posted a HTML (easier to open remote) example “MIGAExcludePassStepLimitsFromHTML.html” & a picture that shows the step structure “NumTestStepStructure.jpg”.
But it doesn’t work when my data type is getting more complicated. See CustomTestStepStructure.jpg. In this case it’s an array of containers (measurement - custom data type) that contains some containers (limits and channel – custom data type). I have removed the PropFlags_IncludeInReport on all the custom data types (in the top of the tree) except on some of the items in the last type in the tree (Status, Read.Voltage_V, Limits.Voltage_High_V, Limits.Voltage_Low_V…).
The XML style sheets doesn’t show my data when I remove the PropFlags_IncludeInReport of the Measurement Array (if it’s on all the sub-properties are shown. Not wanted because off the size). I assume it’s a bug (shows data in HTML) if some data in the structure has this flag enabled?
I can see in the source of the XML report that the flags are added to each property. These flags have the correct value from the custom data type, but the style sheets can’t show them correctly. It’s possible that NI will make a fix to this problem?
I have also tried to change the PropFlags_IncludeInReport on my custom step properties from LV7.1 like above. But my changes of the flags dynamically aren’t included in my XML report (new flags aren’t added to each property). Why? Is it because of the data type? Is it because I do it in a Post Step? Is there a solution?
I am looking forward to hear from you,
Best Regards,
Morten Pedersen
CIM Industrial Systems A/S

Hi,
I have posted some sequences for you. Extract to C:\. The only difference in these seq-files is the PropFlags_IncludeInReport flag for the Result.Measurement property in the custom step type called MIGA_DCPower_HM7044.
Try to run the sequences. With XML report enabled. In the beginning of the CimHamegTest_MainTestSequence there are some numeric limit test step that in the run code enables or disables, with the SetFlag Method, the result, limits and comp depending on the test pass or fail. Works fine.
But there are problems in my custom step types that are executed after. The different sequence files shows the first problem. If the Flag mentioned in the top is disabled no sub data is include besides their flags is set to IncludeInReport. In the source code of the XML the flags are correct, but the stylesheet can’t show them.
The second problem is when I tried to change the flag dynamically. This is done in a post step for the custom step type called MIGA_DCPower_HM7044. This vi disables all the low voltage limits. I use for e.g. this look up string for that: Step.Result.Measurement[0].Limits.Voltage_Low_V. These changes aren’t included in my report. Both the HTML and XML would not show or change it.
I hope this will show you the problems and hopefully help me.
Best regards,
Morten Pedersen
CIM Industrial Systems A/S

Similar Messages

  • How to dynamically change data type

    Hi 
    Let say I have 1 byte in the folowwing hex format (1F )
    Then if I say convert it to 24 bit then the number should become 1F 00 00 and if I say convert it 32 bit the number should become 1F000000
    Could you please help me to implement this in LabVIEW ?
    Thanks

    Ah right, now I see why you mentioned dynamically changing the data type - LabVIEW is a strictly typed language which means you must end up with one of the numeric formats in LabVIEW (with 64-bits being the largest). If you're going to have more than 8 bytes, I'm not sure what the solution would be, if you're going to have 8 bytes or less then I would just assume the worst case and convert/fit the numbers into a U64.
    Here's an example:
    I am starting off with an empty U64, taking each input byte and shifting the U64 left by one byte and then adding the input byte.
    I guess that leads to my next question - what are you going to do with the numbers? Would having an array of U8's or converting the bytes to a character string not be better? If you have a string or array these can have a dynamic length so you can more easily manipulate the data (e.g. by performing string/array indexing functions).
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Changing date format at reporting level

    Hello,
    Will u plz tell me how can i change the date format at reporting level?
    I want to display date in dd/mm/yyyy, but by default its showing mm/dd/yyyy.
    Delta is already loaded in the system, so i don't want to disturb regular data loading.
    Is there any way so that i can change the format of date.
    Plz help me out.
    Thanks,
    Regards,
    Steve

    Hi steve
    There r so many postings on the same topic
    go through these previous threads
    date format
    Date format
    u can find solution
    regards
    Ravi Kiran

  • Change date format in reporting (query)

    I need to change date format from dd.mm.yyyy to dd/mm/yyyy in reporting (query)

    Hi Suresh,
    Go to transaction su01d in that enter your user.
    Now go to defaults and change the date format.
    Ya but this format will be user specific, so if you want everyone to see that format you have to change it for all.
    Regards
    Mansi

  • Changing date range in Report...

    Hi all,
    in report i have to change date range ..it is presently 1.1.2006 to 31.12.2006. i need to change year to 2007....
    can anyone please suggest me how to do that?

    Hi,
    In query Designer,select your date Char. expand u find Char. Variables.
    Select your Char. Varaible(the variable which is used to restrict the Values). right click ->edit,where u can change defalut date values or make it as blank.

  • Incorrect UTF-8 encoded date in XML reports under German Win in March (IE error)

    TestStand XML reports are marked as UTF-8 encoded. But those reports generated under Win2k German in March (written as "März" in German) cannot be displayed in the Internet Explorer because the umlaut character of the month name is not correctly UTF-8 encoded.

    Hi
    I have attached the modified modelsupport2.dll and the ReportGen_Xml.seq which fixes the problem. I also attached the modified report.c and modelsupport2.fp files.
    If you have not made changes to modelsupport2.dll and reportgen_xml.seq you can add the modified files to \Components\User\Models\TestStandModels\ folder and the TestStand engine should use the version under the user folder.
    If you have made changes to ReportGen_Xml.seq and ModelSupport2.dll then you will need to move the changes in the below files to the files under the User folder.
    FYI: If you want to create a new component or customize a TestStand component, copy the component files from the NI subdirectory to the User subdirectory before customizin
    g. This ensures that installations of newer versions of TestStand do not overwrite your customization. If you copy the component files as the basis for creating a new component, be sure to rename the files so that your customization do not conflict with the default TestStand components.
    The TestStand Engine searches for sequences and code modules using the TestStand search directory path. The default search precedence places the \Components\User directory tree before the \Components\NI directory tree. This ensures that TestStand loads the sequences and code modules that you customize instead of loading the default TestStand versions of the files.
    I hope this helps.
    Regards
    Anand Jain
    National Instruments.
    Attachments:
    ModifiedFiles.zip ‏384 KB

  • Dynamically change data type of a field

    Hello,
    I'm trying to dynamically create a SQL statement which will insert record sin to my SQL data base.
    I dynamically bring field name sand values. then concatenate them in a string and then Execute the SQL string in a native SQL eXEC statement.
    It all worked fine till I used signle quotes for all field values.
    but now I wante dto insert a field of type "Money" is SQL which is nothing but AMount/currency in SAP.
    Now If I remove this quotes it is working fine. but If I have a negative number the "-" sign comes in the end in my abap code and gives a short dump in insert statement.
    now I wante dto make that variable dynamic in to currency rather than String.
    Please let me know how Can I change it dynamically.
    EG: w_field_value = 3000.25-  (value in SAP / w_field_value is of TYPE String)
    Before I concatenate this , I wanted to change its type to AMOUNT ...
    thanks.

    Just Use the field Symbols.
    Regards
    Rusidar S

  • Dynamically change data model using xml

    Hi there,
    I need to exclude certain type of invoices from several reports. I also need to recalculate invoice amount if invoice is of a particular type.
    Is there a way to do it using xml report definition instead of directly modifing report?
    If you can point me to some examples, it will be greatly appreciated.
    Thanks!

    Hi there,
    I need to exclude certain type of invoices from several reports. I also need to recalculate invoice amount if invoice is of a particular type.
    Is there a way to do it using xml report definition instead of directly modifing report?
    If you can point me to some examples, it will be greatly appreciated.
    Thanks!

  • How to edit/change data type on report that was selected by mistake

    Hello there
    I created a report in APEX and one column is giving error because the data type of one column supposed to be a varchar2 but somehow the report was created with a Date data type. I want to change the data type without recreating the whote report. Can someone help? I tried to edit the report but couldn't be able to figure out.
    HELP....

    I found a solution for this, thank you.

  • Change data source of report in SharePoint 2013

    Hi there
    Not sure if this should be in the SharePoint forum or here, but since moving from SharePoint 2010 to 2013, we're having trouble finding where to change the data source of an existing SSRS report when stored in a SP doc library. In SharePoint 2010 "Manage
    Data Sources" was available directly from the context menu as described in the MSDN documentation
    here. Unfortunately we're not able to find this option anywhere in 2013.
    Any suggestions on where to find this?
    Thanks!

    Hi timofcourse,
    Glad to hear that your issue have been resolved and your sharing of the information will benefit others a lot.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Changing data in XML variable and appending tags in XML  document

    Hi all,
    I am new to weblogic Integrator . can any one help me concerning following problem
    1. I get input XML message to my workflow which I stores in XML variable. after
    some processing i want to change value of one tag in XML stored in XML variable.
    How I can do thaat ?
    2. I have some XML like
    <root>
    <child>
    <a> </A>
    </child>
    <child>
    </child>
    </root>
    and i want to append multiple such tag at run time . how i can do the same
    in wli
    Please let me know your suggestion
    Kiran

    For both cases I suggest you use XSLT.
    Mike
    "Kiran" <[email protected]> wrote in message
    news:3c720cd2$[email protected]..
    >
    Hi all,
    I am new to weblogic Integrator . can any one help me concerning followingproblem
    1. I get input XML message to my workflow which I stores in XML variable.after
    some processing i want to change value of one tag in XML stored in XMLvariable.
    How I can do thaat ?
    2. I have some XML like
    <root>
    <child>
    <a> </A>
    </child>
    <child>
    </child>
    </root>
    and i want to append multiple such tag at run time . how i can do thesame
    in wli
    Please let me know your suggestion
    Kiran

  • Newly registered user doesn't have Data Model or Report Creation option

    Hi,
    I have recently registered in http://bipdev2.us.oracle.com:7001/xmlpserver
    Except Create Report Job option, i do not have Create Data Model and Create Report options visible in my Home page.
    In My Account-> My Groups, in which i have BI Consumer Role assigned.
    Do i need to have a BI Administrator Role (or) BI Author Role to have these options enabled in my Home page?.
    or What is the procedure to request for access
    Any help regarding the same is highly appreciated.
    Thanks
    Parvez

    Hi,
    for the first part where you don't access I would suggest you do an authorization trace to ensure that the user has all the necessary authorizations.
    and on the second part - yes the user needs to have credentials for the system that you trying to access
    Ingo

  • Making changes in web.xml dynamically

    Hi all,
    I have a requirement in which i need to redirect request to com site if it is from desktop browser and to WAP site if request for wap site or from a mobile device
    Have servlet ready doing it but presently taking only to two harcoded URLS of .com and .mobile sites.in web.xml.
    Now i want dynamic changes in web.xml through a servlet to changes those URLs to respective request.
    Thanks in advance,
    dcosta_halo

    The web.xml file is only a data storage file. When a Java Web Server starts up, it read the web.xml file and creates the appropriate objects that live in the JVM and manage parts of the applications hosted by the server. Any changes to the web.xml data file while the server is running are lost once the server is turned off. You need to figure out another design, possibly having the servlet read a database table to get URL strings.

  • Data filtering in XML report with out changing the underlying query

    Hi, This is Nagesh and from Verizon.
    I'm testing Query based XML report in Peoplesoft 9.1 app with tools version 8.5.
    I'm trying to filter the data on XML Report template with out changing the underlying PS query. I mean filter the data on the report to only specific accounts though the underlying PS query query return transactions booked to all Accounts for a given Legal Entity. Is it possible. any advise or idea is highly appreciated.
    Thanks
    Ages

    If the value is not of importance how come it became obligatory in your program?
    Any how you can do one thing...Put some value in your obligatory field, put a debugger point where you are interested in  and use the pencil tool to change the value of the field while debugging. 
    Regards,
    Philip.

  • Displaying HTML data in the xml report

    hi
    can anybody help me out on how to display the HTML data in XML report, for example the data in the table is in the following format with HTML tags attached to it
    *&lt;b&gt;Test Good display as normal text&lt;b&gt;*
    +&lt;i&gt;Test Italicized &lt;i&gt;+
    i would like to display the above data in the XML report as a following with "Test Good display as normal text" as BOLD and "Test Italicized" as Italicized
    Test Good display as normal text Test Italicized
    if anybody came across similar issue please help me out.
    Regards
    Hemi.

    Hi..
    Check out this link..hope this helps..
    http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html

Maybe you are looking for

  • Using an "EXISTS" test in the QUERY parameter for an expdp

    Has anyone successfully used EXISTS in the QUERY parm during an export datapump? I can get IN to work, but not exists: Works: tables=fred.export1 directory=dpump_dir_dev dumpfile=expdpdev_export_test2_20101216.dmp logfile=expdpdev_export_test2_201012

  • Setting Document Root in WebLogic 6.1

    I have recently migrated from WebLogic 5.1 to WebLogic 6.1, on Windows 2000 running jdk 1.3.1. My Document Root settings (weblogic.httpd.documentRoot) from WebLogic 5.1 in my weblogic.properties file did not carry over to WebLogic 6.1, so does anybod

  • Prevent app launching on startup

    Running Yosemite, I now suddenly have an app that launches itself automatically on startup.  However, I don't want this. I've tried the following: 1. Checked in System Preferences > Users and Groups > Login items.  It's not listed there and never has

  • Delivery dates and scheduled dates ??

    Hi,     Is there a T code to view all (for certain period - weeks, months) the delivery dates for the  sales orders from a particular customer and corresponding scheduled dates (from the production orders) ?? Thanks in advance Regards, PSS

  • Compiling package Not found

    Hi All, I have windows XP. I have java files in following 3 directories that I want to compile. C:\spring\commands\*.java C:\spring\controller\*.java c:\spring\service\*.java I went in to command directory and run javac *.java --- all java files succ