Simple signal comparison problems

hi
i am tying to do a simple singnal comparison.
eventually i want to read in two square wave signals 0-5v signals from my usb6008 DAQ Card
But for now i want to
Get the simulated wavforms amplitudes, then decide which is bigger.
and light up the correct LED.
this is what i have come up with but it doesnt work any ideas??
Attachments:
comparison.vi ‏565 KB

I Changed the way the Express Vi was configured from equals to greater than. and now it works. If you have any more questions let me know.
Joe.
"NOTHING IS EVER EASY"
Attachments:
comparison[1].vi ‏801 KB

Similar Messages

  • SIMPLE Database Design Problem !

    Mapping is a big problem for many complex applications.
    So what happens if we put all the tables into one table called ENTITY?
    I have more than 300 attributeTypes.And there will be lots of null values in the records of that single table as every entityType uses the same table.
    Other than wasting space if I put a clustered index on my entityType coloumn in that table.What kind of performance penalties to I get?
    Definition of the table
    ENTITY
    EntityID > uniqueidentifier
    EntityType > Tells the entityTypeName
    Name >
    LastName >
    CompanyName > 300 attributeTypes
    OppurtunityPeriod >
    PS:There is also another table called RELATION that points the relations between entities.

    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    check the coloumn with WHERE _entityType='PERSON'
    as there is is clustered index on entityType...there
    is NO performance decrease.
    there is also a clustered index on RELATION table on
    relationType
    when we say WHERE _entityType ='PERSON' or
    WHERE relationType='CONTACTMECHANISM'.
    it scans the clustered index first.it acts like a
    table as it is physically ordered.I was thinking in terms of using several conditions in the same select, such as
    WHERE _entityType ='PERSON'
      AND LastName LIKE 'A%' In your case you have to use at least two indices, and since your clustered index comes first ...
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Have you ever thought of using constraints in your
    modell? How would you realize those?
    ...in fact we did.We have arranged the generic object
    model in an object database.The knowledge information
    is held in the object database.So your relational database is used only as a "simple" storage, everything has go through your object database.
    But the data schema is held in the RDBMS with code
    generation that creates a schema to hold data.If you think that this approach makes sense, why not.
    But in able to have a efficent mapping and a good
    performance we have thought about building only one
    table.The problem is we know we are losing some space
    but the thing is harddisk is much cheaper than RAM
    and CPU.So our trade off concerated on the storage
    cost.But I still wonder if there is a point that I
    have missed in terms performance?Just test your approach by using sufficiently data - only you know how many records you have to store in your modell.
    PS: it is not wise effective using generic object
    models also in object databases as CPU cost is a lot
    when u are holding the data.I don't know if I'd have taken your approach - using two database systems to hold data and business logic.
    PS2: RDBMS is a value based system where object
    databases are identity based.we are trying to be in
    the gray area of both worlds.Like I wrote: if your approach works and scales to the required size, why not? I would assume that you did a load test with your approach.
    What I would question though is that your discussing a "SIMPLE Database Design" problem. I don't see anything simple in your approach when it comes to implementation.
    C.

  • Help finding examples of simple signal processing - regression​s, etc

    Hello All,
    I was wondering if anyone has any examples of simple signal processing using the NXT (Labview 7.1 student edition with NXT plugin is what we're using).
    This would be for example, reading the distance from a wall with the ultrasonic sensor to see what angle your approaching at, so you can steer based on the result.
    Another example would be for passing by an object, reading the high/low point in the signal to determine the center (so you can pick it up).
    I'm assuming that the only functions you can use with the NXT are the ones in the NXT subdirectory on the functions palette?
    Thanks for any help you can offer.

    If you have WiFi at home, all you have to do is have the iPhone look for networks, find yours listed, and tap to connect. Enter password you setup for wireless connections.
    For on the road with no WiFi...Edge speeds are better than dial up (with full strength) but because it has a real browser and pulls full web pages and not mobile reduced ones, you may at times think it is slower than the BlackJack only because it is bringing down more.
    As for hotel, if the hotel charges, no you cannot bypass it. When you hop on a WiFi spot that does what you described (brings you to their page no matter what you try) it is because they have it setup to do so, until you accept thier terms of service (and pay if need be) it will just keep sending you to it.
    Places like Panera Bread offer free wifi, but the first time you try t browse it will show a Accept screen stating they are not responsible for hacks and what not since you are on an open network. You click the checkbox and hit the button, and then you are off and running free as a bird.
    Each place is just unique but all are pretty much setup that way (accept screen first). Some hotels show a accept screen and show a price but most times the price is listed at $0.00 and is only there because they paid a 3rd party provider to setup the network and that is out of the box stuff.

  • Je n arrive  signaler un probleme sur l appli dans l apple store

    je n arrive pas a executer une appli que j ai achetee. je ne trouve pas la fonction "signaler un probleme" sur l appli dans l apple store
    merci

    Quel est ton accès au réseau ? Un accès wifi de type freewifi, par ex., autorise assez mal les téléchargements conséquents.
    Après échec, as-tu détruit les fichiers partiels téléchargés ?
    Si tu as un Apple store près de chez toi, tu peux télécharger Mavericks gratuitement, et avec un bon débit.

  • Signaler un probleme sur vidéo !

    où signaler un probleme sur une vidéo acheté SVP ?
    Falco saison 1 épisode 3 =  fige d'image durant environ 1 minute à la fin de l'épisode !

    Bonjour,
    restait il suffisament de mémoire disponible sur le disque au moment où l'erreur s'est produite?
    Quand vous parlez de temps indéterminé, est ce un temps relativement long ou le problème peut se produire très rapidement.
    Avez-vous de nouveau été confronté à la même erreur depuis le reformatage?
    Avez-vous pu tester le même exemple sur un autre PC?
    Merci pour les informations complémentaires.
    Cynthia Arickx
    National Instruments France

  • Verizon iPhone having death grip signal loss problems too?

    Today I am reading story after story about people having the AT&T death grip signal loss  problems on their Veirzon iPhones despite the Verizon phone having a new antenna.  Is anyone really having this problem or is it being fabricated to alter sales?

    I can understand how possibly covering the antannae with your hand would drop the signal a little bit due to blocking it etc. However, I have watched the youtube video of the person giving evidence that this issue exists with the Vphone and as he was demonstrating it and showing the example, I followed along exactly as he was with my phone and it did not create the same issue at all. I tried several times downloading speed test, calling someone, openeing webpages and just simply could not recreate the issue.   Does that mean hes lying? No ,just means i suppose it is not happening to all phones.

  • ASHA 210 SIGNAL DROP problem

    I purchased a nokia asha 210 but am experiencing signal drop problems. I lose signal bars very very frequent;y. I would be glad if some one can direct me in resolving this issue.
    Shivam

    To rule out the phone,how old is your sim card,if its older than one year i suggest you change it.If you try your sim in another phone and the same issue occurs its your sim card.
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • Nokia 112 Signal Receiver Problem

    I am Using Nokia 112 (New Mobile).So many time tower is getting hide..And automatically tower is coming.In main cities also this problem is coming.I have cleaned my sim then inserted.But till that problem is coming.Actually Nokia 112 Having this type of Signal Receiver Problem? For new mobile i want to service?

    You may try another SIM (borrow from your friends / family members) . Preferably you may try SIMs from different operators. This will tell you whether its the problem with your Phone, your Operator or your particular SIM. If all SIMs give same result, it may be an issue with the phone..If other Operators SIM work fine but the other SIM from the same Operator as yours do not then its Network issue. If all othe SIMs work then get your SIM repalced ..           

  • E71-1 Signal strength problem in the UK

    Hi
    I am thinking of buying the E71; I've read glowing reviews and it looks really a great phone.
    However reading this forum is giving me second thoughts.
    Can anybody tell me if the is a signal strenght problem in the UK. If there is, is it on both the GSM900MHz band and the GSM1800MHz band or just the lower band? I'm with Orange which uses GSM1800MHz band
    Any information pertaining to the UK would be much appreciated.
    Thanks

    Hi ysgol
    I may have been a little flippant with this remark and was not intending it as a definitive solution and my apologies if it was so taken.
    Happy to have helped forum in a small way with a Support Ratio = 37.0

  • Simulate signal controlling problem

    Hi
    I have this signal controlling problem. In 10,20,30,40,50 the sine wave stops. How can i avoid that?
    Attachments:
    PWM.vi ‏251 KB

    I'm more concerned about the Wait inside of a Timed Loop.  That is totally unnecessary.  Change the timed loop into a normal while loop.
    As far as the Simulate Signal, I have no clue.  The settings look find as far as I can tell.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Signal drop problem in Asha311 network mode is kep...

    Hi All,
    I just purchased new Asha 311. i just noticed one strange thing. If phone network mode is kept on "Dual mode" 
    I am facing signal drop problem after every incoming or outgoing call ( same the case with SMS ).  when we keep network mode in "GSM" mode  there is no problem at all. 
    is anybody facing that problem. 
    guys please suggest what should i do ? . is it a problem in cell phone.
    Regards,
    amit kushwaha
    Solved!
    Go to Solution.

    When you select the dual mode the device will try to find the 3G connection. If the strength of 3G is adequate it will connect and when the strength falls it switches to GSM. Now if you are in an area where 3G is available but the signal strength is not that good, it will constantly switch between 3G & GSM. That leads to problem. Keeping phone in GSM mode forces it to stay that way & ensures constant connection. If you have 3G activated, then you can force the device to stay on 3G by selecting that mode. Please note that the coverage area of GSM in some places is more than 3G so you may get no signal on 3G but it may be present in GSM mode.
    Please mark the post as solution if it solves your problem.
    Current Device - Nokia Lumia 1020/920

  • Signal a problem

    Hello,
    I not buy a 'integrated buy' and I must pay a product no bought. It's not possible to signal a problem on my Windows 7/Office 2010.
    How it's possible to signal a problem of false bought of product ?
    G.A.

    Neither I would think, try contacting your carrier.

  • Averaging pmt signal and strange signal shift problem with recording

    Hello
    I'm a researcher at UCL and am quite new to Labview. I have a PMT and i've successfully created a program to read/show and write the data. From the signal I need the average pk to pk value and the average mean value. Is there any way I tell labview to average the signal out then display it and then write it to the file?
    Also, I came across a weird problem. I have split the output signal of the PMT to an oscilloscope and the daq card. When I press record in labview I see a shift in the signal seen on the oscilloscope and labview records that shift. Why is this happening? I'm guessing the circuits of the daq and pmt are not completely isolated so how could I solve this problem?
    Any help is really appreciated because I'm quite clueless about what to do next
    Thank You
    thh

    Hello THH,
    You could use the probability and statistics pallet found in the functions menu under mathematics, this will contain a mean value function which you could feed your data into. As for writing the data to a file I have attached a simple VI I'm am about to post as a community example that can help you understand how to format text files.
    As for the problems you are having with the signal shifting, this could be due to a few reasons. The first is an impedance mis-match between the scope and DAQ card, you can check our website for the specifications of your card. The Second reason could be a ground loop issue, you could solve this using an opto-isolator circuit.
    Hope this helps
    Kind Regards
    Regards
    Andrew George @ NI UK
    Attachments:
    Text File Manipulation.zip ‏23 KB

  • OnEnterFrame with multiple comparisons problem

    Hi Everyone,
    Hope someone can help. I have a simple script below that is
    giving me some headaches. I have two movie clips(square1 and
    square2) that are draggable. When they are dragged over the movie
    "circle," I want the polygon movie clip to be visible. The problem
    is the onEnterFrame only reads the last comparison for the hitTest
    on square2, so that square1 won't turn on polygon. Thanks to any
    advice.
    square1.onPress = function () {
    this.startDrag();
    square1.onRelease = function () {
    stopDrag();
    square2.onPress = function () {
    this.startDrag();
    square2.onRelease = function () {
    stopDrag();
    onEnterFrame = function () {
    if (square1.hitTest(circle) == true) {
    holder.polygon._visible = true;
    } else {
    holder.polygon._visible = false;
    if (square2.hitTest(circle) == true) {
    holder.polygon._visible = true;
    } else {
    holder.polygon._visible = false;

    If I'm understanding then you could use OR, which is made
    with || (that is the pipe key just above the return on a US
    keyboard).
    if(square1.hitTest(circle) || square2.hitTest(circle)){
    holder.polygon._visible=true;
    } else {
    holder.polygon._visible=false;
    To explain the simplifications here. hitTest returns true or
    false, so you don't actually need the comparison. The way the
    parens in if() work is that if what is inside comes out to true it
    is true and false is false. (More or less). So there are 4 ways
    this could be:
    if(false || false);
    if(true || false);
    if(false || true);
    if(true || true);
    Remember that || means "OR". So in this case the first one is
    false and the rest are true.

  • Signal strength problem on MacBook Pro

    We bought a new AirPort Extreme 802.11n for Christmas. Setup was fairly easy. We have two Macs--an 2005 iMac which is plugged into the AE via Ethernet, and a MacBook Pro from mid-2006 that we use in other rooms.
    Our problem is that the signal strength on the MacBook Pro is terrible. Even at just 20 feet away, the signal strength varies between 1 and 3 bars (most often just the one tiny bar). The wireless is basically unusable at that point because pages stop loading.
    To eliminate interference as a problem, our daughter brought her 2008 MacBook Pro over and we carried it around the house. It had 4 bar strength with no problems wherever we went and held 4 bars for hours while she used it in the kitchen. So we're pretty sure the problem is not interference in our house, unless her newer AirPort card is far better at blocking it.
    What could be causing the signal strength on the older MacBook Pro to be so lousy? The computer is a Intel Core Duo, 2.16 GHz, running 10.4.11. The wireless card is 0x168C, 0x86. The wireless network adapter is 802.11 a/b/g, so it's not running "n", but I can't believe that's the only reason it won't hold a good signal. The AE is set up to run "n" as well as the older ones. (Bear with me...this is my first experience with wireless!)
    We've been trying everything we can think of to improve the signal but nothing works. When the bars are in the 2-3 range it runs the internet fine, but the problem is that the signal constantly shifts between 1 and 3. So is the AirPort card in the computer that weak?
    Any ideas are most welcome. Thanks.

    Sorry, posted in wrong forum by accident. Please ignore.

Maybe you are looking for