How do I keep track of when a signal hits a certain voltage?

I am fairly new to Labview, and I am having trouble with the following.  I am working on replacing a Digital Vector Filter with Labview software.  I have a rotating shaft with eccentricities, which are measured by X and Y proximitors.  Also, a keyphasor voltage keeps track of the rotation rate, which enables me to relate X and Y to each other. Essentially, I have to find when the keyphasor voltage hits -11 volts, and keep track of when that happens, then, keep track of the next time that happens, in order to get the time it takes for one revolution. I don't know if this makes a difference, but the data is coming in as dynamic data.  I want to be able to tell the user what the rotational rate is as the program is running.

Thanks for the help!
I have taken the vi you gave me and changed it to a bit.  The voltage going in is being sampled rather quickly, and thus there is no actual point that equals -11 Volts. I want to do something like the following: Check timer time, tm, and check:
if tm-1 > -11 Volts   and tm < -11  
do the following calculation to get the actual value time that voltage crosses -11 Volts, tk.
tk= (tm-1) + (  (tm- (tm-1)     ) / ( Km - (Km-1)  ) )  *  (-11-(Km-1)),      where Km is the voltage at tm.
I want to be able to do this streaming, to show the user what the tk value is live.  The only times I really need to save are tm and tm-1, from there I can save all the tk's in an array for further analysis.
Please let me know if this is possible.
Thanks 
Attachments:
keyphasordata.xls ‏1773 KB
Barebones.vi ‏90 KB

