Pco Query Event Mode Issue

Hi Experts,
I am having issue with Pco query with event view following are details.
SAP MII 14.0 SP04
SAP Pco Version 2.2 (2.200.894.206)
OSI PI (connectivity using PI Trust)
Suppose I write one PI tag 4 times in history mode for same time stamp with values (10,12,12,25)
than I am using Pco query with event mode to get data for that time stamp with row count 4 and I am receiving 4 entries with same time stamp.
However I need single entry with last value written (25) with single time stamp.
Please let me know what I am missing here.
Thanks & Regards,
Manoj Bilthare

Thanks Steve
I really appreciate your response and it is very helpful.
We need data in history mode with multiple data points.so we can not use current mode and rowcount as 1.
I am assuming that to achieve this either I have to use interpolated view or for event view OSI PI have to remove archiving so that it will maintain single data point for one timestamp.
Please let me know if my assumption is right or is there any better way.
However with rowcount 1 it is returning the first value.
Regards,
Manoj Bilthare

Similar Messages

  • Pco query creation error

    Hi ,
    while creating Pco query..
    i have a list of available servers..
    when i select the respective server which i have to connect
    Modes are not displayed :
    it shows connection refused : connect
    but in data servers : theere are two things one is pco connector and other one is pco simulator
    when i select pco simulator i get the tag retrival mode
    but when i select Pco connector -type server , no modes are displayed..
    what could be the problem..
    when i run the query with pco simulator selected i get a java error..
    kindly help me with ur inputs..
    regards
    i have the screen shots for reference

    Hi Hasila,
    Could you please give more details about the issue, looking to the error it seems that you trying to get any tags values from historian using PCo query.
    Below are may be the issues
    1. Tag doesnot exits or its a wrong Tag
    2. For that particular time range values for that tags are not present
    3. Historian server's must be running out of memory and hence PCo unable to read values
    You can try by giving a long date range with view as "EVENT" if you get multiple values or even a singe value in this time range then it can be concluded that for that specific time values were not present in Historian DB.
    Please try this and share the results

  • PCO Query: tag not found

    Hi,
    I am writing values to a datablock on a PLC using SAP PCO and OPC as middleware.
    It is working for all tags in the datablock except for 2.
    This is a screenshot of both tags in the OPC Quick client (I am using Kepware OPC server).
    I can read and write the tags from here.
    I have created a small test. In the MII workbench I created a PCO Query.
    Next I dragged the two tags from the tag browser on the left, to the right.
    For both tags I filled in a value.
    When I execute the query I get following error messages.
    M1 Order Dispatch/OrderQuantityTarget: Tag PoederMagazijn/ATS PLC/M1 Order Dispatch/OrderQuantityTarget not found.
    M1 Order Dispatch/OrderQuantityConfirmed: Tag PoederMagazijn/ATS PLC/M1 Order Dispatch/OrderQuantityConfirmed not found.
    Any other tags work fine.
    Thank you for your time.

    Hi Philippe,
    I tested a similar tag name in Kepware with the Simulator device as I do not have a Siemens hardware connection at present. I was able to read and write DWord tags without issues on these versions:
    Kepware V5.15.585.0
    MII 14.0 SP5 Patch 15
    PCo 2.305.2141.1051 (Patch 3)
    Additional question:  What is the Agent Instance Tag Query Cache Mode set for?
    Regards, Steve

  • Export in Query Ready mode not working in 11.1.2.1

    Hi,
    I have created a report with 3 grids;
    Grid 1 - populates employee information,
    Grid 2 - populates employee salary
    Grid 3 - calculation of Grid 1 and Grid 2.
    In Report I am able to see the data, but when I am using the "Export in Query Mode" option the report is exporting into Excel where as Grid 3 has NO more formulas.
    Please suggest by modifying the settings/options in Excel will resolve the issue or is it a bug?
    Thanks in advance!
    Regards,
    VA

    It is the behavior, Query ready mode will only pulls the members which are in Essbase (no FR calculated fields)
    Regards
    Celvin
    http://www.orahyplabs.com

  • Export in Query ready mode - Office 2010 not working

    Hello everyone,
    I am facing the following problem with Hyperion Financial Reporting:
    When I display a Financial Reporting report in Workspace and click on "Export in query ready mode", a new Excel session is launched with an empty sheet and nothing else happens. Eventually Internet explorer displays a message "The application hasn't started yet. Do you want to wait?" This cycle repeats forever unless I close the small IE window that popped up.
    We are using Windows 7 and Office 2010. The Smart View version is 11.1.1.3.500 (Build 008) and Workspace is version 11.1.1.3.0.956.
    Would be very grateful if anyone can help me solve this issue as this function is very useful.
    Thanks,
    Martin

    Alright,
    There is some development with this problem, but unfortunately another one arose.
    To solve the issue I had to disable the option "Protected mode" for the Internet Zone of Internet Explorer. Although the App server is on the local intranet, to launch Excel the web page uses the protocol oraclesv:// which appears to IE as "Internet" address.
    When I disabled protected mode, some of the reports started to open normally in query ready mode. Unfortunately for some other reports Excel crashes. I.e. I open the report in workspace and click "Export in Query ready mode". I see Excel open up and the cells are filled in with members, etc. but at some point Excel just crashes and restarts. This can be destructive if I am currently working in some file.
    And now the interesting part: I tried to find the reason why some of the reports are ok and some crash excel. It turned out that this depends on the amount of data in the report. For smaller reports (i.e. less than 50 rows) there is no problem, but for larger reports -> excel crashes.
    I hope this explanation is helpful for someone else, as it took me quite a while to find the problem.
    Martin

  • In-Memory Query execution mode rendering results but "both" as execution mode do not.

    Hi,
    I am facing this strange issue of fetching some rows based on my view criteria.
    I delete some rows and make them as inactive. Then I search for those rows by using filter as "inactive" rows. I get the result as expected. But then, if I enter any other filed apart from inactive condition, I do not get that record even when that record is present in the list.
    I looked out for the query execution mode for my VC based on which my rows are fetched. I found that if I keep the Query execution mode as "In-Memory" I am able to get the result but if I give the query execution mode as "Both", I do not get results even though the other factors are still same for it.
    Due to model settings, I can't use "In-Memory" as the query execution mode.
    I get the results properly after I commit my changes to DB,however.
    How can I proceed here?

    Hi,
    apparently the JDeveloper version you use does not work with "Both", which I suspect to be a bug. If you are on a latest version of JDeveloper 11g R1, JDeveloper 11g R2 or on JDeveloper 12c, please file a bug if you have access to customer support. If you are not yet on a latest version of JDeveloper, please try a newer version of your JDeveloper release.
    Frank

  • Cannot export Financial Report from HTML view to Query Ready Mode

    Hi,
    I am opening Hyperion Financial Reports in Workspace in HTML mode. On the bottom right of the report, when I click on "Export in Query Ready Mode", the report does not get transported to excel. Rather, a message flashes for a split-second and disappears. The message is "The address is not valid". Can anyone please advise as to what should I do to get the report in excel? I did notice that there is also File->Export->Excel->Fully Formatted Grids & Texts, but we want to get it in Query Ready Mode.
    Version is 11.1.1.3. Thanks for any suggestions.
    ABG

    We have resolved this issue. The problem was that Smart View installation/configuration was not complete on the machine which I used to launch report into Query Ready Mode. Once Smart View was fixed, we were able to convert report from HTML view to Query Ready Mode.
    ABG

  • FR 11.1.1.3 "export to query ready mode" option not working

    Hi All,
    We have a scenario where few users are not able to use the "export to query ready mode" option after running an FR report.
    For some reason the save dialog box doesnt open or doesnt pop up when this option is ticked.
    Note that this issue comes only on running FR Essbase reports. (for FR HFM reports it works fine)
    Does any body have any resolution to this.
    Kindly advise.

    Hi,
    Can anybody explain me the option of this *"Export in Query ready mode"*???
    Is there any document through which I can understand???
    Thanks
    Sourabh
    Edited by: CM on May 11, 2011 6:32 AM

  • FRM-40208: Form running in query-only mode. Cannot change database fields.

    Hi,
    I am using forms 6i where it is calling a form from a menu in query like call_form(,query_only). Now an error is occurring on call of that form ‘FRM-40208: Form running in query-only mode. Cannot change database fields.’ Though this is been handled to give a certain message from on_error message from a package from library.
    Now the issue is that the error keeps on popping even after the ok button is pressed. There are number of records from the table. How can we handle the error. Any suggestion would be really appreciated!!!
    Regards,
    Rajesh

    thanks Gred but i have resolved the issue. it seems that each row was going into query_only mode (program written such a way). therefore the error was showing even after the OK button. handled the issue from ON_ERROR trigger. anyway thanks for your time Gred!

  • Data entry form problem - form in query-only mode

    Hi there,
    I am trying to create an data entry form to insert recordacross 2 out of 3 tables. The last of the four tables already have details and does not need to have record inserted into.
    This is the scenario, my four tables are Factory, Employee, Works_in. Works_in resolves a many to many relationship between Factory and Employee
    Now for a person to be employed in a factory, he must be assigned to a factory.
    I have a list of factories already in the database. After choosing a factory from the database, I want to insert records to do with his Fname, Lname, Hiredate bla, bla, bla to the Employee table.
    I have a single form with Factory as the master, and 2 tabs each for Employee and Works_in.
    After linking all my tables with the ability to choose a factory first on the master form from a combo box and after inserting records into the other forms, it says form running in query-only mode.
    What do you think?
    Many thanks in advance.
    Cube60

    I think that's too much of the wrong information.
    It sounds like you have multiple forms. Are they Modal or Non-Modal?
    What code do you use to call the form that's not working?
    Does it work initially and then stop working?
    James.

  • Purchase Order form in Query only mode for some users

    Hi All,
    I want to make the Purchase Orders form as query only for a single user. I tried by giving 'Query_only=Yes' in the parameters section. I am getting 'FRM-04151: You cannot query records here' message more than 10 time. I know we get this message and this is applicable to all the users. But this message is comming more than 10 times.
    Is there anyway that I can restrict the Query only mode to a single user and please suggest about the message also.
    Thanks in Advance,
    Naresh

    Naresh,
    Since you want to achieve this for one user only, I would suggest you create a new function/menu/responsibility and assign this responsibility to the user.
    Note: 400380.1 - How To Create a QUERY-ONLY FORM
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=400380.1
    For the FRM error, please review the following document.
    Note: 116074.1 - ACCESS LEVEL - REVIEW ONLY - PO
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=116074.1
    Regards,
    Hussein

  • Called form in query only mode shows messages....

    Hi All,
    I am calling a form (say B ) in query only mode from a main form (say A) . When i query the called form B , i get 5-6 alerts (which has to be acknowledged by the user) and messages of the same error type saying :
    "FRM-40208 : Form running in query only mode . Cannot change database fields. "
    I have a 100 forms to be called from the main form A. So, I prefer not to change anything in the called forms . I tried to set message_level in the form A and code the on-error / on-message triggers to avoid the messages being shown, but nothing is working . Is there anything I can do in Form A i.e the main form ???
    Thanking you in advance.

    Since the error messages are being generated by form B, it is unlikely you will be able to fix form B problem using form A. Unfortunately, you may have to fix each of the 100 called forms.

  • How to know that a form is running in query-only mode

    I have a form that can run in query-only mode or non-query-only mode depending on the current user who logs in, and I want to change its apprearance dynamically when it's in different modes (for example, enable or disable buttons). Is there a built-in or system variable from which I know that the form is running in query-only mode or not?
    Thanks,
    Shu

    The global variable solution is what we are using now. I thought there are some unpublished built-in or system variables. In my application, there is a public "menu" form from where hundreds of forms are CALLed with some in query-only mode and some in non-query-only mode depending on the current user role. :PARAMETER.QUERY_ONLY will always be 'NO' because the "menu" form is started in non-query-only mode. But it's good to know about it.
    Thank you very much for your replies,
    Shu

  • Purchase Orders form in Query Only mode for a single user

    Hi All,
    I want to make the Purchase Orders form as query only for a single user. I tried by giving 'Query_only=Yes' in the parameters section. I am getting 'FRM-04151: You cannot query records here' message more than 10 time. I know we get this message and this is applicable to all the users. But this message is comming more than 10 times.
    Is there anyway that I can restrict the Query only mode to a single user and please suggest about the message also.
    Thanks in Advance,
    Naresh

    Please post this question here: OA Framework
    There are so many special conditions and restrictions for E-Biz Suite that this forum is not the right place to ask these questions. The Apps forum at this location is the right place.

  • Precautions to be taken while changing the Query read mode in PED system

    Dear Experts,
    I got a task to change the Query Read mode for more No. of queries in Production system directly itself.
    Request you to let me what are the steps to be followed/precautions to be taken while changing the Query Read mode in PED.
    one more doubt regarding this.....If i plan to change the Read mode of Query say Q1, how can i come to know weather the Q1 is executing or not executing by that time.
    Thanks in advance for valuable response.
    Thanks & Regards,
    Ramesh - Kumar

    Hello,
    You can change the query read mode in transaction 'RSRT', here are the steps:
    1) Access transaction RSRT and enter the query name
    2) Select the 'Properties' option
    3) Un-check the 'Info provider' setting next to the 'Read mode' --> This enables you to change the read mode of the query --> Execute
    4) Choose the option 'Generate Report' to re-generate the query program
    Hope this info helps.
    Thanks
    Bala

Maybe you are looking for