Need to measure the head count of each organization

i need to find out the head count of employees for each organization based on salaried direct employees and salaried indirect employees as below
my output must be like this
in 1st column org unit name, 2nd column salaried fultime direct , 3rd column salaried indirect 4th colum is total as shown below
orgunit | sal-fulltime direct | sal-fultime indirect | total | hourly-fultime direct | hourly-fultime indirect | total
B& w__| 7000 __________| 5000 __________ | 12000 | 1500 ___________ | 500 ________________| 2000
jray ___| 2000__________| 1000____________| 3000_ | 500_____________| 500_______________| 1000
_______| 9000 __________| 6000____________|15000 | 2000 _____________| 1000 _______________| 3000
under organization unit organization names must come and for employee count must be as above
organization unit we get from pa0001
salaried fultime , hourly fultime we get from pa0001-persk
based on these conditions i need to get the out put as show above
please give me an idea how to make it with sample code
very urgent
regards
sachin

The event structure reads the value and, depending on its last state and current state, makes a decision.  You should try to look at the logic in the different states and follow what it happening.
Example -
1> Start at low state and 10 degrees
2> Control moves to 30 degrees.  Old state = low. New state = low (no change in count)
3> Control moves to 15 degrees.  Old state = low. New state = low (no change in count)
4> Control moves to 100 degrees.  Old state = low.  New state = medium (no change in count)
4> Control moves to 330 degrees.  Old state = medium.  New state = high (no change in count)
5> Control moves to 20 degrees.  Old state = high.  New state = low (going straight from high to low means we made a positive rotation. Increase count by 1)
The limits determine the zones of the low, medium, and high states.  While the values I choose to use were arbitrary, you would not want to set them too low (or high) to minimize errors.  Try it yourself.  Set the low limit to 2 and high limit to 358 (this would make the medium zone from 3 -> 357).  If you were quick (or the mouse jumped) it might be possible to move from 356 degrees (medium zone) to 4 degrees (also medium zone).  So if set improperly you could complete a rotation but not know you changed zones.
On retrospect though the best values would likely be in thirds (I.E., 120 and 240) to make the zones even?  I did not do too much testing.

