Varying phase singal for time comparison

Hello,
I have a pulsing square wave signal with varying phase and i want to measure the phase difference over time.
The signal needs to be sampled with a specified period and the sampled signal will be used as a reference for varying phase measurement during that period.
can anyone shed some light on this matter?
thanks
Message Edited by limit on 01-06-2007 10:13 PM

Sounds like you want a PLL. See here.
http://zone.ni.com/devzone/cda/epd/p/id/5153
The meter shows you the difference in phase.
Ben
Message Edited by Ben on 01-07-2007 12:41 PM
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Attachments:
PLL.PNG ‏45 KB

Similar Messages

  • Time varying velocity input for servo motor

    I 'm running a PXI-8145RT CPU with a 7344 motion controller.I want to load a time varying velocity profile for my servo motor.How can I do this? The "load velocity" tile does not have an input for such a profile,but only for a maximum velocity that will be reached after a certain time.

    Are you using the Motion Assistant or a programming language like LabVIEW? If you are using the motion assistant, you can do a contoured move with a Position-Velocity-Time Profile. I have never done this, but it sounds to be what you are looking for. This assumes that you have a controller that can do contoured moves.
    Hope that this helps,
    Bob
    Bob Young - Test Engineer - Lapsed Certified LabVIEW Developer
    DISTek Integration, Inc. - NI Alliance Member
    mailto:[email protected]

  • Solution readiness or Relaization phase checklist for FICO

    Hello Gurus,
    Would some one have or know where I can find a checklist of action items one needs to ensure during the solution readiness or realization phase.
    For example:
    1) GL account numbering
    2) Document numbers
    3) Cost center numbering etc
    Thanks

    Any takers for this query?
    I think I need to take care of the following items but please feel free to add more in the list:
    u2022     GL account numbering
    u2022     Cost element numbering
    u2022     Cost center numbering
    u2022     Profit center determination
    u2022     Payment terms determination
    u2022     Assignment of check and payment advice forms
    u2022     FSV
    u2022     Assets number range
    u2022     Internal order number range
    u2022     settlement number range
    u2022     master data (GL Accounts, Cost Elements, Cost Centers, Profit Centers)
    u2022     Tax Codes
    u2022     Posting period variant
    u2022     Reports
    u2022     Bank master data
    u2022     Lockbox data

  • Can I use iPod for time machine back up?

    I have several iPods that I don't use, and would like to use them as time machine back up drives, for multiple computers.
    They are 30gb iPod videos. I am aware they aren't as reliable as an actual external hard drive and that this much read/write can cause the iPod to burn out, but for these purposes I don't care.
    I have 300 computers that I want to restore to one master, as they are all used for the same purpose, but currently they all have OS 10.5.x of varying versions. I currently use a time machine backup on an external hard drive to restore the systems, but I have 15 iPod videos, and I would like to use 2-3 of them, to speed the process up.
    I use carbon copy cloner once I get a system restored, to restore the stations around it, but time machine is about 15% faster than using CCC, so I would like to use these iPods to increase my ability to restore these systems on a regular basis without having to buy external hard drives or enclosures to make external HDs.
    I have tried:
    Erasing the iPod in disk utility.
    -It will erase the volume as HFS+ (extended journaled) but it won't erase the main device as it shows in Disk utility, it consistently stays as Fat32.
    --Same idea if I recreate the partition. I tried GUID partition scheme, Apple Partition Map and Master boot record, but all produce the same result.
    I also selected the iPod and attempted a zero-out of the whole iPod using the security options in disk utility. The system still will not let me use it for time machine.
    Has anyone been able to use an iPod for backup? Are there any other techniques anyone can suggest to get this iPod to work?
    Thanks for your help.

    And to clarify, originally I made sure disk usage was enabled on the iPod.
    I have also tried dragging and dropping the contents of a time machine backup to the iPod, but it's still not seen as a backup volume. I suspect there are some hidden files that enable a volume as time machine capable. Any ideas on how to maybe copy the hidden files or any other methods that might work?

  • In the installation process lion will not install as message  reads MAC HD 904 gb available this disk is used for time machine backups .What is the next step

    After downloading ,completing the lic agreement phase, the next step is where to install and automatically' MAC HD with 904 gb available this disk is used for time machine backups' is shown and installation is blocked .
    Any body got any idea what to do next ?

    Time machine needs its own partition to operate. So you are not going install a OSx Lion on that volume.
    If there is enough room you may be able to partition the drive on the fly with DiskUtility
    Are you saying you clean installed Lion and you are trying to move your user Data over with TM via the migration Assistant?  Please explain.

  • CAT2 for Time Entry (single and multiple)

    Hello all,
    We have been using CATW for time entry and CAT2 for multiple time entry and have security set up accordingly. We're thinking of moving to CAT2 for all time entry but need to make sure we can configure to allow single time entry for those reporting only their own time, and multiple time entry for those reporting their own as well as others. I think this may be doable between a combination of security and IMG/Data Entry profile work. Does anyone have any experience using CAT2 in this way?
    Thanks,
    Doug

    First create a  data entry profile/CVR through SPRO for a time sheet,
    Then assign this profile to a user through user parameter CVR (Cats Variant for Recording) in the table USR05.
    This CVR is used in CAT2 to access the time sheet corresponding to the profile assigned to the user.
    Thanks
    Mahi

  • Time Comparison PHP

    Hi There
    I am trying to create a time comparison for a website I am building.
    I have the following so far
    <?php
    $date=$_POST ['daydropdown'];
    $month=$_POST ['monthdropdown'];
    $year=$_POST ['yeardropdown'];
    $datevalue="$date/$month/$year";
    $booking=strtotime ("now + 24 hours");
    if ($date_value > $booking)
    echo ("lovey");
    else
    echo ("tut tut");
    ?>
    which is pulling its date info from
              <form action="timetest.php" method="post">
              <table>
      <tr>
        <td class="tableheight">
          Party Size</td>
        <td>
          <select name="partysize" size="1" id="partysize">
          <option>1</option>
          <option selected="selected">2</option>
          <option>3</option>
          <option>4</option>
          <option>5</option>
          <option>6</option>
          <option>7</option>
          <option>8</option>
          <option>9</option>
          <option>10</option>
          <option>11</option>
          <option>12</option>
          <option>13</option>
          <option>14</option>
          <option>15</option>
          <option>16</option>
          <option>17</option>
          <option>18</option>
          <option>19</option>
          <option>20</option>
        </select>
        </td>
      </tr>
      <tr>
        <td class="tableheight">Date</td>
        <td>
    <select name="daydropdown" id="daydropdown">
    </select>
    <select name="monthdropdown" id="monthdropdown">
    </select>
    <select name="yeardropdown" id="yeardropdown">
    </select>
    </td>
      </tr>
      <tr>
        <td class="tableheight">Time</td>
        <td><select name="time">
          <option>12 noon</option>
          <option>12:15pm</option>
          <option>12:30pm</option>
          <option>12:45pm</option>
          <option>1:00pm</option>
          <option>1:15pm</option>
          <option>1:30pm</option>
          <option>1:45pm</option>
          <option>2:00pm</option>
          <option>2:15pm</option>
          <option>2:30pm</option>
          <option>2:45pm</option>
          <option>3:00pm</option>
          <option>3:15pm</option>
          <option>3:30pm</option>
          <option>3:45pm</option>
          <option>4:00pm</option>
          <option>4:15pm</option>
          <option>4:30pm</option>
          <option>4:45pm</option>
          <option>5:00pm</option>
          <option>5:15pm</option>
          <option>5:30pm</option>
          <option>5:45pm</option>
          <option>6:00pm</option>
          <option>6:15pm</option>
          <option>6:30pm</option>
          <option>6:45pm</option>
          <option>7:00pm</option>
          <option>7:15pm</option>
          <option>7:30pm</option>
          <option>7:45pm</option>
          <option>8:00pm</option>
          <option>8:15pm</option>
          <option>8:30pm</option>
          <option>8:45pm</option>
          <option>9:00pm</option>
          <option>9:15pm</option>     
    </select></td>
      </tr>
      <tr>
        <td class="tableheight">First Name</td>
        <td><input name="firstname" type="text" placeholder="Your First Name" /></td>
      </tr>
      <tr>
        <td class="tableheight">Surname</td>
        <td><input name="surname" type="text" placeholder="Your Last Name"/></td>
      </tr>
      <tr>
        <td class="tableheight">Email Address</td>
        <td><input name="email" type="email" placeholder="Your Email Address"/></td>
      </tr>
      <tr>
        <td class="tableheight">Confirm Email </td>
        <td><input name="confirm" type="email"  placeholder="Confirm Email"/></td>
      </tr>
      <tr>
        <td class="tableheight">Contact Number</td>
        <td><input name="contactnumber" type="text" placeholder="Your Contact Number"/></td>
      </tr>
      <tr>
        <td style="padding-top:0px"><input name="Book Now" type="submit" value="Book Now" /></td>
        <td></td>
      </tr>
    </table>
              </form>
              <script type="text/javascript">
    //populatedropdown(id_of_day_select, id_of_month_select, id_of_year_select)
    window.onload=function(){
    populatedropdown("daydropdown", "monthdropdown", "yeardropdown")
    </script>
    What I want to happen is if a booking for a table is made for more than 24hours in advance then its fine and sends the reservation to the restaurant aka "Lovely" where as if its for within the next 24 hours then "tut tut" they are told to ring the restaurant.
    Does anyone have any pointers for me please.
    G

    You need to change the $datevalue variable to a timestamp like you did with $booking.
    $dateTried = strtotime($datevalue); 
    Then you can compare them.
    if ($dateTried < $booking) {      // this is what to do if the time chosen was within 24 hours } else {      // this is what to do if the time chosen was a valid value (24 hours or more from current time) } 
    BTW, it looked like your form fields are populated using JavaScript. If I were you I would switch that to be PHP driven. The code will be very similar in PHP as your JavaScript code, but it will work for all your visitors, not just the ones that have JavaScript enabled.
    -Jason
    Sorry the code didn't line up. I used the wrong code insert options.
    Message was edited by: UteFanJason

  • Screen shots for time mgmt

    Hi  every one
    I am not good in Time Mgmt. mainly I want screen shots for Holiday Calendar, Break Schedule, DWS,PWS, WSR, Variants, Day types and Planed working time. So I am looking for a screen shots. Could you please help me? I would like to practice it over the system by using the screen shots which is already prepared by some body
    Can anybody help me. It is very useful for me.
    Thanks and regards
    Seenu

    why do u want screen shots
    The following is the config. document of TM.
    I think its helpful to u.
     Work Schedules  Personnel Time Management IMG Define Public Holiday Classes
    Work Personnel Time Management IMG Group Personnel Subareas for the
    Work Personnel Subarea Groupings Schedules Schedule
    Personnel Work Schedules  Personnel Time Management IMG Group
    Personnel Subareas for theDaily Work ScheduleSubarea Groupings
     Daily Work Schedules  Work Schedules  Personnel Time Management
    IMG Define Daily Work Schedules
    Work Personnel Time Management IMG Define Period Work Schedules.
    Period Work Schedules Schedules
    IMG Define Day Day Types  Work Schedules Personnel Time Management Types.
     Day Types  Work Schedules  Personnel Time Management IMG Define Day Types.
    Day Work Schedules  Personnel Time Management IMG Define Special Days.Types
    Work Personnel Time Management IMG Define Employee Subgroup Work
    Schedule Rules and Work Schedules Schedules Groupings
    Work Work Schedules  Personnel Time Management IMG Define Groupings
    for the Public HolidaySchedule Rules and Work Schedules Calendar.
    Work Work Schedules  Personnel Time Management IMG Set Work
    Schedule Rules and WorkSchedule Rules and Work Schedules Schedules.
    Work Work Schedules  Personnel Time Management IMG Generate Work
    Schedules ManuallySchedule Rules and Work Schedules
    IMG Set Planned Working Time  Work Schedules  Personnel Time
    Management  Default Value for the Work Schedule.
     Personnel Time Management IMG Set Default Value for Time
    Management Planned Working Time Work Schedules Status.
    Time Data Recording and Personnel Time Management IMG Define
    Personnel Subareas for Substitution Substitutions Administration
    Types.
    Time Data Recording and Personnel Time Management IMG Set Defaults
    for Substitution Types. Substitutions Administration
    IMG Absences Time Data Recording and Administration  Personnel Time
    Management  Group Personnel Subareas for Attendances and Absence
    Catalog  Absences.
    Time Data Recording and Personnel Time Management IMG Define Absence
    Types. Absence Catalog  Absences Administration
    IMG  Absences  Time Data Recording and Administration Personnel
    Time Management Define Counting Classes for the Period Work Absence
    Counting Absence Catalog Schedule.
    Time Data Recording and Personnel Time Management IMG Rules for
    Absence Counting  Absence Catalog  Absences Administration Group
    Employee Subgroups for Time Quotas.Absence Counting (New)
    IMG  Absences  Time Data Recording and Administration Personnel
    Time Management Group Rules for Absence Counting (New)  Absence
    Counting Absence Catalog Personnel Subareas for Time Quotas
    Time Personnel Time Management IMG Absence Absence Catalog 
    Absences Data Recording and Administration Define Rules for Rounding
    Counted Rules for Absence Counting (New) Counting Absences
    Time Data Recording and Personnel Time Management IMG Rules for
    Absence Counting  Absence Catalog  Absences Administration Define
    Counting RulesAbsence Counting (New)
    Personnel TimeIMG Absence Catalog Absences  Time Data Recording and
    Administration Management  Define Counting Rules  Rules for Absence
    Counting (New)  Absence Counting  Deduction rules for Absence quotas
    Time Personnel Time Management IMG Absence Absence Catalog 
    Absences Data Recording and Administration Assign Counting Rules to
    Absence Types.Counting
    Personnel TimeIMG Attendances/Actual Working Time Data Recording and
    Administration Management Define Attendance Types.Times
    Time Personnel Time Management IMG  Attendances/Actual Working
    Times Data Recording and Administration Assign Counting Rules for
    Attendance counting (New) Attendance counting Rules to Attendance
    Types.
    Time Data Personnel Time Management IMG Managing Time Accounts Using
    Attendance/AbsenceRecording and Administration Define Absence Quota
    Types. Time Quota Types Quotas
    PersonnelIMG Managing Time Time Data Recording and Administration
    Time Management  Calculating Absence Entitlements Accounts Using
    Attendance/Absence Quotas Permit Quota Generation Without
    TimeAutomatic Accrual of Absence Quotas Evaluation.
    Time Time Evaluation  Personnel Time Management IMG Set Personnel
    Subarea Groupings for Time Recording.Evaluation Settings
    PersIMG  Time Data Recording and Administration onnel Time
    Management Calculating AbsenceManaging Time Accounts Using
    Attendance/Absence Quotas  Set Base Entitlements  Rules for
    Generating Absence Quotas Entitlements Base Entitlement for Absence
    Quota Generation.
    Personnel TimeIMG Managing Time Accounts Time Data Recording and
    Administration Management Rules for Calculating Absence Entitlements
    Using Attendance/Absence Quotas Determine Validity and Deduction
    Periods.Generating Absence Quotas
    IMG Managing Time Data Recording and Administration  Personnel Time
    Management  Calculating Absence EntitlementsTime Accounts Using
    Attendance/Absence Quotas Define Set Base Entitlements  Rules for
    Generating Absence Quotas  Generation Rules for Quota Selection.
    Define Public Holiday Work Schedules  Personnel Time Management IMG Classes
    Personnel Work Schedules  Personnel Time Management IMG Group
    Personnel Subareas for the Work ScheduleSubarea Groupings
    IMG Group Personnel Subarea Groupings  Work Schedules Personnel
    Time Management Personnel Subareas for theDaily Work Schedule
     Daily Work Schedules  Work Schedules  Personnel Time Management
    IMG Define Daily Work Schedules
    Work Personnel Time Management IMG Define Period Work Schedules.
    Period Work Schedules Schedules
    IMG Define Day Day Types  Work Schedules Personnel Time Management Types.
     Day Types  Work Schedules  Personnel Time Management IMG Define Day Types.
    Day Work Schedules  Personnel Time Management IMG Define Special Days.Types
    Work Personnel Time Management IMG Define Employee Subgroup Work
    Schedule Rules and Work Schedules Schedules Groupings
    Work Work Schedules  Personnel Time Management IMG Define Groupings
    for the Public HolidaySchedule Rules and Work Schedules Calendar.
    Work Work Schedules  Personnel Time Management IMG Set Work
    Schedule Rules and WorkSchedule Rules and Work Schedules Schedules.
    Work Work Schedules  Personnel Time Management IMG Generate Work
    Schedules ManuallySchedule Rules and Work Schedules
    IMG Set Planned Working Time  Work Schedules  Personnel Time
    Management  Default Value for the Work Schedule.
     Personnel Time Management IMG Set Default Value for Time
    Management Planned Working Time Work Schedules Status.
    Time Data Recording and Personnel Time Management IMG Define
    Personnel Subareas for Substitution Substitutions Administration
    Types.
    Time Data Recording and Personnel Time Management IMG Set Defaults
    for Substitution Types. Substitutions Administration
    IMG Absences Time Data Recording and Administration  Personnel Time
    Management  Group Personnel Subareas for Attendances and Absence
    Catalog  Absences.
    Time Data Recording and Personnel Time Management IMG Define Absence
    Types. Absence Catalog  Absences Administration
    IMG  Absences  Time Data Recording and Administration Personnel
    Time Management Define Counting Classes for the Period Work Absence
    Counting Absence Catalog Schedule.
    Time Data Recording and Personnel Time Management IMG Rules for
    Absence Counting  Absence Catalog  Absences Administration Group
    Employee Subgroups for Time Quotas.Absence Counting (New)
    IMG  Absences  Time Data Recording and Administration Personnel
    Time Management Group Rules for Absence Counting (New)  Absence
    Counting Absence Catalog Personnel Subareas for Time Quotas
    Time Personnel Time Management IMG Absence Absence Catalog 
    Absences Data Recording and Administration Define Rules for Rounding
    Counted Rules for Absence Counting (New) Counting Absences
    Time Data Recording and Personnel Time Management IMG Rules for
    Absence Counting  Absence Catalog  Absences Administration Define
    Counting RulesAbsence Counting (New)
    Personnel TimeIMG Absence Catalog Absences  Time Data Recording and
    Administration Management  Define Counting Rules  Rules for Absence
    Counting (New)  Absence Counting  Deduction rules for Absence quotas
    Time Personnel Time Management IMG Absence Absence Catalog 
    Absences Data Recording and Administration Assign Counting Rules to
    Absence Types.Counting
    Personnel TimeIMG Attendances/Actual Working Time Data Recording and
    Administration Management Define Attendance Types.Times
    Time Personnel Time Management IMG  Attendances/Actual Working
    Times Data Recording and Administration Assign Counting Rules for
    Attendance counting (New) Attendance counting Rules to Attendance
    Types.
    Time Data Personnel Time Management IMG Managing Time Accounts Using
    Attendance/AbsenceRecording and Administration Define Absence Quota
    Types. Time Quota Types Quotas
    PersonnelIMG Managing Time Time Data Recording and Administration
    Time Management  Calculating Absence Entitlements Accounts Using
    Attendance/Absence Quotas Permit Quota Generation Without
    TimeAutomatic Accrual of Absence Quotas Evaluation.
    Time Time Evaluation  Personnel Time Management IMG Set Personnel
    Subarea Groupings for Time Recording.Evaluation Settings
     Time Data Recording and Administration  Personnel Time Management
    IMG Managing Calculating AbsenceTime Accounts Using
    Attendance/Absence Quotas  Set Base Entitlements  Rules for
    Generating Absence Quotas Entitlements Base Entitlement for Absence
    Quota Generation.
    Personnel TimeIMG Managing Time Accounts Time Data Recording and
    Administration Management Rules for Calculating Absence Entitlements
    Using Attendance/Absence Quotas Determine Validity and Deduction
    Periods.Generating Absence Quotas
    IMG Managing Time Data Recording and Administration  Personnel Time
    Management  Calculating Absence EntitlementsTime Accounts Using
    Attendance/Absence Quotas Define Set Base Entitlements  Rules for
    Generating Absence Quotas  Generation Rules for Quota Selection.
    Still have doubts defnately i willl do the need ful

  • How large should a disk for time machine be vs the hard disk

    Can anyone tell me how large a disk for time machine be vs the size of the hard disk?

    I usually say 2x or more but your milage may vary on that based on how much your hard drive is actually used, what sort of data (how large the files are) you typically handle and how far back you want your TM backup to go.

  • Mixed Costing on two different Costing Variants at the same time.

    Dear All,
    I have already configured mixed costing on my Costing variant PPC1, now i need to configure the same on another costing variant ZPSM, i have done all the setting for Costing type, Valuation variant and costing versions for mixed costing for the later costing variant, and maintained the mixing ratios for the product, but the system is not taking into account the mixed costing for the later variant.
    Can anybody help me out on this? or is it not possible to do mixed costing for two costing variants at the same time?
    Regards
    Rashid

    I have done it ...hehehhehehe.

  • Is it possible to use Zero phase filter for continuous filtering?

    I have to filter a large amount of data without any phase shift from original signal. The Zero phase filter does it but it has to be used in single shot mode. It doesn't have any "Init/Cont" input terminal which other filters have. Is there any way to implement zero phase filtering to filter data continuously?

    AJ_CS wrote:
    The zero phase filtering method seen in your thread will work, if the filtering happens as a single shot operation. It will remove the edge effects of zero phase filtering.
    But for an application wherein data arrives as small blocks, it has to filter each block of the data and also it has to maintain the continuity of filtering. 
    For example in every 1 sec, I'm getting 500 samples of data. I have to use this zero phase filtering for each block of 500 samples, in each second. But what seems to happen is, between the end of one data block and beginning of next data block( between 500th sample and 501th sample or between the end of 1st sec data and beginning of 2nd sec data), there is a discontinuity, or distortion.
    Normal IIR (butterworth)filter maintains this continuity between data blocks, but with phase shift.
    Zero phase filtering doesn't introduce any phase shift but it is unable to maintain the continuity, it seems. 
    Is it possible to have a filter meeting both these requirements?
    In a nut-shell yes.
    It will require you apply the technique I illustrated in that thread repeatedly each time you get an update. The "reflection about the end points" cleans up the disconinuities. I suspect there may be some theory that what you end up with can not be proven using any formal math approach, but it closely mimics what the human mind does when we ask ourselves "If it continues like that that, what do I expect?".
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Database time comparisons from RAT

    I am using Real Application Testing to test moving to a new server and I am a little confused on the “database time” comparisons. I ran the capture for 5 minutes and 54 seconds, the database time for the CAPTURE shows 33 minutes and 29 seconds, when I replayed it the REPLAY shows database time for 6:09 but the actual duration was only 5:57.
    So this tells me that it took about the same amount of time to play back the workload but I don’t understand the database time. Can somebody help me out with this? Thanks.

    I have not done RAT but my guess is the CAPTURE time is the cumulative time consumed by sessions on database for the given workload.

  • Stored Procedure using Date/Time Comparison

    I’m running SQL Server 2012. I need to write a procedure that will send out emails based on a date/time comparison.
    In my table, ‘tickets’, I have a smalldatetime column ‘ticket_date’ and another column ‘responded’ which is a bit field. I need to check the current date to see if 24 hours has passed from the ticket_date. If 24 hours has passed and responded is 0, then
    I need to email a manager ( I already have the code for  emailing with SMTP).
    The next step is to see if 48 hours has passed from the ticket_date and if responded is 0.
     If this is true, then I need to email someone else.
    I don’t want to include weekends in my time comparison. My procedure will only run Mon – Fri. 
    Thanks in advance!

    Check the below sample and hope this will help you:
    DECLARE @Tickets TABLE (TicketID INT, TicketDate SMALLDATETIME, Responded BIT)
    INSERT INTO @Tickets
    SELECT 1, '01/10/2015 10:00AM', 0 UNION ALL
    SELECT 2, '01/13/2015 12:00PM', 1 UNION ALL
    SELECT 3, '01/12/2015 05:30PM', 0 UNION ALL
    SELECT 4, '01/09/2015 08:00AM', 1
    SELECT *, '24 Hour' AS TicketCase
    FROM
    @Tickets
    WHERE
    Responded = 0
    AND DATEDIFF(HOUR, TicketDate, CURRENT_TIMESTAMP) <= (CASE DATEPART(WEEKDAY, TicketDate) WHEN 7 THEN 48 WHEN 1 THEN 24 ELSE 0 END) + 24
    UNION ALL
    SELECT *, '48 Hour' AS TicketCase
    FROM
    @Tickets
    WHERE
    Responded = 0
    AND DATEDIFF(HOUR, TicketDate, CURRENT_TIMESTAMP) >= 24
    AND DATEDIFF(HOUR, TicketDate, CURRENT_TIMESTAMP) <= (CASE DATEPART(WEEKDAY, TicketDate) WHEN 7 THEN 48 WHEN 1 THEN 24 ELSE 0 END) + 48
    Output
    TicketID | TicketDate | Responded | TicketCase
    3 | 2015-01-12 17:30:00 | 0 | 24 Hour
    1 | 2015-01-10 10:00:00 | 0 | 48 Hour
    You can make the separate SQL statements and email to proper people based on 24 hour or 48 hour case. 
    Best Wishes, Arbi; Please vote if you find this posting was helpful or Mark it as answered.

  • TS1338 I have 4 Trojan Horse viruses on my external drive I use for Time Machine.  My MacBook Pro hard drive is clean.  I have eased the external drive 3 times using Disk Utility and it still has the 4 Trojan Horse viruses. How do I get rid of them. Wayne

    I have 4 Trojan Horse viruses on my external drive I use for Time Machine.  My MacBook Pro hard drive is clean.  I have eased the external drive 3 times using Disk Utility and it still has the 4 Trojan Horse viruses. How do I get rid of them. I am using 10.8.3  Wayne

    ksu62 wrote:
    The infection names are:  classload.jar-719ef6a5.zip
                                              classload.jar-5db452le31.zip
                                              ar3.jar-6ce3b2f-45l483f.zip
                                              classload.jar-lef99412-63bsd3fl.zip
    Those look alot like file names and not infection names. I don't find any reference to anything like that on Norton or VirusTotal. Since you said these were Trojans, I would expect to see "Trojan" as part of the infection name.
    ".jar" files are executable Java applets. The random alpha-numerics would seem to indicate a cache file, likely from a browser with Java enabled. And we all know what ".zip" means.
    Worst case is that you had Java enabled in a browser and were infected by one of the late variants of the Flashback Trojan over a year ago or one of a couple of other attacks using the same vulnerability but targetted against a small number of political sympathizers. Much more probable is that thes were Windows only Trojans. Hopefully you have a fully up-to-date OS X, including Java, and have disabled Java in all your browsers by now.

  • Getdate() and time comparison

    Hi all, I've SBO and I'm trying to create a query, based on OQUT table, showing DocNum WHEN time of creation of the offer is less then 15 minutes than System time. I'm trying to compare DocTime and the time extracted with getdate() but I'm not able to do it. I think it's a problem of data type.
    Is there anybody who can help me?
    Thanks in advance

    Hi Federico,
    You're correct, it's not possible to directly use DocTime for date comparisons because it's held as an integer value and not a DateTime value. You can do a little conversion though. Have a look here:
    Re: GetDate() in query generator doesn' return the time!
    Kind Regards,
    Owen

Maybe you are looking for

  • How to make your folder list appear at the top when opening a finder window

    Sorry if this has been asked before but couldn't find it in the threads... About the only thing I miss from Windows, is the way file mgr displays list in folders, i.e. starting with folders, then listing the files. Any way we can do this in Leopard??

  • Vista shows Acrobat Reader 7 needs to be updated

    When I go to Vista problem reports it shows that Acrobat Reader 7 needs to be updated as it is incompatible with Vista. When I go to Uninstall Programs, it shows that I have Adobe Reader 9 installed. But at the top of the list there is an item that i

  • How to call CTX_THES.THES_TT procedure

    Hi ! There seems to be a bug (?) in the parameter definition for the THES_TT procedure of the CTX_THES package. The PHRASE-Parameter is missing in the declaration. Ith should be called like THES_TT (restab, phrase [,thes-name]), but the declaration i

  • Problems with file based repository

    I am facing problems with Oracle 10g cluster which is using file based repository.Every now and then one of the nodes in the cluster gives problems and I get error message "The DCM repository is not currently available. The Oracle Application Server

  • /var partition seems to be corrupted

    hi everyone, not wanting to necrobump an ancient thread on this i thought i'd create a new post. when i booted up today, i was greeted with quite a few failed entries in my bootsplash. gdm wouldn't run, but a login on tty2 worked. seems that my /var