Multiple count ifs

I had an Excel spreadsheet with a bunch of columns to track calls I do. on another worksheet I used pivot tables to track some call statistics that used information from multiple columns (there is a month column and a call-type column and i tracked the type of calls per months).
since from what i can tell Numbers doesn't do Pivot tables i thought that i could use countif as a replacement. this is easy for using the content from one column but i wondered if there is a way to have multiple countif's in one formula that span the content of two columns?

yes, it can be done, but you would not want to use the headers option in numbers. I don't think you can reference them in equations. I will have to check when I get back home. (Again, this is off the top of my head, in theory it should work)...
If cells B1:B10 have the months and A2:a10 have your type listing, then your countif will look something like this
Cell B3=countif(DataSheet::C1:C100,"=" & b$1 & $a2)
Notice the use of absolute referencing done only to one element of the references, not both. So that when the formula is filled to the right, the first B$1 is allowed to increment up to C$1 and D$1, but the $a2 would remain unchanged, and vice versa for filling down as well.
Jason

Similar Messages

  • Problem with multiple counter plan containing running hrs and no of months

    Hey gurus,
    In my project the preventive maintenance of compressor is such that it is performed after 500 hrs or 6 months whichever comes first. Now i ve created a cycle set cosisting of 500 hrs and 6 months. In the multiple counter plan i ve assigned a counter to the plan for calculating 500 hrs and chosen the link as OR. I scheduled the plan and given the start date as 01.05.09. Now I am facing the following problem:
    Suppose my counter value reaches the 500 mark on 01.08.09. Now a maintenance order is generated. My client now wants that the next order should be generated after the counter reading reaches 1000 or the date reaches 01.02.10, ie, the order should be generated for next 500hrs or NEXT 6 MONTHS from
    the date of completion of first cycle, whichever comes first.
    Pls help....
    Regards,
    Abhishek

    Hi
    If u have scheduled ur plan according to cycle set. It will take the Point of contact as 6 months.
    OK
    Ex : Cycle set : 500 hrs and 6 months, maintained OR functions
    i have entered the measurement reading as 500.. thats why, it gives the call for todays date...
    see the next date will be after 6 months... If u update the measuring point only, it will open a order... otherwise.. once u have scheduled it for 6 months.. once in 6 months it will give a order...
    1     11.05.2009               0     New start  Save to call
    2     07.11.2009     07.11.2009          0     Scheduled  Hold
    3     06.05.2010     06.05.2010          0     Scheduled  Hold
    4     02.11.2010     02.11.2010          0     Scheduled  Hold
    5     01.05.2011     01.05.2011          0     Scheduled  Hold
    6     28.10.2011     28.10.2011          0     Scheduled  Hold
    7     25.04.2012     25.04.2012          0     Scheduled  Hold
    Schedule for a long period.. u will be able to understand the scenario...
    - Pithan

  • Getting run time error for multiple counter plan

    Hi Friends,
    Its very critical issue,wherein i am getting run time error for multiple counter plan.
    Explanation:While try to change the Call horizon or scheduling period of the counter based plan through IP42 or IP15,systam allowing me to change the data but while saving also i am getting "Maintenance plan has changed" message and once come to the back of the transaction instantly i am getting pop up window saying that "Express document get terminated".However we have been maintaining copy of this data in another client wherein we are not getting any Run time error.
    Please find the screen shots for your reference and please let me know how to fix the issue.
    Regards,
    Srinika

    Hi,
         Please check reason for update termination in Transaction code SM13.

  • First time scheduling using IP30 for Multiple Counter plan

    Hi,
    I created a multiple counter plan with Cycle set as 6months/ 300 Operations.
    I intend to start the job early and updated the Planned Counter date as  1st Sep 2014.I maintained Lead Float as 10 days.
    When I run IP10, call is generated successfully. But when I execute IP30, no call is generated.
    We have not activated enhanced functionality of Multiple Counter plans.
    I checked all the parameters and everything seemd to be fine. In IP30, I checked the check boxes - Rescheduling & Immediate start of all.
    In the field, Interval for Call Objects, I ran with blank value, 30 days value. But in both the cases, call is not generated.
    I want to generate calls using IP30 only as there are lot of multiple counter plans. Can anybody suggest a solution to this issue?

    Hello
    As you intended to use cycle set functionality please activate enhanced functionality of Multiple Counter plans
    Br
    Rakesh

  • Query to display multiple counts in the result

    Hi,
    I need to be able to display multiple counts for different items in the single result set:
    Here is the simplified schema:
    I have 2 tables:
    STATEMENT table:
    ===============
    statement_pk number,
    department varchar2(20)
    STATEMENT_INFO table:
    ===================
    statement_info_pk number,
    statement_fk number
    is_statement_done varchar2(1)
    is_statement_locked varchar2(1)
    I need to display counts of how many records where done and how records where locked in the
    single output:
    Statement_PK Department NumberOfStatementsDone# NumberofStatementsLocked#
    1          ABC_dept          3                    5
    2          DEF_dept          4                    8
    3          XYZ_dept          7                    2
    The following does not work:
    SELECT
    s.statement_pk,
    s.department,
    COUNT(r.statement_info_pk ) NumberOfStatementsDone# ,
    COUNT(rr.statement_info_pk ) NumberOfStatementsLocked#
    FROM STATEMENT s ,
    STATEMENT_INFO r,
    STATEMENT_INFO rr
    WHERE
         s.statement_pk = r.statement_fk
         AND     s.statement_pk = rr.statement_fk
         AND      is_statement_done = 'Y'      AND rr.is_statement_locked = 'Y'
    GROUP BY statement_pk, s.department
    I was trying to work with analytic function but could not figured it out either.
    Please help
    Thanks,
    Ia.

    this would be something like:
    SQL> r
      1  select statement_pk,
      2         department,
      3         sum(decode(is_statement_done, 'Y', 1, 0)) statement_done,
      4         sum(decode(is_statement_locked, 'Y', 1, 0)) statement_locked
      5  from   statement_info,
      6         statement
      7  where  statement_fk = statement_pk
      8* group by statement_pk, department
    STATEMENT_PK DEPARTMENT           STATEMENT_DONE STATEMENT_LOCKED
               1 ABC_dept                          4                1
               2 DEF_dept                          6                2
               3 XYZ_dept                          1                2
    SQL> Message was edited by:
    Leo Mannhart
    Craig you were faster

  • Counter base maintenance and multiple counter maintenance

    Hi
    With refering to the counter base order generated in the system, i have confused.
    We have the plans 100, 200, 300 to max 2000 Hours. The task lists are assigned. The maintenance plan annual estimate is 4000 Hours (i dont know why its required if the measurment documents are in use) ..
    The system is regularely generating the orders eventhough we have measurement docuements upto 300 Hours. Last week we have no measurement updates.
    Can you give me the logic, functionality of the performance maintennace. I have read SAP help which is not explaining in practical manner.
    Also how to work for multiple counter maintenance. We have to do for DAY (30 Days, 60 days. 180, 360 Days) Wise or Hour wise (300, 900, 1500, 3500, 7000 Hours maintenance. Can you tell me how to work for this on single maintennace plan..since our equipment also only one.

    Hi,
    This appears to be a typical multiple counter plan situation consisting of performance based and time based elements. The performance cycles are based on operating hours and time is the elapsed days.
    The relevant section of SAP Help is - [here|http://help.sap.com/saphelp_erp60_sp/helpdata/en/d8/e06a1f7e9c144fbb3a3ed0c38bc38a/frameset.htm]
    See point 3-Scheduled date calculation. In particular:
    The annual performance recorded for the counters and the most up-to-date counter reading are used to calculate the corresponding planned date.
    Annual Estimate is used to calculated planned date meaning that calls can occur before the actual counter readings are reached.
    -Paul

  • Multiple count query

    I'm trying to write a function to compare two different counts.
    I have patient on multiple drugs...some drugs are allergy drugs and at least one allergy drug must be marked as primary.
    select count(drug_role) as vAllergyCount, count(primary_flag) as PF, ap.patient_id
    from ae_all_drugs aed, ae_patient ap
    where drug_role = 'Allergy'
    and aed.patient_id = ap.patient_id
    and ap.patient_id like '2012%'
    group by ap.patient_id,primary_flag
    order by ap.patient_id
    when grouped by patient id and primary flag I would receive a record like this:
    VAlllergyCount | PF | patient_id
    1 | 0 | 2012AB1
    3 | 1 | 2012AB1
    If i only group by patient_id I get this (which is what I want):
    VAlllergyCount | PF| patient_id
    4 | 1 | 2012AB1
    But if I try to compare the two:
    IF vAllergyCount > 1 and PF = 1 THEN 'SUCCESS' ELSIF 'FAIL'
    I receive the error message "exact fetch returns more than requested number of rows" becuase the results are really my first query.
    Can anyone help me re-write my query to compare the values?
    P.S. I'm very new to this and this forum and I apologize for not inserting code tags. I don't know how.

    Hi,
    979105 wrote:
    Thank you for your hlep.
    I need to write a function because the SQL query is going to be used as an edit check for another program. So yes, it will have to worth my time.
    You are correct. I have a patient on multiple drugs. I want to know if there is at least one allergy drug (drug_role) > 1 if there is at least ONE primary allergy drug.
    I did initially write my function with the patient_id as an input value. Why would I not need the vAllergyCount or the pf if that is an argument?If all you want to know is 'SUCCESS' or 'FAIL', then write a query that produces 'SUCCESS' or 'FAIL'. Inside the query, it may be handy to have something like vAllergyCount or pf, but that doesn't mean that they will be returned by the query, or that you need PL/SQL variables for them.
    Here's my original function:That's a PROCEDURE, not a function. Sometimes, people use the word "procedure" lossely, to mean any kind of stored code, including functions, but never the other way around.
    \Don't forget to put another \ tag at the end of the formatted section.
    \ tags are supposed to occur in pairs. If you have an odd number of \ tags, the last one has no effect, and is displayed as regular text.
    PROCEDURE COUNT_ALLERGY_MED (
         ivPatient_ID IN VARCHAR2,
         ovErrorText          OUT     VARCHAR2 )
    IS
         vCase_ID          VARCHAR2 (25);
         vSusCount           NUMBER (3);
         vSuspectMed          VARCHAR2 (1);
         --vPrimaryFlag     VARCHAR2(1);
    cursor c1 is
         select count(*) as vSusCount
         from ae_suspect_drugs aed
         where drug_role = 'S'
         and aed.case_id = ivCase_ID
         --group by ivcase_id;
    BEGIN
    open c1;
    fetch c1 into vSusCount;
    close c1;
    IF vSusCount < 1 /*AND vPrimaryFlag IS NULL*/ THEN
         ovErrorText := 'Suspect Drug Count is less than 1' || 'SusCount: ' || vSusCount;
         ELSIF vSusCount = 1 /*AND vPrimaryFlag IS NULL*/ THEN
         ovErrorText := 'Suspect Drug count is equal to 1' || 'SusCount: ' || vSusCount;
         ELSIF vSusCount > 1 /*AND vPrimaryFlag IS NULL*/ THEN
         ovErrorText := 'Suspect Drug count is greater than 1 ' || 'SusCount: ' || vSusCount;
         ELSE
         ovErrorText := 'All criteria met';
    END IF;
    END COUNT_SUSPECT_MED;It seems like it would be more convenient to have a FUNCTION, rather than a PROCEDURE; that way you could call the function directly in a SQL statement (e.g., in the WHERE clause of a query or DML statement) as well as in PL/SQL.
    The procedure you posted seems to be quite a bit differetn from the problem you asked eariler.
    Here's one way you might write a fucntion for the earlier problem:CREATE OR REPLACE FUNCTION count_allergy_med
    ( ivPatient_ID IN VARCHAR2
    RETURN VARCHAR2
    IS
    return_str VARCHAR2 (50);          -- To be returned
    BEGIN
    SELECT CASE
         WHEN COUNT (drug_role) > 1
              AND COUNT (primary_flag) = 1
              THEN 'SUCCESS'
              ELSE 'FAIL'
         END     
    INTO return_str
    FROM ae_all_drugs     aed
    ,      ae_patient           ap
    WHERE drug_role          = 'Allergy'
    AND     aed.patient_id      = ap.patient_id
    AND     ap.patient_id     = ivPatient_ID;
    RETURN return_str;
    END count_allergy_med;
    Notice that there are no columns in the result set, nor variables in the function, that correspond to vAllergyCount or pf.
    The function above returns 1 of 2 possible values.  You couold just as well write a function that had 4 possible outcomes, or 4 basic results, each containing a variable number, such asSuspect Drug Count is less than 1. SusCount: 0
    I'm not sure why you would want such as result, since 0 is the only possible count that is less than 1, but it's easy enough to produce results like that if you really want them.
    Once again, if you'd like help, post a clear example of what you want.  Include CREATE TABLE and INSERT statements for some sample data.  Post some code where you might use the function that you're thinking of.  Give a couple of different arguments for that functuion, and the results you would want for each argument given the same sample data.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • 6602 Multiple Counter Output

    Hi
    I would like to output a counter signal on all eight of my outputs on the PCI6602.  These outputs have to be able to be stopped individually.  How do I do this in labview 8.

    Hi Chris,
    There is a great shipping example that comes with DAQmx named "Gen Dig Pulse Train-Continuous.vi" which will do what you are looking for on a single counter.  To get to this, go to the NI Example Finder and browse to Hardware Input and Output>>DAQmx>>Generating Digital Pulses.
    To expand this to all 8 counters on your 6602 there are 2 options:
    The easiest way is to copy the code 7 times, to have a total of 8 seperate counter tasks, with 8 parallel while loops that all poll for a stop condition.  Although not the prettiest, this should be very easy to create starting from the example mentioned above.
    A sleeker way to accomplish this is to reuse the same DAQmx code inside of auto-indexed for loops.  Attached is a modified version of the original example that should work for all 8 counters, and give you individual control of all of them.
    Hopefully this helps you get up and running!
    Have a great day!
    Travis W
    Attachments:
    Gen Dig Pulse Train-Continuous - Multiple Counters - Individual Control.vi ‏44 KB

  • Multiple counter input using NI 6602

    I am using NI-DAQmx to write a VI  that will read 10 pwm measurements using 10 counters on 2 NI 6602 PCI interfaces.  It is my understanding that I must create a task for each respective counter.  I have attempted to implement a for loop to accomplish this, as shown in attached VI draft.  As it stands the VI will not write any data to file.  I suspect there are multiple errors in the VI.  I would ask if anyone could take a look at the attached VI and perhaps provide some insight?
    Saul LaCoursiere
    Attachments:
    MelexisMODdraft2.vi ‏41 KB

    Hi Saul,
    It looks like you had a subVI "Create Header" which needs to be included to run, so I deleted all of the report related code.  The Counter portion ran fine.  If you can't get the report generation portion to work, you may want to simplify your code (for example start with a single counter task) and build up from there.
    Please repost if you have further questions.
    Thanks,
    Luke
    Applications Engineer
    National Instruments

  • To retrieve the Multiple Count of Records for Multiple types

    Hi Can some one help me in this:
    I have a talbe (MyTable) in which a column(Column 1) will have values as (Value1, Value2 , Value3, Value4 and Value5) for Multiple Records .
    I need to write a query which can give me the count of All the existing Records with the values(Value1, Value2 , Value3, Value4 and Value5) by a Single Query.The Resulting Table should have the Columns as :(Value1, Value2 , Value3, Value4 and Value5) with the Corresponding Counts in the Table.
    Thanks in Advance,
    vijay kumar k.
    Plz help me asap as it is very much linked with my Work..

    Hello
    Well, it always helps if you can post a create table statement, some test data, and the result you are expecting....it doesn't take long and you'll be much more likely to get a quick response from someone who has some time in between things that very much related to their work...
    create table dt_test_values(col1 varchar2(10))
    insert into dt_test_values values('value1')
    insert into dt_test_values values('value1')
    insert into dt_test_values values('value2')
    insert into dt_test_values values('value2')
    insert into dt_test_values values('value2')
    insert into dt_test_values values('value3')
    insert into dt_test_values values('value3')
    insert into dt_test_values values('value4')
    insert into dt_test_values values('value4')
    insert into dt_test_values values('value4')
    insert into dt_test_values values('value4')
    insert into dt_test_values values('value5')
    insert into dt_test_values values('value5')
    insert into dt_test_values values('value6')
    insert into dt_test_values values('value7')
    insert into dt_test_values values('value7')
    SQL> SELECT
      2     SUM(DECODE(col1,'value1', 1, 0)) value1,
      3     SUM(DECODE(col1,'value2', 1, 0)) value2,
      4     SUM(DECODE(col1,'value3', 1, 0)) value3,
      5     SUM(DECODE(col1,'value4', 1, 0)) value4,
      6     SUM(DECODE(col1,'value5', 1, 0)) value5,
      7     SUM(DECODE(col1,'value6', 1, 0)) value6,
      8     SUM(DECODE(col1,'value7', 1, 0)) value7,
      9     SUM(DECODE(col1,'value8', 1, 0)) value8
    10  FROM
    11     dt_test_values
    12  /
       VALUE1    VALUE2    VALUE3    VALUE4    VALUE5    VALUE6    VALUE7    VALUE8
            2         3         2         4         2         1         2         0HTH
    David

  • Multiple counts in a single statement

    Hi,
    I am trying to get a total count of the number of employees in departments as well as the total numbers in specific salary ranges and display it all in one set of results.
    Here is the code I have so far:
    select distinct e.department_id,
    ct1.subct+ct2.subct+ct3.subct+ct4.subct total_num,
    ct1.subct,
    ct2.subct,
    ct3.subct,
    ct4.subct
    from employee e,
    (select department_id, count(department_id) subct from employee where salary < 1500 group by department_id) ct1,
    (select department_id, count(department_id) subct from employee where salary >= 1500 and salary <=2499 group by department_id) ct2,
    (select department_id, count(department_id) subct from employee where salary >= 2500 and salary <=3499 group by department_id) ct3,
    (select department_id, count(department_id) subct from employee where salary >= 3500 group by department_id) ct4
    where e.department_id=ct1.department_id
    and e.department_id=ct2.department_id
    and e.department_id=ct3.department_id
    and e.department_id=ct4.department_id
    The problem with this code is that it only displays departments which have at least one employee in each of the salary ranges in the results. This is because of the join statements, I know, but is there any way around it?
    I know there are some alternative approaches altogether to this problem, using the likes of ROLLUP and so on, but I would like to do it using essentially a similar method to my code above, if that is in fact possible.
    Any assistance would be appreciated!

    Can yu use ROLLUP..?
    SQL> select d.deptno,case when sal < 1500 then 'Low'
      2                       when sal between 1500 and 3000 then 'Medium'
      3                       when sal is null then 'No emp'
      4                       else 'High'
      5                   end sal_range,count(empno)
      6  from dept d,emp e
      7  where d.deptno = e.deptno(+)
      8  group by rollup(d.deptno,case when sal < 1500 then 'Low'
      9                       when sal between 1500 and 3000 then 'Medium'
    10                       when sal is null then 'No emp'
    11                       else 'High'
    12                   end);
        DEPTNO SAL_RA COUNT(EMPNO)
            10 Low               1
            10 High              1
            10 Medium            2
            10                   4
            20 Low               2
            20 Medium            3
            20                   5
            30 Low               3
            30 Medium            3
            30                   6
            40 No emp            0
        DEPTNO SAL_RA COUNT(EMPNO)
            40                   0
            45 No emp            0
            45                   0
                                15
    15 rows selected.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Report with multiple COUNT columns with counts from same table

    I am new to discoverer so I am a bit lost.
    I am working to create a report to show usage data from the eBusiness Knowledge Base. I have the query written in SQL using subqueries that is in the format:
    Solution Number | Soultion Title | Solution Views | Positive Feedback | Negative Feedback
    12345 ___________ Title ________ 345 ____________ 98 _______________ 34
    The 'Views', 'Positive' and 'Negative' entries are stored in the same table so i am doing a count where setid=setid and usedtype=VS, then counting where usedtype=PF and usedtype=NF
    In discoverer I can get the solution number, title and ONE of the totals but I can't seem to figure out how to get a COUNT for three different things from the same table in columns on the same row.
    When I go to edit sheet -> select items once I select the COUNT option for the UsedType column in the table CS_KB_SET_USED_HISTS I can't select it again. I also have found now way to add a column based on an entered query.
    If anyone could help it would be much appreciated.
    Thanks
    Edited by: Toolman21 on Dec 2, 2010 2:17 PM
    added ______ to correct spacing.

    Hi,
    You can separate the column by using a case or decode.
    for example create 2 calculations:
    case
    when usedtype='PF'
    then <you original column> --- the one contain them both
    else 0
    end
    case
    when usedtype='NF'
    then <you original column> --- the one contain them both
    else 0
    end
    after that you can create the count aggregation over those.
    Tamir

  • How to store multiple counts based on creation date

    Hi,
    I want to retrieve the count of number of risk  for each date and render it on line graph. I am retrieving data from sharepoint list where the number of risk counts increase with its creation and decreases after it is closure which maintained in another
    column. Like if a risk is created on 02/02/2015 and closes on 03/03/2015 and an another risk is created on 17/02/2015  and closes on 14/03/2015. Then the count of the risk from 02/02/2015 to 16/02/2015 is 1 and from 17/02/2015 to 03/03/2015 is 2  and
    then again till 14/03/2015 is 1. I want to retrieve the count based on the dates rendered dynamically on X-axis that is from current date back to past 24 days. I tried to create two datasets with one storing the risks after being queried based on creation
    date and closure date and retrieving the count from Graph Y values but it is returning me count 0.
    Please help.
    Thanks in advance. 

    Hi,
    I want to retrieve the count of number of risk  for each date and render it on line graph. I am retrieving data from sharepoint list where the number of risk counts increase with its creation and decreases after it is closure which maintained in another
    column. Like if a risk is created on 02/02/2015 and closes on 03/03/2015 and an another risk is created on 17/02/2015  and closes on 14/03/2015. Then the count of the risk from 02/02/2015 to 16/02/2015 is 1 and from 17/02/2015 to 03/03/2015 is 2  and
    then again till 14/03/2015 is 1. I want to retrieve the count based on the dates rendered dynamically on X-axis that is from current date back to past 24 days. I tried to create two datasets with one storing the risks after being queried based on creation
    date and closure date and retrieving the count from Graph Y values but it is returning me count 0.
    Please help.
    Thanks in advance. 

  • How do I associate a clock (source) with a (or multiple) counter channels

    We are newbies using a 6602 with the SCB-68 interface.
    We are reading 8 different TTL pulse trains. We've determined that we need buffered periodic event counting (BPEC) and that we need a common clock (source).
    We've used the measurement and automation software to confirm that we can see our signal coming into the card. However, we cannot seem to perform functions requiring a clock (e.g. BPEC).
    Question: How do we associate an 80 MHz clock to the source for our counter channels? The the card has clocks, yet our error messages indicate that an external clock had to be used for our task. We may be stuck in the meaning of "external".  Though a clock is in the card, is it considered external to my counter channel? Do I connect it via jumpers in the SCB-68 or are there ways to associate it via commands?

    Hi NHJared,
    There a few examples in the LabVIEW Example finder that will
    help you make these measurements.  (Help
    >> Find Examples >> Hardware Input and Output >> DAQmx
    >> Counter Measurements >> Period or Pulse Width)
    The DAQmx Timing VI should be set to implicit.  This setting will automatically route the appropriate
    clock necessary for your measurements. 
    An external clock is a signal that is created by another device other
    than the PCI-6602 and connected through an external pin on the PCI-6602 (e.g. PFI
    pin) 
    Respectfully,
    Rob F
    Test Engineer
    Condition Measurements
    National Instruments

  • Multiple count(*)s in DML

    Hi,
    Is the following not possible?
    CREATE OR REPLACE VIEW oracle_counts AS
    SELECT count(de.name) AS Error_Count,
    count(dt.tablespace_name) AS Tablespace_Count
    FROM dba_errors de, dba_tablespaces dt;
    SQL> select * from oracle_counts;
    ERROR_COUNT TABLESPACE_COUNT
    16 16
    Cheers,
    Warren
    It seems to ignore the first result and place the result of the second count in both columns. If you perform the first count on it's own it returns 1:

    Forget my previous post.
    Your query builds an cartesian product, that's
    why the two number are the same: count(de.name) * count(dt.tablespace_name)
    Try the following instead:
    CREATE OR REPLACE VIEW oracle_counts AS
    SELECT (SELECT count(name)            FROM dba_errors     ) Error_Count,
           (SELECT count(tablespace_name) FROM dba_tablespaces) Tablespace_Count
    FROM   dual

Maybe you are looking for

  • Problem in DBCP Connection Pooling with BLOB in Tomcat

    Hi All, I am using the DBCP connection pooling in tomcat server version 6.0.18. I have session table which maintains the session details of the user in BLOB column. Recently I am facing a problem. When a user logs in, I am storing the session details

  • Hardly any of my YouTube subscriptions work with my Apple TV using the latest software (24Aug2011).

    Since the recent 4.3.3? update on my Apple TV Gen 2 I've noticed most of my youtube suscription channels display the channel name in the list but their channels are empty when I select them and some just display 3 random videos i.e. not the latest th

  • Checks are not Creating through APP

    Hi, User  not able create Checks through APP, I checked the Proposal Log: 1)none of the payment methods can be used for these items , 2)Payment not possible because of report error. Please anybodsy can help me on this

  • Bad video problem...

    I recently got a new computer: P4 2.53GHz 512 DDR-400 RAM MSI 648MAX-L motherboard (the 8X AGP one) RADEON 9700 PRO vid card This computer runs great, except for one giant problem.  Whenever I play any opengl-based games (namely CounterStrike), there

  • PDF TO HTML

    I would like to know if it's possible with PHP [Not necessary PHP , but also like RUBY on Rail or python if it is] to convert a pdf file to an html file. What exactly i want 1) On Web server I put my pdf file in a dictionry 2) Using PHP (Or any open