BPC 7.5 NW PERIODIC Measure returns error in new environment only

Recently we created a new BPC environment/server. This new environment has had HANA installed and is going through testing. In our testing we have incurred the following issue, but we are not sure if it is HANA related or just a result of something in the new environment not being set up correctly.
Our BPC LEGAL/Consolidations application is a YTD application. A basic EVDRE was created with Time in Column (expanded to month), and Entity, Account, Profit Center and Reporting Currency in the Row. The EVDRE is first expanded with the MEASURE set to YTD. The correct results are returned.  The MEASURE is then changed to PERIODIC and the EVDRE expanded. The result is an error - "Errors found retrieving data".
This same EVDRE opened in any of our other environments does not result in an error and returns the correct periodic results.  I have verified that the time dimension is exactly the same in the working and non-working environment. I also had the BW team verify with UJA_FORMULA_APP that the contents of the table for LEGAL/Periodic.  I had them pull out the Formulas from a working and non-working environments. It appears they are the same.
  QG1:
MEMBER [MEASURES].[PERIODIC] AS 'IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",-[MEASURES].[/CPMB/SDATA],IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",[MEASURES].[/CPMB/SDATA],IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[LEVEL02])),IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[LEVEL02])),-[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
  QG0:
MEMBER [MEASURES].[PERIODIC] AS 'IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",-[MEASURES].[/CPMB/SDATA],IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",[MEASURES].[/CPMB/SDATA],IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[LEVEL02])),IIF([%C_ACCT_FA%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[LEVEL02])),-[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
Does anyone know where else we should look? Any help would be greatly appreciated.
Thanks in advance!
Deana

Hi,
If when you launch BPC Server Manager, you do not get "Cannot connect to ABAP server", this means user BPC_SYSADMIN is connecting correctly. And assuming you had invalid RFC user in BPC Web, your issue is then only with user BPC_USER (or BPC_ADMIN if the issue is with BPC Admin client only)
If you do get that error, it means the error is for more than one user, so I would look for something big missing.
In point 1 you mention domain users, make sure in BPC Server Manager under "reset login credentials" that you do not have windows users specified there as it's a common mistake, those should be your 3 BW communication users
On BPC .Net server, if you installed SAP GUI, run an MDX_PARSER test in SM59 to check librfc32.dll is working correctly
Also quite common issue it is possible your background users have wrong authorizations; in PFCG check the roles SAP_BPC_SYSADMIN SAP_BPC_ADMIN and SAP_BPC_USER were copied to customer namespace and that the role are active (user tab should be displaying green light) and assigned to the background communication users
Also check the background users are not locked in SU01 (if they are locked the password saved on .Net server was or is not matching the real password defined on NW server)
Thanks,
Julien