Similar Messages

  • How can I keep tracks playing when I'm browsing?

    There must be an obvious answer to this question, but I don't know what it is.
    If I'm playing an album, but then start to browse somewhere else (as one would do if listening to a CD), the music will stop after the track has finished, and not go on to the next track. (because the tracks are no longer in the browser window)
    How can I keep playing what I want, in the order that I want, while I am browsing other music?
    Thanks

    I find this to be a problem as well, especially since I know I was able to work with iTunes this way before I installed iTunes 7.3?
    I'm reading some other posts which suggest that being able to play tracks from an library subset (genre, album, artist) AND browse other playlists at the same time was never a feature of iTunes.
    Since I know I'm not imagining that I used to use iTunes quite happily, I'm wondering is there an option in 7.3 that I'm not paying attention to?
    It seems crazy not to be able to do this.

  • How does DIAdem keep track of which version is active when multiple versions are installed?

    I need a way to find out which version of DIAdem is active, without creating an automation reference. How does DIAdem keep track of this? I don't think it's through the registry as far as I can tell. Thanks.

    Hi,
    I'm not quite sure what you mean by "version of DIAdem is active". If you are trying to reference DIAdem from an external program, you will need to use an automation reference. Besides this case, I am not sure what you are referring to.
    Perhaps a short description of your application or intended use will help me point you in the right direction.
    Allen P.
    National Instruments

  • How can I keep track of ans of quest ???? [Struts]

    hi,
    I am trying to develop Question-Answer pages using struts.
    The problem is when user selectes the right option(radio button) of different different quest. how can i keep track of these selected radio buttons ???
    I mean how can i trace the value of selected radio button corresponding to its quest. in my ActionForm and ActionClass.
    //loop for all questions
    <logic:notEmpty name="QUEST_LIST">
         <logic:iterate id="list" name="QUEST_LIST"  indexId="sno">     
         <tr>
              <td><%=(sno.intValue()+1) %>
              </td>
              <td> <bean:write name="list" property="QUESTION" />
              </td>               
         </tr>
         <tr>//loop for all options of corresponding question
    <logic:iterate id="OptionList" name="list" property="OPTION_LIST">
              <td> 
              </td>
              <td><INPUT type="radio" name="<bean:write name="list" property="QUESTION_ID" />" value="<bean:write name="OptionList" />">
                   <bean:write name="OptionList" />
              </td>
              </logic:iterate>
         </tr>     
         <tr><td> </td>
         </tr>
         </logic:iterate>
    </logic:notEmpty>Now my problem is in statement.....
    INPUT type="radio" name="<bean:write name="list" property="QUESTION_ID" />" value="<bean:write name="OptionList" />">
    if I hardcode the valueof "name" attribute then only one radio button is selected from all the question, so i created it dynamically using quesID.
    now its working fine only one radio can be selected for each quest. BUT how I set the values of these selected radio button in my ActionForm and get it into ActionClass
    I hope u understand what i am trying to say.....
    Please help me......

    hi,
    try "last" in the client's terminal. is this what you are looking for?
    cheers,
    Michael.

  • How do I keep track of dialog boxes?

    If I have a three question test, How do I keep track of the answers?

    OK a bit of sanity.
    you have a 3 question test.
    presumably you have a 3 element array of questions (Strings?)
    String[] questions = {"What is 1 + 1","What is 2 + 2","What is 3 + 3"};
    in a loop you ask each question, then get the response to each.
    String answer = .....readLine();
    if you change this to an object
    class Question
      String question;
      String answer;
      public Question (String q){question = q;}
    }then your array looks like this
    Question[] questions = {new Question("What is 1 + 1"), etc
    so now the display of the question changes from
    System.out.print(questions[x]);
    to
    System.out.print(questions[x].question);
    likewise for the answer
    from
    String answer = .....readLine();
    to
    questions[x].answer = .....readLine();
    now, in your Question array, each 'question' stores the answer received

  • How do I keep track of stats and subscriptions of my podcast? Mine was just added today.

    My podcast, The Big Seance Podcast, was just added to iTunes today. Other than keeping track of stats through my host (Libsyn), how can I keep track of subscriptions, ratings, and downloads through itunes? Thanks!

    Hi Patrick,
    You will not get any stats from Apple / iTunes.  You need to get that info from your libsyn account.
    If you want to see the number of people consuming via iTunes or the Podcasts App (AppleCoreMedia) - you will need to have the advanced stats - App 400 or greater level account in Libsyn.
    That is the only way to get the info you are looking for.
    Regards,
    Rob W

  • My IPad has been stolen and I was trying to track it on 'find my ipad' but the thief kept it offline. I just saw him change my user id. Any recommendations on how I can keep tracking the stolen device?

    My IPad has been stolen and I was trying to track it on 'find my ipad' but the thief kept it offline. I just saw him change my user id. Any recommendations on how I can keep tracking the stolen device?

    Yes, I filed police report, but there is nothing they can do until I get back to them on the tracking. It's been offline. I'm sure the whoever took it can find a way around breaking in the ipad..i really was hoping to get my pictures and videos of my kids back

  • How can I keep the formatting when converting from Word to pages?

    How can I keep the formatting when converting from Word to pages?

    Use only formatting that is supported (in the same manner) in both applications. You'll need to find which that is through trial and error. Beyond those formatting options, you'll need to do some corrections, as Fruhulda suggests.
    Regards,
    Barry

  • How can I keep my keywords when I export my pictures to a disc

    How can I keep my keywords when I export my pictures to a burn disc. i am working in iphoto 8

    margj
    The keywords are written to the IPTC data of the file. The Finder doesn't read this but other photo apps will.
    If you want to confirm the keywords, examine the pics with Graphic Coverter.
    What are you trying to do here? Back up your Library?
    Regards
    TD

  • How can I terminate my sequence when DI signal changed?

    Hello, I have a problem that  I want to stop my sequence by DI signal changed.
    How can I terminate my sequence when DI signal changed?
    Thanks
    Solved!
    Go to Solution.

    Hi, you can test the DI signal in vi using a while structure in another thread while main sequence is running. Then you can make use of an if statement to determine whether to get on running the sequence by the value of the vi.

  • My Mac pro tower has an "ATI Radion hd 2600 XT" video card, and it stopped getting signal to my tv, are there common problems known? How can I troubleshoot this problem when the signal isn't reaching the screen?

    My Mac pro tower has an "ATI Radion hd 2600 XT" video card, and it stopped getting signal to my tv, are there common problems known? How can I troubleshoot this problem when the signal isn't reaching the screen?

    http://discussions.info.apple.com/thread.jspa?messageID=12248238&#12248238
    http://discussions.apple.com/thread.jspa?threadID=2649035&tstart=0

  • Keep track info when burning cd

    When I burn a playlist to a cd (disk format: audio cd) I loose all track info when I play on a different computer. How can I keep the info?

    Just to be clear, CD-TEXT is sort of considered to be part of the Red Book CD specification (an extension of the standard). From Wikipedia:
    CD-TEXT is an extension of the standard "Red Book" Compact Disc specification, which allows text to be associated with each track. On most disks, this space is used to store the track and album titles as well as the performing artist name. The P and Q subchannels are normally used to store the information. The specification was released in September 1996, and backed by Sony. Support for CD Text is common, but not universal. Utilities exist to automatically rip CD-TEXT data, and insert it into CDDB or freedb.
    I would have to think about this for a minute, but off the top of my head, I think iTunes is the only audio software I use that doesn't support CD-TEXT. Reading it is certainly not a difficult thing to implement, so it would be nice if Apple got around to this at some point, since CD-TEXT has been around for 10 years. Incidentally, I recently bought a new CD-RW drive for my PC, so I ripped all my CDs again with EAC. I was shocked to see how many pressed audio CDs I have with CD-TEXT information. Many of them are from the 90's.

  • How do I keep track of how many times a method is called inside anthr clas?

    I am writing code for a program that solves a Knight's Tour. A Knight's Tour is a path a Knight Chess piece can take around the board starting at any spot, touching every square once, and only once. I have to write 2 classes and one is provided. The provided class is encrypted and written by our professor. All I know that it does is simulates the game using the two classes I write and provides a print out and prompts to ask the user which square they want to move to next.
    The square class I have to write consists of a constructor that makes a square object that keeps track of its color (white/black) and its status (whether it has been visited, is occupied by the knight, or is free and has not be visited).
    The GameBoard class I have to write is what I am having problems with. I am writing a method that determines how many squares have been visited. The previous mentioned class that my professor wrote for me contains a method moveKnight();. The way the program works is that every time moveKnight() is called a square's status is changed to occupied and therefore visited later. moveKnight() will only work if the move requested by the user is a valid move.
    SO! My main problem (sorry for all the explaining, just trying to give you all the information) is that I don't know how to keep track of how many times moveKnight() is called by the program. If i can figure this out it should be simple. I'm new to java but i believe...
    if(moveKnight() is called)
    {count++;} //count is a member variable already initialized
    return count;
    the moveKnight() is called section within the if() statement is what I am unclear how to do. Please help.
    Thanks, Veritas

    in your case you want 'count' to be a class attribute rather than a local variable. But yes, incrementing it each time that the method is called will serve your purpose.

  • HT204053 how do i keep track of my stolen iphones location?

    I useed the find my phone app and was able to locate my iphone yesterday. I made it make a noise, put it in lost mode and then i erased. I recieved four mails  want toiApple giving me proof of what I had already sone to my iphone but I wanted to keep track of my phone and I  dont know how  or where to start again. Please help...

    Once you selected ERASE, you eliminated the ability to track the device.  Sorry.

  • Keeping tracks together when shuffling

    I want to keep certain tracks together when listening in shuffle mode (for example The Four Seasons). I thought this was what the groupings was for, but it doesn't seem to have that effect. Is there any way of doing this?

    You would need to physically link the songs together to prevent them being separated during shuffle. You could rip the tracks over again from the original CD using "Join CD Tracks" from the Advanced menu when you are importing: Adding Content to iTunes
    You can also have a look at Doug's iTunes scripts for this script which will join tracks after they've been imported Note: This script allows you to join any two (or more) MP3 tracks (it doesn't join other formats), provided that they are the same format and bit rate: Track Splicer
    Doug also has this shareware program you might find useful (this will join AAC tracks as long as they are not ITunes Store copy protected versions): Join Together

Maybe you are looking for

  • Creative Cloud Licence

    My Im ac is now dead and non responsive. How do I transfer my licence to a new machine?

  • Numbers in time not showing up

    I just installed leopard and I am just looking around and the 2 is missing all the way through from 10:20 till 10:29. odd

  • Manual Database Creation in Linx

    Dear All, I have installed Oracle 8i on linux. But due to some problems I couldnt run database assistant and configuration of network. When I tried to run dbasst & netasst those are also not runing. Please can anybody tell me how to configure both of

  • Using Cisco Prime NAM as Netflow collector

    Hi everybody, I would like to know if it's possible to use a Cisco Prime Network Analysis Module for ISR G2  as a NetFlow collector.  A draft of architecture is attached. What I need to do is monitor Gi0/0 and Gi0/2 and produce reports about the tota

  • Printing in 10.5.2

    I recently bought a macbook with 10.5.2 Leopard. I also bought a hp photosmart 4280, both be bought in the apple store, the assistant said they would work together wirelessly if I connected the printer to the airport extreme I also bought. The assist