Signal Conditioning and Shannon Theorem

Hi, 
I need to acquire a signal and then to condition it. I am planning on using the SCX-1102 which has a lowpass filter (2Hz).
I would like to know if this lowpass filter has to respect the shannon theorem and has to be > 2*fmax.
In my case.. the fmax of my signal is 1.5Hz.
Thank you! 

Hello,
I assume you are referring to the Nyquist-Shannon sampling theorem that states that the sampling frequency must be at least twice the frequency of the signal.  This applies to sampling, not low pass filters.  Just make sure you sample at a high enough rate (more than twice, 10x is better, the expected frequency of your signal - including all frequency content, even frequencies that you would like to filter out), and then the filter will eliminate frequencies above 2 Hz.  
- Christina

Similar Messages

  • WriteLock, Conditions, and signal (to readers)

    We are creating a simulation application where one thread periodically updates each object, and other threads read information from it. We had liveness problems when using a simple synchronization scheme, so we had hoped to use ReentrantReadWriteLocks (RRWL) instead. If a reader got the read lock on an object, it could check if it was up-to-date, and, if not, await() on a Condition associated with the write lock. This would free up the object to allow the writer to acquire the write lock, update it, and, when finished, signalAll() on the Condition to allow the readers to continue. However, the Condition and RRWL classes are currently not designed to allow this. Only objects that have the WriteLock may await on the associated Condition. It makes sense that only objects that have the write lock could signalAll(), since threads should not signal without updating the state first. However, I don't understand why having a write lock is required to await() on the associated Condition. The tryRelease() method of RRWL throws an exception if the calling thread is not the owner of the associated lock. Since other implementations of RRWL (Colt, Apache commons) don't seem to support what we want in a RRWL either, we are left to implement what we want ourselves. Is there a good workaround to allow all of the readers to be signaled when the writer is finished? Otherwise, will subclassing RRWL and overriding the tryRelease() method cause other big problems?

    Just adding a link to the other thread:
    http://forum.java.sun.com/thread.jspa?threadID=5115026

  • WriteLocks, Conditions, and signal() (to readers)

    We are creating a simulation application where one thread periodically updates each object, and other threads read information from it. We had liveness problems when using a simple synchronization scheme, so we had hoped to use ReentrantReadWriteLocks (RRWL) instead.
    If a reader got the read lock on an object, it could check if it was up-to-date, and, if not, await() on a Condition associated with the write lock. This would free up the object to allow the writer to acquire the write lock, update it, and, when finished, signalAll() on the Condition to allow the readers to continue.
    However, the Condition and RRWL classes are currently not designed to allow this. Only objects that have the WriteLock may await on the associated Condition. It makes sense that only objects that have the write lock could signalAll(), since threads should not signal without updating the state first. However, I don't understand why having a write lock is required to await() on the associated Condition. The tryRelease() method of RRWL throws an exception if the calling thread is not the owner of the associated lock.
    Since other implementations of RRWL (Colt, Apache commons) don't seem to support what we want in a RRWL either, we are left to implement what we want ourselves. Is there a good workaround to allow all of the readers to be signaled when the writer is finished? Otherwise, will subclassing RRWL and overriding the tryRelease() method cause other big problems?

    We had thought about acquiring the write lock before
    calling await(), but then only one thread would be
    signaled.I don't understand why you think this would be the case. As many threads as were waiting when the signalAll was done would be signalled.
    In the simulation, each object has its own thread.
    We use a barrier to synchronize update steps, but
    there is a data dependency between objects. The
    dependencies between objects is variable (which one
    depends on another). When an object is updating it
    tries to get a write lock, but may be blocked
    because a dependent object (or > 1) has a read lock.
    We want the dependent object(s) to await() the
    update from the writing thread (thus each giving up
    their read lock), which means they should all be
    signaled. I think I get the picture. At the barrier all objects that need to be updated are marked as out-of-date. The thread for a given object then attempts to update that object by getting the write-lock and then working out the next state by querying the dependent objects. However a dependent object may be in need of an update in which case you want to wait until that update is done.
    It still seems to me that grabbing the write-lock of the dependent object and then waiting for its update to complete is the simplest immediate solution.
    Our current thought is to try to subclass RRWL and
    override tryRelease() to support the case where owner
    == null. I don't think it is that simple. The ConditionObject code in AQS uses the fact that the associated exclusive lock is held to protect concurrent access to its own data structures. You simply can't call await() if only holding shared access.

  • I got four emails for the icloud and they are all terms and conditions and i cant find the agree button. where is it in the email?

    I got four emails for the icloud terms and conditions and i cant find the i agree button in the email . Where is it?

    It is not properly connected to the network.
    Make sure location is set correctly
    DNS should be on auto (settings - general - network)
    Try ethernet
    Signal strength on device won't account for issues, you would need a network report from istumbler, netstumbler or similar. This will show accurate signal strength along with noise and nearby networks

  • How to solve problem - " Safari cannot open page because it isn't connected to the internet" but the airport is ok. signal full and i have n IP address.

    How to solve problem - " Safari cannot open page because it isn't connected to the internet" but the airport is ok. signal full and i have n IP address. and i m using Macbook pro.
    OS snow leopard and above...

    Do you have this problem with all websites, or only some? If only some, which ones?

  • Possible to do conditional ands?

    I don't know if this is possible or not. so I thought I should ask the experts.
    I have a function and I need to create a query that has conditional ands.
    what I'm looking for is something like this:
    the function has a few in variables. one of them is p_view
    in my where clause I was hoping to do something like this:
    where a.course_id = b.course=id
    if p_view = 1 then
    and a.supervisor = p_super
    elseif view = 2 then
    and a.emplid = p_emplid
    else
    and a.emplid = b.emplid
    end if;
    and a.role = b.role;
    now this is not real code, I've tried a decode and that did not work, then tried case, that did not work. so I'm not sure if its possible or not.
    can this be done or is there some other way to do this I don't know about?

    Hi,
    I've tried a decode and that did not work, then tried case, that did not work.Why not? How did you try?
    When asking questions, be as specific, clear and concisive as possible, so we can help you as best as possible.
    'It didn't work' isn't adding anything to that.
    now this is not real codeDon't post unreal/syntactically wrong code, it only distracts and confuses, raises more questions.
    Post real code or a clear description of the requirement.
    can this be done or is there some other way to do this I don't know about?Hm...my guess is that it can be done, and I wouldn't rule out getting it done using case yet.
    If possible, please provide the real query and explain why 'it didn't work'.
    We need to know the requirement here.
    All I can think of with your given input is this wild shot in the dark, however it might give you an idea:
    where a.course_id = b.course_id
    and ( case
            when p_view = 1 and a.supervisor = p_super then 1
            when p_view = 2 and a.emplid = p_emplid then 1
          end
        )  = 1
    and a.emplid = b.emplid --not sure about this here at all
    and a.role = b.role;Remember to use the tag before and after your examples.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Find Tax conditions and amounts while creating a PO from reference.

    Hi friends,
    I am creating a PO from another reference PO. When I create the PO the Tax conditions and
    amounts come from Sabrix 3rd party system. This data gets saved into SAP internal memory and
    is visible when we follow PO item-> Invoice Tab->Taxes-->then we can see Tax
    conditions and there amounts as well. when we press SAVE button PO gets created and KNUMV
    (Condition Number) gets formed and then we can access this Condition types and Amounts data
    from KONV table by specifying the Condition number which is the Primary key of KONV table.
    But we need to access this data of Condition types and Amounts even before we press SAVe
    button on ME21N screen.
    Please help me on this.

    Hi,
    As mentioned that this error was one of the wierdest SAP issues I have faced, it was due to the silliest copy paste errors on my behalf. I completely overlooked the POITEMX naming.
    For 4 values of RFQ_NO, RFQ_ITEM, PREQ_NO, PREQ_ITEM, I didnt have the 'X' for POITEMX and kept on looking for errors for days.
    BAPI_PO_CREATE1 works with min. possible inputs successfully.
    Thanks to all!

  • 10g Signal Handlers and Dynamic Binding Problems on Mac OS X

    I have the following env vars set up, and it seems the client libs show a deadl\
    ock behavior post installation. SqlPlus exhibits a similar problem with 10g cli\
    ent libs on the Mac, since it simply hangs for 20 secs before returning the pro\
    mpt. I have G4 10.3.4 Mac, and 3.3 (1640) gcc, and still haunted by this probl\
    em...
    ORACLE_HOME=/Users/Oracle/10g/orahome
    ORACLE=ORACLE_HOME/bin
    ORACLE_BASE=/Users/Oracle/10g
    DYLD_LIBRARY_PATH=/Users/Oracle/10g/orahome/lib
    a) ktrace sqlplus user/pass@db
    b) kdump -R | grep sigaction gives:
    885 sqlplus 5.877734 CALL sigaction(0x2,0xbffff500,0xbffff570)
    885 sqlplus 0.001252 RET sigaction 0
    885 sqlplus 0.002032 CALL sigaction(0xd,0xbfff90f0,0xbfff9160)
    885 sqlplus 0.001831 RET sigaction 0
    885 sqlplus 0.001293 CALL sigaction(0x12,0xbfffb6e0,0xbfffb750)
    885 sqlplus 0.001234 RET sigaction 0
    885 sqlplus 0.001551 CALL sigaction(0x12,0xbfffbda0,0xbfffbe10)
    885 sqlplus 0.001401 RET sigaction 0
    885 sqlplus 0.001331 CALL sigaction(0x2,0xbfffd090,0xbfffd100)
    885 sqlplus 0.001333 RET sigaction 0
    This shows a 5.9 sec delay for the first sigaction, and a full response is received some long 20 secs later on the prompt.
    Some feedback from engineering regarding this issue since the 9i release has been:
    "This is a known problem with signal handlers and the lazy binding we have on Mac OS X. A small change to how Oracle library's signal
    handler is installed using _signal_nobind(3) and
    _dyld_lookup_and_bind_fully(3) could help to solve this problem.
    The problem that we are trying to avoid is a possible dead lock from
    code that could be called in a signal handler when the thread that
    gets the signal is in the middle of lazy binding a symbol. So when a
    signal handlers installed the default action is to cause it to be
    bound fully. This is made very expensive by the mismatch of the
    interfaces to signal(3) and segvec(2) like routines which are passed
    an address and the dynamic linker that wants a global symbol name. So the end result is to call the routine _dyld_bind_fully_image_containing_address(3) with the address of the signal handler to be bound. Which binds everything in the image (in this case the Oracle shared library).
    We have had problems like this before. For example: [This is what is
    done in usleep(3)]
    usleep()
    /* code removed for this example */
    setvec(vec, sleepx);
    #ifdef __DYNAMIC__
    _dyld_lookup_and_bind_fully("_usleep", NULL, NULL);
    (void) _sigvec_nobind(SIGALRM, &vec, &ovec);
    #else
    (void) sigvec(SIGALRM, &vec, &ovec);
    #endif
    static void sleepx(int unused)
    ringring = 1;
    The use of _sigvec_nobind(2) (or _signal_nobind(3) ) and the use of
    _dyld_lookup_and_bind_fully(3) will cause just the needed symbols used by the signal handler. "
    It seems this issue hasn't been resolved in the most recent 10g client release.Can anyone shed some light one this issue?
    For better demonstration, here is a series of steps we took here:
    sigaction.c - C file produced by "proc sigaction.pc"
    sigaction.pc - ProC source file
    gcc_sig* - Shell script to compile sigaction.c
    ktrace.sigtest - raw ktrace output from running sigtest
    ktrace.sqlplus - raw ktrace output from running sqlplus
    kdump.sqlplus - output of kdump -R on ktrace.sqlplus
    kdump.sigtest - output of kdump -R on ktrace.sigtest
    sigaction.lis - auxiliary file produced by proc
    1. sigaction.pc:
    #include <stdio.h>
    #include <stdlib.h>
    #include "/Users/oracle/10g/orahome/precomp/public/sqlca.h"
    int main(int argc, char **argv) {
    char user[30], passwd[30], db[40];
    char con_str[100], date[10], *icp;
    strcpy(user, "XXXXXXXX");
    strcpy(passwd, "XXXXXXXX");
    strcpy(db, "db_name");
    sprintf(con_str,"%s/%s@%s",user,passwd,db);
    EXEC SQL CONNECT :con_str;
    EXEC SQL SELECT SYSDATE INTO :date FROM DUAL;
    printf("SYSTEM DATE = %s\n",date);
    EXEC SQL COMMIT RELEASE;
    2. gcc_sig:
    #!/bin/sh
    CFLAGS="-I$ORACLE_HOME/precomp/public -I/usr/include"
    CFLAGS="$CFLAGS -I$ORACLE_HOME/lib -L$ORACLE_HOME/lib"
    ORALIBS="-L$ORACLE_HOME/lib -lclntsh $ORACLE_HOME/lib/nautab.o $ORACLE_HOME/lib/naeet.o"
    CC="gcc -g"
    PROG=$1
    OUTPUT=$2
    $CC $CFLAGS $PROG -o $OUTPUT $ORALIBS
    3. Generate the rest of the output files for your viewing of the results based on the commands provided above.
    Thanks!

    It's a delay, not a deadlock, that originatesfrom the way Oracle
    libraries handle dymaic bindings.to "dynamic" bindings. Maybe prebinding could help ?
    export DYLD_PREBIND_DEBUG=1ronr@[email protected]:/Users/ronr
    sqlplus "/ as sysdba"dyld: sqlplus: prebinding disabled because library: /Users/oracle/product/server/10.1/lib/libsqlplus.dylib got slid
    dyld: in map_image() determined the system shared regions ARE used
    dyld: 2 two-level prebound libraries used out of 5
    Ronald
    http://homepage.mac.com/ik_zelf/oracle/

  • Phone signal drops and says 'searching...' no idea what to do

    Half way through calls or after calls the phone signal drops and i can't get it back unless i switch on and off numerous times. THis has been gong on to a greater or lesser degree since I got the phone a year ago but has got much worse recently.
    i have tried resetting all settings, as per the o2 advice. They have told me to go to the apple store but I am not hopeful that they will help and as it is a long way I don't want a wasted journey. I have swapped sims/ phones with my partner who has a 3g iphone and he doesnt have the same problem so it is not related to where i am geographically or my sim. any ideas?

    I have the same problem after I have update my iPhone 3G to iOS 4.1.
    Immediately after the update my simcard was demagnetized (it was unusable). So I had to buy a new sim card but after a couple of day more times a day the sigal drops down and I have to switch off/on.
    My iphone has never had any problems untill the update.
    My operator is Vodafone Italia.

  • Why can I only accept the new terms and conditions and keep getting sent back to agreeing (5 times and still going in circles)

    Seems that I can no longer install anything, as every time I get forced to a page to read and accept the new terms and conditions - and no matter if I accept them or not, I only get sent back to read them again.   Another reason my next smartphone will be android based!

    The iTunes and Mac App Store / iCloud problem spontaneously resolved for me as of 21:54 Pacific Standard Time on 9/30/2012.
    Someone at Apple was aware of and fixed the problem. Finally.
    Yeah!

  • In cursor i have two queries where put the condition and how to print the d

    hi i have 2 tables 1 is emp(empid,empname,dept,grade)
    2 is salary(grade,salary)
    in cursor when ever grade is increased salary automatically increased
    in 2 diffrent queries where i will put the if condition and how to print the output.
    any one can please suggest me.
    finally my required out put is
    empid,empname,grade,salary
    thanks

    It is always helpful to provide the following:
    1. Oracle version (SELECT * FROM V$VERSION)
    2. Sample data in the form of CREATE / INSERT statements.
    3. Expected output
    4. Explanation of expected output (A.K.A. "business logic")
    5. Use \ tags for #2 and #3. See FAQ (Link on top right side) for details.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Receiver Determination Condition and XPATH

    Hi Everyone,
    I have a receiver determination with conditions and can not figure out why one thing is working, and the other isn't.
    As suggested in the following forum post, XPATH and RECEIVER DETERMINATION, I had to do the following to my XPATH expression to make it work.  The full xpath expression is this:
    (/p1:RenExtract_MT/Detail/CompanyCode = 9740)
    where
    p1 = http://company.com/xi/fin/
    but whenever I put in a condition it could not find a receiver.
    Hoewver, when I did this:
    //CompanyCode
    it worked.
    I did everything through the condition editor, many times, and didn't type anything in myself.  Is there a length limitation or something (I removed some data in here, the expression is really longer!).
    Any ideas?
    Peter

    Hi Peter,
    I do not have an explanation for this wired behaviour.
    But I can assure your, that your working solution, the //something expression is a good one and not inferior to a solution using an explicit, absolute path.
    Why is that: I can remember some benchmarks, where the //something expression always outperformed the other one.
    Regards
    Gregor

  • Shipment cost condition and purchasing conditions

    Hi Experts,
    I read OSS Note 427944 and I have configured few PO item conditions (relevant to ship. costing) . Each of them has different account keys assigned.
    I have created the same account keys in shipment cost pricing.
    I have created shipment cost document with one condition and when I post GR the system post it on the first condition in the purchasing schema and not on the condition with the same account key as supposed to be.
    In addition, when I have entered 2 conditions in shipment cost doc.
    and posted Goods Receipt the system sum and post the total amount on the first condition in the purchasing schema .
    How can I make a relationship between the "PO item conditions" and the "shipment conditions"?
    Thanks,
    Michal

    michallll wrote:
    Hi,
    >
    > First thanks for the reply.
    >
    > I did all that but still when I post GR the system does not linked the conditions correctly .
    > When I use one condition I expect the system to post the delivery costs to the exact condition in purchasing.
    > If I use condition zm00 in shipment cost than it is supposed to post the delivery costs on zm00 in purchasing pricing.
    > Instead , The delivery costs are posted on the first condition according to purchasing schema regardless of the account key of the condition.
    > When  I use 2 conditions in the same shipment item category, for example, conditions zm00 and zm02, The system sum them and post it on the first condition according to purchasing schema.
    >
    > Michal
    Hi,
    In your Po condition type in control2 tab please check on "Copy shp cost" and condition should be percentabe based and same condition should be in the shipement cost pricing procedure.
    hope this will solve your query

  • Difference in price in PO condition and invoice

    Hi,
    The situation is as follows:
    A PO was created, released and GR done. One item in the PO has quantity 200 KG, price Rs. 100 per KG. So the net price is Rs. 20,000. Now, the price of that item has increased to Rs. 110 per KG, so the total net price would be Rs. 22,000. IR needs to reflect this.
    I was going to reverse the GR for that material using MBST, change the price in the PO item condition and repost GR. But, the stock has all been consumed. Since there is no stock, reversal of GR cannot be done.
    What is the standard method of handling such a case? Should the amount be reflected in the invoice in MIR7 / MIRO? Quantity remains the same, amount has changed. When the PO doument reference is given in MIR7 / MIRO, the system proposes Rs. 20,000 as the amount. If this is changed to Rs. 22,000, the document can be posted, but the difference of Rs. 2000 is being posted to a different G/L. Is this ok? What is the impact on finance? Is there a better way of handling this? Help is appreciated, thanks.
    Regards

    The difference will get posted in Invoice in the Price difference account.
    This is the Standard Process for this kind of the case.

  • Some conditional text in text inset showing when text inset is set to condition and hidden

    I'm using Frame 8 on XP Pro SP3.
    I have some text insets that I want to mark to appear or disappear depending on whether the document needs them or not. One is "domestic" and the other is "row".
    My problem is that within the text inset is a condition (G2) that also appears in the document that I want to show in the document whether or not the text inset shows.
    So what's happening is:
    1 - Click on the text inset.
    2 - Set it to "domestic".
    3 - Set my target file to show "row" along with "G2".
    4 - The text inset disappears except the "G2" tagged text from the inset still shows.
    I end up with a heading on the following paragraph that has the paragraph number followed by however many instances of text tagged "G2" in the text inset or insets followed by the actual text of the heading.
    I seem to remember that previously if you tagged a text inset with a condition and then turned off the condition, the text inset (all of it) did not show. So it appears that Frame 8 now will hide the text inset except for any text tagged with a condition that is used and set to show in the target file.
    I'm haven't played with the expressions much, but I'm not sure there's a way to tell it to use the "G2" condition in the file, but ignore it if it's in a text inset that isn't to be shown.
    Thanks,
    Mike

    Mike, please specify the exact version of FM you're using, from Help > About, the "pxxx" numbers.

Maybe you are looking for