Similar Messages

  • Ecatt error in production environment only

    Hi,
    I have created one E-CATT to upload booking for the course. This E-CATT is working fine in development and Quality environment.
    However, in production system its giving error 'E-CATT error ATT377 control data is obsolete, rerecord (VERBS - Name: Create Object CATT: <none> Callno: 000001)
    Please revert me why this error is occurring in production only.
    Thanks & regards
    VIJAY PATIL

    Hi,
    Please make sure that your production system has the same SAP support package levels as other systems. Otherwise, you may get this error.
    Please also check SAP note 802475.
    Regards,
    Dilek

  • Set Measure column "Aggregation Rule" to "sum" or other,return error

    when set a Measure column "Aggregation Rule" to "sum" or other,return error,as following:
    View Display Error
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 46008] Internal error: File server\Query\Optimizer\Request\Src\SQORRqList.cpp, line 285. (HY000)
    SQL Issued: SELECT s_0, s_1, s_2, s_3, s_4, s_5, s_6, s_7, s_8, s_9, s_10, s_11, s_12, s_13 FROM ( SELECT 0 s_0, "SPW_PRO"."Product"."FamilyGroupName" s_1, "SPW_PRO"."Product"."Gen4,Product" s_2, "SPW_PRO"."Product"."MajorGroupName" s_3, "SPW_PRO"."Product"."ProductName" s_4, SORTKEY("SPW_PRO"."Product"."Gen4,Product") s_5, "SPW_PRO"."SPWPRODB"."Sales" s_6, "SPW_PRO"."SPWPRODB"."Sales%" s_7, "SPW_PRO"."SPWPRODB"."产品运营天数" s_8, "SPW_PRO"."SPWPRODB"."售卖数量" s_9, REPORT_AGGREGATE("SPW_PRO"."SPWPRODB"."Sales" BY "SPW_PRO"."Product"."FamilyGroupName","SPW_PRO"."Product"."MajorGroupName") s_10, REPORT_AGGREGATE("SPW_PRO"."SPWPRODB"."Sales%" BY "SPW_PRO"."Product"."FamilyGroupName","SPW_PRO"."Product"."MajorGroupName") s_11, REPORT_AGGREGATE("SPW_PRO"."SPWPRODB"."产品运营天数" BY "SPW_PRO"."Product"."FamilyGroupName","SPW_PRO"."Product"."MajorGroupName") s_12, REPORT_MAX("SPW_PRO"."SPWPRODB"."售卖数量" BY "SPW_PRO"."Product"."FamilyGroupName","SPW_PRO"."Product"."MajorGroupName") s_13 FROM "SPW_PRO" WHERE (("Period"."Gen5,Period" IN (SELECT saw_1 FROM (SELECT "Period"."OperatingDaily" saw_0, "Period"."Gen5,Period" saw_1, "Year"."Gen2,Year" saw_2 FROM "SPW_PRO") nqw_1 )) AND ("Year"."Gen2,Year" IN (SELECT saw_2 FROM (SELECT "Period"."OperatingDaily" saw_0, "Period"."Gen5,Period" saw_1, "Year"."Gen2,Year" saw_2 FROM "SPW_PRO") nqw_1 ))) ) djm
    please help me . Thanks a lot.

    Thanks dnikiforov
    still get the
    select a.rmdept||a.rmstyl||a.rmcolr||a.rmsize||','||a.rmvatc||','||a.rmshgp||','||rmdesc||','||rmac
    ERROR at line 1:
    ORA-00904: invalid column name
    I think its a problem with trying to select on the unique, anyway I accidentally posted a couple of threads for this and it has now been resolved by
    select a.rmdept||a.rmstyl||a.rmcolr||a.rmsize||','||a.rmvatc||','||a.rmshgp||','||
    a.rmdesc||',||a.rmacod||','||a.rmcdes||','||a.rmzdes||','||a.rmsupp||','||a.rmsspr||','||a.rmlcos||','||
    c.rsbarc||','||a.rmpord||','||a.rmmrch||','||a.rmcomq||','||sum(b.rdcstk)
    from stkmas a, stkwar b, stkbar c
    where a.rmdept = c.rsdept(+)
    and a.rmstyl = c.rsstyl(+)
    and a.rmcolr = c.rscolr(+)
    and a.rmsize = c.rssize(+)
    and a.rmdept = b.rddept(+)
    and a.rmstyl = b.rdstyl(+)
    and a.rmcolr = b.rdcolr(+)
    and a.rmsize = b.rdsize(+)
    group by a.rmdept,a.rmstyl,a.rmcolr,a.rmsize,a.rmvatc,a.rmshgp,
    a.rmdesc,a.rmacod,a.rmcdes,a.rmzdes,a.rmsupp,a.rmsspr, a.rmlcos,
    c.rsbarc,a.rmpord,a.rmmrch,a.rmcomq
    as I dont need to use the unique because the sum does it for me
    Thanks again for speedy help

  • BPC 7.5NW SP8 PERIODIC APP–EVDRE TOTALS USING YTD MEASURE ARE INCORRECT

    Hello u2013
    I have 4 application sets with periodic applications in which all measures are set up exactly the same in BPC 7.5 NW SP8. Time in each of the appsets includes months, quarters, seasons and year. Measures include Periodic, QTD, STD, YTD and Rolling12. All measures work correctly with the exception of one application in which the YTD measure is summing incorrectly. This issue exists in both the DEV and PROD environments for this application.
    The Time dimension is maintained using fiscal years. The fiscal yearu2019s months run from February -> January. Time uses the same setup in all 4 appsets.
    The following steps have been taken in an attempt to fix this issue:
    1.     Verified the Time dimension hierarchy and levels are set up correctly
    2.     Cleared client cache
    3.     Deleted Time dimension .xls, .xlt and .xml files from the BW and re-processed the dimension
    4.     Ran light and full optimizations
    5.     Verified the formula in the BW for this app is the same as the formula in the other apps
    6.     Refreshed client-side dimension files
    7.     Used the How-to-guide u201CHow to Maintain Measure Dimension for BPCu201D and verified the UJA_FORMULA_APP table and UJA_API_DATA_CHECKER function module are maintained automatically and no missing entry messages exist
    8.     Deleted the PARENTH1 hierarchy from the Time dimension, processed, added the hierarchy back into the member sheet and re-processed
    9.     Updated application description and modified application
    Has anyone else had this problem? Any assistance in resolving this issue will be most appreciated.
    Thanks,
    Carrie
    YTD Measure Formula:
    MEMBER [MEASURES].[YTD] AS 'IIF([%ACCT_TRANS%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC",SUM(PERIODSTODATE([%TIME%].[LEVEL00], [%TIME%].CURRENTMEMBER),-[MEASURES].[/CPMB/SDATA]),IIF([%ACCT_TRANS%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP",SUM(PERIODSTODATE([%TIME%].[LEVEL00], [%TIME%].CURRENTMEMBER),[MEASURES].[/CPMB/SDATA]),IIF([%ACCT_TRANS%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="AST",([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[LEVEL03])),IIF([%ACCT_TRANS%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ",-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%TIME%].[LEVEL03])),-[MEASURES].[/CPMB/SDATA]))))';SOLVE_ORDER=3
    *EVDRE RESULTS     *
    MONTH         YTD     
    FY2010 FEB     128,790,195      
    FY2010 MAR     214,054,796      
    FY2010 APR     63,828,203      
    FY2010 MAY     445,898,233      
    FY2010 JUN     377,079,009      
    FY2010 JUL     288,502,058      
    FY2010 AUG     517,947,504      
    FY2010 SEP     678,612,886      
    FY2010 OCT     593,190,135      
    FY2010 NOV     879,439,971      
    FY2010 DEC     784,580,667      
    FY2010 JAN     949,300,083      
    FY2010 TOTAL     949,300,083      
    TIME DIMENSION                 
    ID     PARENTH1     LEVEL     MONTHNUM     TIMEID
    2010.FEB     2010.Q1     MONTH     1     20100100
    2010.MAR     2010.Q1     MONTH     2     20100200
    2010.APR     2010.Q1     MONTH     3     20100300
    2010.MAY     2010.Q2     MONTH     4     20100400
    2010.JUN     2010.Q2     MONTH     5     20100500
    2010.JUL     2010.Q2     MONTH     6     20100600
    2010.AUG     2010.Q3     MONTH     7     20100700
    2010.SEP     2010.Q3     MONTH     8     20100800
    2010.OCT     2010.Q3     MONTH     9     20100900
    2010.NOV     2010.Q4     MONTH     10     20101000
    2010.DEC     2010.Q4     MONTH     11     20101100
    2011.JAN     2010.Q4     MONTH     12     20101200
    2010.Q1     2010.STD1     QUARTER     3     10000001
    2010.Q2     2010.STD1     QUARTER     6     10000002
    2010.Q3     2010.STD2     QUARTER     9     10000003
    2010.Q4     2010.STD2     QUARTER     12     10000004
    2010.STD1     2010.TOTAL           6     10000005
    2010.STD2     2010.TOTAL           12     10000006
    2010.TOTAL           YEAR     12     10000007

    Hi Carrie,
    Your configuration looks OK to me. Can you provide us the output of the same EVDRE using the Periodic measure? Also, have you raised a customer message with SAP?
    Ethan

  • NI PCI-6602: semi-period measurement stops unexpectedly or returns wrong values

    Hi,
    Using an NI PCI-6602 card we try to measure the semi-periods of a digital signal.
    In "continuous sampling mode", 10 samples are collected in the buffer and then are read
    out.
    Up to 6 counters on this card are sampling the same signal in our testing configuration.
    Here we found these issues:
    1. Failure
    In principle, the measurement runs correctly, but one or more counters sporadically may
    suffer a complete failure. I.e. these counters don't provide samples anymore.
    Only after stopping and restarting the assigned task, a failed counter works again.
    Apparently, a counter failure is most likely to happen when
        - the sampled signal "changes", i.e. when the pulse width of the signal changes,
        - or when the computer load is high, e.g. when opening a window of another application.
    Every counter occasionally failed, but the issue was found very often at counter 1 of
    the PCI-6602 card, if we used counters 0 through 5 in parallel.
    Using another PCI-6602 card, the failures happened preferably on counters labeled "near"
    number 5.
    2. Wrong values
    Occasionally the "interpretation" of the sampled values changes, i.e. the length of the
    "high level" period is returned, where the "low level" period length should be given, and
    vice versa.
    This is our task configuration:
    Configuration done with MAX:
    Signal input range:    2 usec - 2 sec
    Custom Scaling:        None
    Sample mode:        continuous
    Buffer size:        10 Samples
    In addition these calls are made:
    ret = DAQmxSetDigEdgeArmStartTrigSrc( task->mHandle, <use the same terminal as is used for
    the signal to be measured>);
    ret = DAQmxSetArmStartTrigType( task->mHandle, DAQmx_Val_DigEdge);
    ret = DAQmxSetDigEdgeArmStartTrigEdge( task->mHandle, DAQmx_Val_Rising);
    ret = DAQmxSetCISemiPeriodStartingEdge( task->mHandle, <the channel>, DAQmx_Val_Falling);
    Best regards
    Manfred

    Hi Manfred7,
    did you already test this behaviour with a simple example from us?
    Just go through the example database and try the examples there.
    These examples should work. 
    If it works, there is a problem with your programm.
    If it won't work, please tell me more about your software:
    - Version
    - DAQmx Version ,...
    best regards
    Dippi 

  • -10920 error when executing buffered period measurements on a PCI 6602 timer.

    I frequently encounter the -10920 NI-DAQ error when I run the C code for single buffered data period measurement .
    The error message is "One or more data points may have been lost during buffered period measurements due to speed limitations of the system". I am unable to resolve this error. I have a Win2K environment and am using VC++ to compile and execute the code. Please help.

    When doing buffered period measurements, the rate at which you can transfer data from the counter is system dependant. To try to get around this there are two things you can try. The first is to set the 'number of counts to read at a time' to a greater number. This way, the 6602 board will use less calls across the PCI bus. If possible, try to limit the number of pulses coming in on the gate that you are using to latch the counts, though in many applications this is not possible.
    Make sure that you minimize the PCI bus activity on your computer. This includes, video activity and any network activity along with anything else that is connected to the PCI bus.
    Brian

  • Doing Data acq. and buffered period measurement using counters simultaneously, gives an buffer overflow error

    Iam doing Data acquisition using NI-PXI 4472 and buffered period Measurement using NI-PXI 6602 simultaneously,my program gives an buffer overflow error

    murali_vml,
    There are two common buffer overflow and overwrite errors.
    Overflow error -10845 occurs when the NI-DAQ driver cannot read data from the DAQ device's FIFO buffer fast enough to keep up with the acquired data as it flows to the buffer (i.e., the FIFO buffer overflows before all the original data can be read from it). This is usually due to limitations of your computer system, most commonly the result of slow processor speeds (< 200 MHz) in conjunction with PCMCIA DAQ boards, which have small FIFO buffers (e.g., the DAQCard-500). Sometimes using a DAQCard with a larger FIFO can solve the problem, but a better solution is to lower the acquisition rate or move to a faster system. Another cause of the -10845 error could be due to an interrupt-driven
    acquisition. For example, PCMCIA bus does not support Direct Memory Access (DMA). If the system is tied up processing another interrupt (like performing a screen refresh or responding to a mouse movement) when it is time to move data from the board, then that data may get overwritten.
    Overwrite error -10846 occurs when the data in the software buffer that you created for an analog input operation gets overwritten by new data before you can retrieve the existing data from the buffer. This problem can be solved by adjusting the parameters of your data acquisition, such as the lowering the scan rate, increasing the buffer size, and/or increasing the number of scans to read from the buffer on each buffer read. Additionally, performing less processing in the loop can help avoid the -10846 error.
    See the NI-DAQ Function Reference Manual for a listing of all NI-DAQ error codes.
    Have a great day.

  • BPC 75NW YTD / Periodic Measure query

    The Application is currently set to YTD. The Inputs are therefore done on YTD level for Costs. Headcount is a statistical account with AST account type, so YTD/Periodic measures become irrelevent.
    Now, What I need is Periodic Costs  Divided by HC to get Cost/HC (Cost_HC_Centre) and this is the script that I am running:
    *SELECT (%BUS%, "[ID]", BUSAREA, "[CALCULATION]=Y")
    *FOR %YEAR%=2011,2012
    *FOR %MONTH%=JAN,FEB,MAR,APR,MAY,JUN,JUL
    *FOR %BA%=%BUS%
    *RUNALLOCATION
    *FACTOR=1/USING
    *DIM CATEGORY WHAT=ACTUAL; WHERE=<<<; USING=<<<
    *DIM TIME WHAT=%YEAR%.%MONTH%; WHERE=<<<; USING=<<<
    *DIM DATASRC WHAT=INPUT; WHERE=<<<; USING=<<<
    *DIM FLOW WHAT=F_999; WHERE=<<<; USING=<<<
    *DIM CURRENCY WHAT=INR; WHERE=<<<; USING=<<<
    *DIM COSTCENTER WHAT=[BUSAREA]="ADM_%BA%"; WHERE=<<<; USING=NO_COSTCENTER
    *DIM PROCESS WHAT=NO_IO; WHERE=<<<; USING=BAS(%BA%)
    *DIM ACCOUNT WHAT=BAS(Salary_and_Benefits); WHERE=Cost_HC_Centre; USING=HC
    *ENDALLOCATION
    *COMMIT
    *NEXT
    *NEXT
    *NEXT
    By doing so, it is calculating it as YTD Cost / HC where I need Periodic Cost / HC
    Please let me know how can I achieve the same.
    Thanks.

    Is measure formula for PERIODIC working as expected ?If not ,you might need to calculate periodic values and store in PERIODIC  measure . and then use periodic measure in the logic.

  • AuditActivityReport  returned error message

    Hi!
    i'd like to get Audit Activity Report, but return error message "An error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for data set 'ActivityData'. (rsErrorExecutingCommand)
    For more information about this error navigate to the report server on the local server machine, or enable remote errors "
    this problem in BPC 5.1 MS, SQL 2003
    thanks
    Arai

    thanks
    i solved this problem. mistake was in string connection for OsoftDataAudit

  • DCM BitLocker protection assigned configuration baseline return ERROR in the compliance state

    Hello,
    Here is the situation: I Installed MBAM 2.5 and done the integration with SCCM 20012 R2. Modified the GPO for the targeted clients.
    Encryption started, DCM policies ran and Reports on SCCM server (after a long period), it returned compliances of my tests computers. I have removed and reinstalled SCCM integration. NOW, the SCCM clients are returning Configuration Baselines error
    when the evaluate, (NOT Non-Compliant). It was running fine before.
    here is a sample of my DcmWmiProvider.log:
    ScriptProvider::ReadDiscoveryInformation - ScriptType: 1 ScriptProvider 2015-01-26 11:39:44 2832 (0x0B10)
    ScriptProvider::CreateInstanceEnumAsync - Script Execution Returned :1, Error Message:(null) ScriptProvider 2015-01-26 11:39:44 2832 (0x0B10)
    Failed in discovering instance.
    Incorrect function. (Error: 80070001; Source: Windows) ScriptProvider 2015-01-26 11:39:44 2832 (0x0B10)
    Failed to do HandleExecQueryAsync().
    Incorrect function. (Error: 80070001; Source: Windows) ScriptProvider 2015-01-26 11:39:44 2832 (0x0B10)
    Failed to process CScriptProvider::GExecQueryAsync.
    Incorrect function. (Error: 80070001; Source: Windows) ScriptProvider 2015-01-26 11:39:44 2832 (0x0B10)
    ScriptProvider::ReadDiscoveryInformation - reading discovery script definition ScriptProvider 2015-01-26 11:39:44 2832 (0x0B10)
    ScriptProvider::ReadDiscoveryInformation - ScriptType: 1 ScriptProvider 2015-01-26 11:39:44 2832 (0x0B10)
    You can see that the script is generating an error with an incorrect function. This is weird! That script was working correctly before. I don't even know where this script is located on the SCCM server.
    Anyone can help me with this problem?
    Big Air

    Hi!
    I think I found the root cause of this problem. I'm not 100% sure, but the
    Configuration baseline ID that the client receive is reuse in the policy after uninstalling and reinstalling the MBAM Integration. The client can't find it on the configuration point, since it acquired a new AssignmentID when fetching the policies
    and reevaluating the Configuration Base line.
    Here how I fixed this:
    I have exported using the Export function on the two Configuration Items named
    BitLocker Operating System Drive Protection, BitLocker Fixed Data Drives Protection,
    then created a new Configuration Baseline and imported the two Configurations Items. Deployed to the targeted collection. It work on first try. I also disabled the faulty one. You can also delete it, since it's useless. Now everything is all aligned
    and working.
    Hope someone can confirm this hypothesis or have a more elegant solution?
    Thanks!
    Big Air

  • DAQmx period measurement- buffer is cut when frequency is too high

    Hello,
    I'm using the DAQmx period measurement in order to measure a low frequency pulses. Even though the average frequency is low I still sometime get two pulses that arrive within a short time . When that happens I get  an error message and the buffer is cut. I'm wondering if there is any way to ignore one of the pulses (in the case that the pulse arrives at a time that is too short for the program to read) and for the measurement to keep running until the buffer is full??
    Thank you ,
    Shafran

    Hi all, thanks for your help.
    I'll give more details:
    1. I'm using PCI-6602
    2. The error code number I'm getting is:  200141       Possible reason(s):
                                                                                         Data was overwritten before it could be read by the system.
    3. I'm measuring photon emission from biological samples where each photon is converted to a pulse of a 35.2 ns width. I can control the concentration of the sample and therefore the average frequency of the pulses. I have started with an average intensity of 100 kHz and I went down to 10kHz. My final goal is to run the period measurement program in loops where I decide the buffer size so each loop will take approximately 10 seconds. The problem is that even if one out of all the buffers is cut all my calculations after that are wrong. A filter sounds like the perfect solution for my problem (I need to find out more about that option).
    4. I have checked the limitations of the program and I know that it can't measure pulses that arrive at a higher frequency than a few MHz, therefore I assume that even at an average frequency of 10kHz I still get some pulses that arrive within a frequency of a few MHz.
    Thanks again for all your help. I hope I didn't bore you with to many details...
    Shafran    

  • Continous period, overwritte​n error

    I am working for a project to counting every photon for about 10 seconds.
    I used the pci-6602 and a computer with a 2.8Ghz Core i5-2300 CPU and a 16GB RAM.
    The software is Measure studio 2010 SP1 and NI DAQmx 9.5.
    But there will be an error:
    Data was overwritten before it could be read by the system.
    If Data Transfer Mechanism is Interrupts, try using DMA. Otherwise, divide the input signal before taking the measurement.
    For average 300kHz input signal, the error appeared immediately, but for average 1kHz input signal, the error still appeared after 3-5 seconds.
    Here is my setting:
    myTask.CIChannels.CreatePeriodChannel(counterCombo​Box.Text, "",
                        Convert.ToDouble(minValueTextBox.Text),
                        Convert.ToDouble(maxValueTextBox.Text), edge,
                        CIPeriodMeasurementMethod.LowFrequencyOneCounter, 0.001, 4, CIPeriodUnits.Seconds);
            myTask.Timing.ConfigureImplicit(SampleQuantityMod​e.ContinuousSamples, 100000);
            myTask.CIChannels.All.DataTransferMechanism = CIDataTransferMechanism.Dma;
            myTask.CIChannels.All.DuplicateCountPrevention = false;
            myTask.Stream.ReadWaitMode = ReadWaitMode.Poll;
            myTask.Stream.ConfigureInputBuffer(1000000);
    I tried many solutions and changed many setting, but the result didn’t changed.
    I heard that the on board memory of pci6602 is small, but for 1kHz signal it still can’t work.
    Please help me to solve this problem.
    Thanks very much.

    1. The basic idea is that instead of measuring the period between each individual photon detector pulse, you simply count the # of pulses occurring within a fixed interval.  The fixed interval would be a constant rate sample clock and you could use another counter to create it.  You may need to look into the "Duplicate Count Prevention" property because you will want to capture the many intervals in which 0 pulses occur.
    2. Impossible for me to judge what resolution or format you need for your data.  In general, count-binning will give you a measurement of average photon activity per sampling interval.  If you get 10 counts in 1 msec, you'll only be able to see that as an *average* of 10 kHz.  Reality may be 10 pulses at > 100 kHz and a lot of idle time.
      Freq or Period measurement on individual pulses gives you much more information about photon activity and you can also do some binning-like averaging after the fact.  But the occasional fast bursts may cause a data acq error.  The high precision trades off against the chance of losing all the data due to a data acq error.
    If it was me, I'd lobby for a more suitable data acq board like an X-series and measure individual pulses.  But it may be that your particular experiments & studies don't demand that precision, in which case binning is a method that should work with the data acq board you've already got.
    -Kevin P

  • Shell Script: Timeout and return error if Sqlplus hangs

    Shell Script: Timeout and return error if Sqlplus hangs
    Dear all,
    This morning, our production database hung with lots of ORA-600 and 7445. The issue has been escalated to Oracle Tech support but my monitoring script which tries to make a connection every 5 mins to the database to see if its up, did not alert me. The reason is that, it connected to the database and hung, never came out to report an error and so I never got alerted until a user called me.
    Can any one tell me how I can exit from the sqlplus block if I dont get a response in x seconds? This sqlplus block is being called with in a shell script.
    Any help is highly apprciated.

    I don't know of anything built into any shell scripting language that would do this, no. I'm not a Perl programmer, but I have a vague recollection that Perl may have something useful here.
    From the "separate thread" part of my comment, though, you could certainly spawn a separate thread (thread 2), have thread 2 wait a period of time, then look for a message from thread 1 and throw an error if the message hadn't been sent. I don't know that I'd be for writing multi-threaded shell scripts, though. The heartbeat also gives you a layer of redundancy so that something is monitoring the monitor in case that process stops working.
    Justin

  • Returning Errors from a webservice using XMLBeans

    I have a webservice that accepts XML as input and output parameters, and I'm using XMLBeans to handle this. I'm trying to work out how I can return error information from the webservice, so I created an Exception.xsd schema and 'include' it in the output XML Schema, so an exception xml element is valid in the output schema. The problem is, the XMLBean class generated from the output XML schema has no methods that allow me to create an Exception element. Is there some other way of handling the return of exceptions from webservices using XML?

    The answer is just throw a SoapFaultException and put the exception.xsd XMLBean in the FaultDetail section of the SoapFaultException.

  • Bug Report - DB toolkit returns error when calling the DefaultDatabase property with SQLite

    There's an old bug in the DB toolkit where calling the DefaultDatabase property returns error -2147217887 if you're using certain DBs (such as SQLite or PostgreSQL and I believe MySQL as well).
    The problem is that this property is called by a VI which is used in some of the commonly used VIs (such as the insert VI),
    causing them to fail. Whoever wrote the code was aware of this issue,
    since they added a comment about it, as you can see below.
    The immediate fix for this is pretty easy -  add code to ignore the error or don't call the property at all. It's not used anywhere in the toolkit and unless you're using the VI yourself to get the property, this won't break any code. The problem with this is that you need to do this in every PC.
    NI already has a CAR for this (CAR 232063) and should hopefully fix it, so there's no need to take further action at the moment. This post is for people searching for this in the future.
    Try to take over the world!

    Interesting. I have seen this before but it returned a different error code. (Error -2147352567)
    =====================
    LabVIEW 2012

Maybe you are looking for

  • Calculating Opening & Closing Balances

    Hi Experts. I want to know how to calculate Opening & closing Balances of stock Like MB5B transaction using reports. I am giving Material N0, Posting date,Plant as Input & want to extract Material Document Number, Quantity, Issues & receipts seperate

  • Selection in data load from infoprovider

    Hi Guys, In BPC NW 7.5 we have to load data from infoprovider allowing users to select data (like for dimension TIME) by BPC prompt.  We found two solutions solving partially our problem. In fact, users have to modify manually the selections. SOLUTIO

  • Table for Customer stock in Quality inspection

    Hi In which Table the following is stored For current month Customer stock in Quality inspection Unrestricted use Consignment Stock For previous month Customer stock in Quality inspection Unrestricted use Consignment Stock Thanks RG

  • Bad performance when using  complex database view with Toplink

    Hi Problem description 1. I have a complex query that collects the data from many DB tables. For this reason I create a database view based on this select. Using EJB 3.0 with Toplink I mapped this view to a java object the same way I map database tab

  • Problem loading desktop software to my computer..​.

    smkranz I am a volunteer, and not an HP employee. Palm OS ∙ webOS ∙ Android