Fundamental Counter Question

Does a counter only count hit to the page it is on?

Thanks QTKirk - I was making a rookie mistake.

Similar Messages

  • Fundamental exam questions

    Hi Friends,
    I am attaching some doubtful fundamental exam questions with my selection.Please correct me, if there is any mistake in my selection.
    Thanks
    Meena
    Attachments:
    fundamental exam Q.doc ‏250 KB

    2D
    7D  (trick question... that's a bad one)
    27C  (don't know about the older LV version, but new one 2009 will give an error and not write to file)

  • Play count question.   I have about 500 songs in my library that I know have played at least once...probably just once.  Although there is a "last played" date listed there is no number in the play count column.   Any reason for this?  thx

    I have about 500 songs in my library that have played one time.   Although a "last date played" date is noted, there is no number in the play count column.  This only happens some times.   Any reason for this, and can it be corrected?  thx

    Thanks, but the play count is not incrementing only on the very first play.  All subsequent plays are fine.  Meaning the play counts for these particular tracks are always one play short.  I double-checked some of the tracks in question and I have not shortened, or stopped them early.

  • Dictionary, Table, Counter Question

    Hi,
    I'm trying to create a special customer table (SE11) with the following fields and have question regarding TYPE etc:
    Fields of table
    CUST_ID    
    CUST_NAME
    CUST_DESC
    1. CUST_ID should work as a counter (increment by 1 every time.) What kind of TYPE should I use ?
    (How do i do the increment stuff...)
    2. CUST_DESC should be able to take approx 5 kb of data and be searchable in WHERE clause. What kind of TYPE should I use ?
    3. Is there any advantages of creating/using Data Element instead of Build-in type ?
    //Martin
    Message was edited by: Martin Andersson

    Hi Martin,
    1. SE11 will help you only to create a table, but not to add any special functionality (as far as i have known) the CUST_ID can be made as counter only by programming. while moving data use a variable to get the previous maximum CUST_ID value from the tabel and increment it before you insert the value into the table.
    2. To give long descriptions declare the CUST_DESC as LCHR or LRAW types, i am not sure whether it will hold 5kb of data. Then searching for a particular word will not be a problem  you can use,
    SEARCH <c> FOR <str> <options>.
    <option> in the SEARCH FOR statement can be any of the following:
    ABBREVIATED
    STARTING AT <n1>
    ENDING AT <n2>
    AND MARK
    can be used to find the required word.
    3. I think this is what you meant -  if a data element is created by a domain, the technical attributes of the domain are inherited by data elements and these domains can be used by any number of data elements, besides you can also create data elements by refering to the existing data elements using 'TYPE'.
    Hope this helps.
    Regards,
    Kathirvel

  • WSA / CWS Licensing count question.

    Hello,
    I have a question how WSA and CWS are licensed based on the number of users.
    Is it based on concurrent or named users, active sessions based on source IP address or another way? This old post mentions concurrent users but based on a legacy ironport ordering guide. And that document does not mention any licensing methods.
    https://supportforums.cisco.com/message/3949429
    However for CWS i found this post:
    https://supportforums.cisco.com/message/4003674
    For the sizing it mentions: "It will be total number of CWS users, not concurrent users". Sizing is nog licensing, but the CWS datasheet mentions "The Cisco Web Security portfolio uses tiered pricing based on the number of users".
    I believe there are licenses allowing mixed use of CWS and WSA in combination with the free Virtual Applicances. Is this correct and how does this reflect on my question regarding user licensing?

    Hi,
    It's based on the number of named users, however there is no absolute way to count the users so it's a trust thing too and you should be honest about how many users you have.
    Thanks
    Chris

  • Counter Questions Using PCI6602

    I have a couple of questions regarding the operation of the PCI6602. I am programming in VB.NET.
    Can you have multiple tasks that each correspond to one Counter Input Channel being used at the same time (i.e. trying to read a small angle inside another larger angle using encoders)?
    Is there any way to setup a trigger based on a counter count value (i.e. once the count value hits 180 degrees raise a digital bit)?

    Justin,
    You cannot have two tasks running simultaneously that are using the same counter input channel. You can, however, connect the same signal to two of your counter channels and have two tasks monitoring the two different channels.
    As far as triggering off of a counter value. The best that you can do is a software trigger. In DAQmx, in LV 7.1 you can do a timed loop that waits for the event to occur (i.e. counter reaching a value). I am not aware of this implementation in VB, but it is still nothing more than a fancy software trigger. You would need to poll the counter and then run the DIO task when it reaches its value.

  • Sum/Count Question

    Hi: I'm very new to Crystal Reports, and have a question that is probably pretty simple, but has me stumped and at a standstill...
    I've built a report in Excel that determines the number of days between two date columns, then has a series of summary fields that count how many records have 1 day, how many have 2 days, ... 3 days, etc... I'm trying to build something similar in CR that will do the same thing, but I can't find it. I'm thinking it should have something to do with the Count (fld, condfld) function, but think I'm having trouble getting the syntax right. Any help here?
    Thanks!
    Edited by: dthornton on Jan 15, 2010 11:48 AM

    I'm now looking for a way to show that result as a percentage of all records returned
    Sure.  Lets assume you have a formula @DaysDiff which is calculating the days difference between two days.  Not let's say you have a running total RT_OneDaysDiff which is counting your records  but only when @DaysDiff = 1.  If you want to know the percentage of records where Days Diff = 1 compared to the total number of records, you would create a formula as followis:
    if @count(rowidentifier) <> 0
         then @RT_OneDaysDiff / count(rowidentifier)
    Fuskie
    Who would then repeat for each desired number of days difference...

  • Apex_application.g_fxx.count Question (problem?)

    Do the apex_application.g_fxx variables need to be shown on the page (region) in order for apex_application.g_fxx.count to return a non-zero value?
    I'm trying to figure out why I spent a day trying to get something to work, and it seems like this is what it was, though I'm not quite sure.
    In my report region, I have a column that when shown, my process works correctly, where a loop that has the form of:
    FOR i IN 1 .. APEX_APPLICATION.g_f16.COUNT
    LOOP
    This performs the statements within the loop.
    However, if that column is not shown (under Report attributes, unclick the Show box), then the process does not seem to execute the statements inside the loop.
    The only thing I can think of is that when it's marked as not shown, then the COUNT has no value, even though it seems like it should. Does COUNT only return the count of displayable items in the column, so if it's not shown, it's zero?
    It also may be how the report region is defined as well I suppose. It seems like ApEx should understand it okay, but who knows. It's simply a join of two inline views, so I can pre-populate the region with values from another table if this table didn't have any entries.
    This is Apex 2.2.1.00.04. One of these days I'll get caught up enough to upgrade to 3.0.
    Thanks,
    Bill Ferguson

    Hi Patrick,
    I suppose I also should have stated that this is a manually generated report region, using the apex_application.[item_type] syntax, where I have to specify the array (item) number. I just tested with Firebug, and if I change the number of the second column to 22, it's shown as f22 instead of f02.
    g_f16 was the next to the last column, though the one after it is a hidden column (apex_application.hidden).
    My report region is such, that g_f03 andg f16 are the only columns I can verify will actually have some data in it, as I force a value into gf16 if the second half of my union is selecting null values, so I could get around the null sorting problem (NULLS LAST didn't work, even on 10gR2, so I'm doing something else wrong).
    Anyway, I can use the values of the columns, whether they are displayed or not, it's just that apex_application.g_f16.COUNT always returned a zero when the column was hidden, even though it consisted of an array of 5 values. Trying to track it down I was able send the value of the column to a logging table, so I was able to see that I was getting the values, just not the count of values.
    Bill Ferguson

  • Shutter count question

    Does anyone in the forum know how I can determine the shutter count I have logged on my T3i? The camera is still going strong without any problems at all (except for a few dead pixels that appear as tiny red spots in some images). I am mostly just curious about this. Is there any indication how many shutter releases the average T3i can be expected to fire? My T3i is my first dslr and it has served that role fabulously.

    As Tim mentioned, there's Shuttercount.  But many other programs (that many camera owners already have) can give you the count as well.  If all you want is the count then Shuttercount is probably the easiest, but it's good to have options:
    Magic Lantern: Third party add-on for your camera.  Free, but you install a firmware add-on onto your camera.  Best to know what you're doing before installing.  Again, if you just want the count there are better options.
    DSLR Controller: An app for controlling your camera from a smart phone or tablet.  Fantastic app, but it costs $10.  I wouldn't spend it for just count, but the app itself is awesome if you want to control your camera remotely.
    FoCal: A program for fine tuning your cameras autofocus.  Unfortunately doesn't work with your camera, but most people who have fine-tunable cameras already own this so I thought I'd mention it.
    APT: An astrophotography tool.  There's a free trial for download that should tell you shutter count.  Can't say I've tried it.

  • PDF Page count question (not coding related)

    Vista has numerous types of details it can display and sort with (size, date modified, etc.).
    I found "pages" in that list but it doesn't seem to be intended for pdf files.
    Can windows (or another software solution) display the page count of individual pdf files when viewing a folder containing multiple pdf's?  If so, how do I get that rolling?
    Thanks.
    Jake

    CoachW:
    Welcome to the Apple Discussions. You're right, the minimum number of pages is 20, single or double sided. You will get 4 blank pages at the end. You can check it out by going thru the ordering process and after the book if finished assembling and you're at the next window, do the following to find and copy the pdf file that iPhoto creates to upload and print:
    How to Find the iPhoto Generated PDF File:
    1 - Start the ordering process and stop after the book has been assembled and you get to the Order pane where you select the cover color, copies, etc.
    2 - Go to the Finder and select the Go->Go to Folder menu item (CommandShiftG).
    3 - copy the following, “/private/var/tmp/folders.501/TemporaryItems/iPhoto” (for Panther the path is "/private/tmp/501/TemporaryItems/iPhoto“), and paste into the Go to Folder search box.
    4 - the iPhoto folder will be brought up. In it will be the PDF file that was generated by iPhoto. You can copy it (Option-drag) to the Desktop to review and/or save.
    Note: the iPhoto folder will not exist before you start the ordering process and is deleted after the order is completed or after you cancel the order and quit iPhoto.
    You can then cancel the operation if you're not happy with the result.

  • Disaster Recovery / HA server role count question

    We are currently working on a disaster recovery plan for our on-premise Exchange 2010 environment.  As of today, have a DR Office 365 site is not an option for us.  Our primary datacenter that houses our Exchange 2010 SP3 servers is setup as follows.
    North America
    4 servers (HUB/CAS)
    1 CAS Array (F5 load balanced)
    4 servers (mailbox)
    1 DAG, public/private networks (2 nics)
    2 servers (UM)
    ====================================
    In our secondary datacenter we currently have built out 4 servers, OS Only.  My question is which roles should I place on these servers so that we don't take down our production environment if the secondary site goes offline.  The secondary site
    may go down from time to time for testing and I don't want our production databases to unmount because of quorum and failed votes.
    I was thinking installing HUB/CAS/MB on all 4 and UM on only 1 of them.  Does this work?  I have read through some technet articles about the (n/2) + 1 rule, but need a little more assurance.  Thanks everyone!
    d

    Thanks yea, I used it.  I says if I have 4 mailbox servers in the primary then I should have 4 mailbox servers in the secondary.  Also, not sure if this matters, but we have an even number of databases.  Basically I don't want our pimrary
    databases to dismount if we lose the WAN connection, temporarily, to the secondary site.   Do I need an odd number of databases/servers or is 4 and 4 could for servers and 12 active/passive in the primary and 12 passive in the secondary good.  Thanks
    again for the information, much appreciated.
    d

  • Record counter question

    Right now, my report looks like:
    Category           invoice number             invoice counter
          A -
    100----
    1
    Result -
    1
          B -
    100----
    1
    Result -
    1
    Overall Result -
    1
    I know the overall result is correct, however the sum of category's result (2) is not equal to overall result.
    Is there any way to show category A (or B)  result as 0 since the invoice number is the same ?
    Thanks!
    Edited by: wawzj619 on Feb 5, 2010 12:00 AM

    Hi.
    Since the same invoice is valid for both categories, the correct value is what you are getting now.
    However, you can consider implementing your own count, where you assign to each category the share of the invoice, either applying a weighted approach based on the invoice value for each category or unweighted. This will give you 0,5 invioces per category in your example and the total will be 1.
    Thus it can and has beeen done, but I think counting this way is not logical as you will be getting fx 8,21 invoices for a category and how can you interpret this number? Or, in you example, category A did NOT receive just half an invoice! They got a whole one. And so did category B. The fact that it's the same invoice does not mean each category received just half an invoice!
    If you want your overall result to be the sum of invioces across categories and thus display "2" in your example, you can set the "calculate results as..." to "total" for the counter key figure. But the number 2 would - to me - be incorrect, because you only got 1 invoice...
    regards
    Jacob

  • Play Count Question

    The play count on my ipod is different from the play count on my iTunes. How do I make iTunes sync play count with my iPod.
    It always updated the count on my shuffle, but doesnt with my 5th gen

    yes i am but i also had manual update on my shuffle and it still updated play count..
    so it needs to be on auto update then?

  • Counter Question

    Sorry I know this is probably obvious.
    I am doing an EXISTS type query within an Oracle 10.2.0.3 Procedure:
    v_count NUMBER:=0;
    c1 = Get 'y' into cursor
    SELECT 1 INTO v_count
    FROM dual
    WHERE EXISTS (select x from tablea
    where x = y);
    update tableb set column1 = y;
    EXCEPTION WHEN NO_DATA_FOUND THEN
    insert into tableb (column1) values ('y');
    If I want to reuse the same counter can I just reset the value to 0 at any time, or do I need to use an individual counter - I am going to be doing this type of update for 6 different realtionships using the same cursor.

    Hi Dave,
    Can you see a reason why this would not work?
    CREATE OR REPLACE PROCEDURE pr_new
    IS
    CURSOR c1_get_keys
    IS
    select KEY_PERSON_PHONE, KEY_PERSON_ADD
    from stage;
    c1_get_keys_rec c1_get_keys%ROWTYPE;
    BEGIN
    OPEN c1_get_keys;
    LOOP
    FETCH c1_get_keys
    INTO c1_get_keys_rec;
    EXIT WHEN c1_get_keys%NOTFOUND;
    BEGIN
    update stage
    set KEY_PERSON_PHONE_INST = 'U'
    WHERE EXISTS (select KEY_PERSON_PHONE from
    person_comm_link
    where KEY_PERSON_PHONE =
    c1_get_keys_rec.KEY_PERSON_PHONE);
    IF SQL%ROWCOUNT = 0 THEN
    update stage set KEY_PERSON_PHONE_INST = 'I';
    END IF;
    END;
    END LOOP;
    CLOSE c1_get_keys;
    ND pr_new;
    I've run it with and without the KEY_PERSON_PHONE
    updated in the 'person_comm_link' table but the
    procedure always changes the KEY_PERSON_PHONE_INST
    flag to 'I' for 'insert' - never 'U' for update.That's because you're missing the where clause on the update to I.

  • Please help  oracle sql counts question

    Hi,
    I am trying to get some counts on a client list where l count those clients who are getting the program
    2353335 ONLY (which may be none of the cases in the example below but this is an obviously smaller subset of these data).
    How can I count all the client ids where program = 2353335 but not where program = 2340845 or program =2353340?
    Thanks in advance
    Client_id     Program
    260     2340845
    260     2353340
    510     2353340
    510     2353335
    510     2340845
    520     2340845
    520     2353340
    525     2340845
    525     2353335
    765     2353340
    1260     2340845
    1260     2353335
    1595     2353340
    1595     2340845
    1615     2340845
    1835     2353340
    1840     2353340
    1840     2353335
    1840     2340845
    1845     2353335
    1845     2340845

    Hi,
    if you want to select clients that only have program 2353335 and no other, the query below would help:
    select client_id
    from mytab m
    where program = 2353335
    and not exists (select 1 from mytab where client_id = m.client_id and program != 2353335);Just replace select client_id with select count(*) if you want just to count rows.
    Best regards,
    Nikolay
    Edited by: Nikolay Savvinov on Jan 26, 2012 11:24 PM

Maybe you are looking for