Similar Messages

  • Regarding Need to measure the rotation count of the Compass either by clockwise and anti clock wise from 0 to 360 degree

    Dear All,
    Since I am new bee for labview, I want to count the no. of rotations that the compass will be rotating. I just did for one count, but I need to measure the count continuosly. Please some one to help me as soon as possible. Attached is me code. Please do the needful.
    Thanks and Regards,
    Dinsulpri
    Attachments:
    Compass Count.vi ‏10 KB

    The event structure reads the value and, depending on its last state and current state, makes a decision.  You should try to look at the logic in the different states and follow what it happening.
    Example -
    1> Start at low state and 10 degrees
    2> Control moves to 30 degrees.  Old state = low. New state = low (no change in count)
    3> Control moves to 15 degrees.  Old state = low. New state = low (no change in count)
    4> Control moves to 100 degrees.  Old state = low.  New state = medium (no change in count)
    4> Control moves to 330 degrees.  Old state = medium.  New state = high (no change in count)
    5> Control moves to 20 degrees.  Old state = high.  New state = low (going straight from high to low means we made a positive rotation. Increase count by 1)
    The limits determine the zones of the low, medium, and high states.  While the values I choose to use were arbitrary, you would not want to set them too low (or high) to minimize errors.  Try it yourself.  Set the low limit to 2 and high limit to 358 (this would make the medium zone from 3 -> 357).  If you were quick (or the mouse jumped) it might be possible to move from 356 degrees (medium zone) to 4 degrees (also medium zone).  So if set improperly you could complete a rotation but not know you changed zones.
    On retrospect though the best values would likely be in thirds (I.E., 120 and 240) to make the zones even?  I did not do too much testing.

  • I need to measure the frequency of a signal on Pin 39 (PFI 15) of a PXIe-6361 module.

    I need to measure the frequency of a signal on pin 39 (PFI 15) of a PXIe-6361 module.  All of the digital I/O pins are already assigned and in use.  The signal frequency range is 50KHz to 500KHz.  I have tried all of the sample programs for DAQmx Counter/Timer frequency measurement.  If I modify them to use my hardware, I get run-time errors with conflicts with resources already assigned.

    Hi Julia,
    Thanks for the response.  As I stated before, I have tried all of the examples available that apply.  There are only three and one of those uses two counters.  The two I have tried are:
      Examples/Hardware Input and Output/Counter Measurements/Digital Frequency/
          DigFreq-Buff-Cont-ExtClk-ArmStart.prj     and
          DigFreq-LowFreq1Ctr.prj
    These examples default to using what appears to be traditional DAQ hardware (Dev1/ctr0 and /Dev1/PFI0).  I changed the counter to mine (/PXI1Slot3/ctr3) and directed my signal source (PFI15 on pin 39) to the counter.  No matter what I tried would not run.  They would always compile but gave run-time errors ranging from resources already in use to “external trigger required”.  I have no external trigger source and, if I did, there is no indication of how to assign it to the counter.  NI has a very good X Series Users Manual that tells all of the great things you can do with the hardware, but there is NO CLUE how to do any of those things!!!!  I know that some NI DAQmx functions use hardware resources that they never tell you about.  I discovered that when trying to produce a single output pulse from a timer using counter #0.  (Which, by the way, no one at NI could tell me how to do it.)
    Measuring frequency should be very simple.  The unknown signal is routed through a precise gate to a counter, and then the counter is read.  NI DAQmx uses the opposite approach of using my signal as the gate and counting their internal source.  However, the examples would not let me use the internal reference sources.
    To answer your other questions, I am not performing any other measurements at the same time and the counter is not being used for anything else, period.
    Any help would be greatly appreciated.  Thanks again.
    Wayne K.

  • Help in finding the total count for each month

    Hello everyone,
    Sometime back I had posted about the date function. I have that problem solved now my problem is that after finding all records which against each record I need to find the total count for that month if no records than I have to set it to a 0.
    Here is how my program has been written.
    PROCEDURE extract_materials
    IS
    CURSOR xyz
    BEGIN
    FOR xyz1 IN xyz LOOP
    -- once inside the loop for each of the record from
    the cursor I need to find a total count for that record for everymonth in the year.
    All these records will be instered in to a staging table
    Can you please help me out with this. I really appreciate this.
    Thanks in advance.
    -Vani

    Andrew - you missed the tricky bit of the spec - include missing months with a zero.
    You need to do an outer join to a select from any big table with a function involving rownum and add_months to generate all the possible months. However, its time to go home and I can't be bothered to work out the finer details.

  • Why do i need to buy the same app for each device over and over again??

    why do i need to buy the same app for each device over and over again??
    and why cant i just pay for the app ones for all devices as long at it is with the same account??
    i hate that i have to oay for the same game or app three time one for ipad ones for iphone and ones for mac please do something about that apple..!!!

    First, you posted in the Mac App Store forum which are apps for the Mac OS X, not iOS devices.
    You do not need to re purchase your apps. Connect your iOS devices to your computer, launch iTunes. From the menu bar click Apps then click Sync
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Need to get the exact time of each picture that I saved ( maybe as a excel sheet or word )

    Hi guys,
    I am actually a new labview user. I have successfullly been able to save pictures. But unfortunately I got two problems. The first one is that I need to use two cameras at the same time. The program I have so far is for one camera. The second problem is that I need to get the exact time for each picture saved in the profile.
    I would appreciate if someone can help me with that. Anyway plz find attached the subvi.
    Regards,
    Abbas
    Attachments:
    Abbas progress.vi ‏54 KB

    Hi Abbas,
    First, I notice that you are using IMAQ for USB.  Is there any particular reason you are not using IMAQdx?  This is the newer, supported driver for use with USB cameras that supports acquiring from multiple cameras at the same time. 
    Check these two articles:
    Can I Acquire from Multiple USB Cameras Simultaneously Using IMAQdx?
    Can I Acquire from Two USB Cameras Simultaneously with NI-IMAQ for USB Cameras 1.0?
    And also this example (if you camera does not support acquiring from multiple cameras at the same time):
    Toggle Between Multiple USB Cameras
    As for timestamps, some cameras output them with the frame timing.  However, usually this is not a feature of USB cameras; if it is not, you can look into timing options within LabVIEW.  Try playing with the property node for IMAQdx and the Acquisition Attributes.
    Cheers,
    Marti C
    Applications Engineer
    National Instruments
    NI Medical

  • [svn:fx-trunk] 8531: If using an embedded font, need to measure the text with it so that if auto-sizing, the correct amount of space is allocated.

    Revision: 8531
    Author:   [email protected]
    Date:     2009-07-13 12:25:57 -0700 (Mon, 13 Jul 2009)
    Log Message:
    If using an embedded font, need to measure the text with it so that if auto-sizing, the correct amount of space is allocated.
    QA Notes:
    Doc Notes: SDK-22205.
    Reviewers: will be Gordon
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22205
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as

    Revision: 8531
    Author:   [email protected]
    Date:     2009-07-13 12:25:57 -0700 (Mon, 13 Jul 2009)
    Log Message:
    If using an embedded font, need to measure the text with it so that if auto-sizing, the correct amount of space is allocated.
    QA Notes:
    Doc Notes: SDK-22205.
    Reviewers: will be Gordon
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22205
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as

  • I always need to see the time counter on the music player, is that possible?

    As a spinning instructor I need to see the time counter on the music player all the time. Now it dissepears after a short time and I need to touch it to see it again and that is not good! I also wish that it was bigger numbers on the counter so I easy can see how long time it's lest on the songs.
    Ideas anyone?

    By default the screen display will dim in about 20 seconds to conserve the battery. And I cannot find any setting to inhibit this function. I am afraid there is no way you can keep the screen bright and enlarge the numbers on the timer.

  • How to measure the exact count of your podcast downloads

    Hi,
    While their are many ways to measure podcast preformance (e.g. Feedburner account and reviewing server logs), the only way to know accurately how many episodes being downloaded is to measure the daily bandwidth consumption of your MP3 or MP4 folder.
    Look for the section titled "Average data transferred per day" within the your ISP server logs control panel, and divide that number by the average size of your episodes to determine your download count.
    If you don't want to estimate your episode lengths, do like I do and standardize your podcasts to 1.5, 5.00, 10.00, 15.00, and 20.00 minutes long.
    The above is an overview; for the details just ask.
    Mitchell A.
    Creating Success podcast Interviews with successful, creative people.
    G4   Mac OS X (10.3.9)  

    Hi Mike,
    I never said my technique would state how many listeners one has. This technique is for knowing how many episodes are being downloaded.
    Using Analog WWW logfile analysis, I set up the "File Size Report" section to subdivide download requests into size categories that correlate to my episode sizes (e.g. 10MBs). From there it's simply a matter of looking at the server requests for each category to the know how many downloads I had during any twenty-four hour period.
    Btw: I verify results by comparing total episode throughput with "Average data transferred per day."
    Mitchell A.
    Creating Success podcast Interviews with successful, creative people.

  • Getting the max count for each group

    Hi, I am a newbie and working on a project for school. I have been working this problem for a couple of days and made a bit of progress.
    I have two tables, student and enroll for a college database. I need to show the students who have the most enrollments in each major. So far, I have:
    WITH COUNT_Q AS
    SELECT B.SSN, B.MAJOR, COUNT (A.CLASS_NO) AS COUNTCLASS
    FROM ENROLL A, STUDENT B
    WHERE A.SSN = B.SSN
    GROUP BY B.SSN, B.MAJOR
    SELECT MAX(COUNTCLASS), MAJOR
    FROM COUNT_Q
    GROUP BY MAJOR
    I am getting the correct results but need to show the SSN and Major of the studens. When I add in the SSN and Major, like below, I get back too many records.
    WITH COUNT_Q AS
    SELECT B.NAME, B.SSN, B.MAJOR, COUNT(A.SSN) AS COUNTCLASS
    FROM ENROLL A, STUDENT B
    WHERE A.SSN = B.SSN
    GROUP BY B.NAME, B.SSN, B.MAJOR
    SELECT *
    FROM COUNT_Q
    WHERE (COUNTCLASS) IN (SELECT MAX(COUNTCLASS)
    FROM COUNT_Q
    GROUP BY MAJOR
    Can someone help point me in the right direction?

    SELECT  B.NAME,
            B.SSN,
            B.MAJOR
      FROM  (
             SELECT  B.NAME,
                     B.SSN,
                     B.MAJOR,
                     COUNT(A.CLASS_NO) SSN_MAJOR_COUNTCLASS
                     DENSE_RANK() OVER(PARTITION BY MAJOR ORDER BY COUNT(A.CLASS_NO) DESC) RNK
               FROM  ENROLL A,
                     STUDENT B
               WHERE A.SSN = B.SSN
               GROUP BY B.NAME,
                        B.SSN,
                        B.MAJOR
      WHERE RNK = 1
    /SY.
    Edited by: Solomon Yakobson on Mar 27, 2011 6:53 PM

  • I need to measure the area in a JPEG

    My JPEG is 600 x 600 dpi.
    It includes a ruler and a cross section of a part,  The background is black.  The surface I am concered with border on the black background; it is the "white" outline of the part.  I need to find the "AREA" of this collection of "WHITE" color.Like the shell of a 2D egg.
    How do I do this?
    It would be great to configure the SCALE reference for the picture, drag a "SELECTION" box over the area, use a "EYE DROPPER" selection tool to click on the white of the outline, and click on "MEASURE" as in Photoshop.
    It didn't work in Photoshop and I'm asking if Illustrator can calculate the area?
    What steps are involved?
    Is it aslo possible to measure Max Width and Max Height?
    What Adobe product would work?
    Thank you

    cadsvc,
    You may try this way (depending on version), working in points/pixels:
    1) Place a copy of the image in a new document;
    2) Filter/Effect>Colors>Inverse to turn the desired area black;
    3) Click the border of the area with the Live/Auto Trace Tool, and Select the resulting area (with the black arrow);
    4) If the area has undesired holes in it, Object>Compound Path>Release and delete the paths of the former holes;
    5) See the W and H values in the Transform panel/palette;
    6) See the area in the Info panel or use the free Telegraphics Pathearea filter, see below.
    http://www.telegraphics.com.au/sw/
    Edit: Seemingly, the Telegraphics website no longer shows it, but you can find it under Graffix Path Area here:
    http://dzineblog.com/2010/09/10-popular-free-plugins-and-shareware-for-adobe-illustrator.h tml

  • Need to limit the user count to 10,000 in all the Organisations

    Hi,
    We have a requirement that the user count should not exceed 10,000 in any of the organisation. If it exceeds, then OU Admin should request superadmin/xelsysadm to clean up records i.e to remove inactive accounts.
    We need Custom request screen in OIM, so that OU level admin can request/notify super admin about the increase in user count in an ou.
    Any suggestions, on how to implement this scenario, will be of great help.
    Thanks.

    Hi,
    Actually, I want that during create user, as soon as user clicks on create user page, an message should get displayed saying user count in that organisation has exceeded more than 500 and user will not be created.
    Then that OU level admin(who was creating user) should request Super admin/xelsysadm to clean up records (Custom request screen in OIM, which should notify super admin). I want custom screen/request, where the ou level admin can say/request xelsysadm that the user count in that org has exceded more than 500 and request to delete unwanted/locked and Inactive account from that OU.
    Is this requirement possible, if yes then please guide me.
    Thanks.

  • Test equipment needed to measure the RF power from an Aironet 1500 AP

    Is there a piece of test equipment I can use to measure the RF Power from an Aironet 1500 AP? I need to determine if people in a building are working far enough away from an existing Aironet 1500 AP unit. Many thanks,  Chris.

    Fluke Network's Airmagnet Spectrum Analyzer is second to none.
    For freebies:  Netstumbler and inSSIDer.

  • Creating a formula for the Header to evaluate each record in Detail

    I want to create a formula that notifies the user in the Header if there is a certain value in the report detail.  I was able to create the formula but it only gave me the correct message when the 1st record in the detail had the value.  Is there a way for it to read ALL records and if any of them have the value, to display the message?
    Example:
    Formula in Header:  if ({@Total}>1) then "ERROR"
    There are about 500 {@Total} fields in the detail and my formula only looks at the 1st one in the list.

    Hi Shannyn,
    There is this in-built faility provided by Crystal Reports called as 'Alerts'.
    This will help you meet your requirment.
    For more information on functionality / Creation of Alerts, please go to Crystal Reports Help and search for 'Alert'. You will find it very helpful.
    Hope this helps.
    Regards,
    Jay.

  • Need to remove the header and footer regions on one page

    Hi,
    I have a requirement to remove the header and footer regions on one page only. The regions I'm referring to contain the following:
    Header:
    Company logo, Home link, Logout link, Preferences link
    Footer:
    Copyright info, Privacy Statement, Home link, Logout link, Preferences link
    These are the standard Oracle header and footer regions/page items, so I am not specifying a particular page name, although it would be the create time cards page we want to modify.
    Also, we only want to remove these regions/items from ONE page, not an entire responsibility.
    Any help is greatly appreciated.
    Thanks!
    Suzanne

    Hi,
    In order to hide,
    Home link, Logout link, Preferences link
    Use this code in the processrequest of the controller on the page on which you want tohide these
    OAPageLayoutBean page = pageContext.getPageLayoutBean();
    page.prepareForRendering(pageContext);
    page.setGlobalButtons((oracle.cabo.ui.UINode)null);
    And for hiding the Copyright info, Privacy Statement:
    Click on Personalise page link
    then Click on Choose Context
    Choose "OAFooter" as Scope
    and click "Apply"
    and then Personalise the Copyright and Privay Statememnt icon and set rendered as False.
    Thanks,
    Gaurav
    Edited by: Gauravv on Aug 25, 2009 8:36 PM

Maybe you are looking for