How can I programmat​ically detect transition times in a digital waveform

Hi, I have a digital waveform and at certain times I have transistions and glinches , how can I programmatically detect and record the time stamps of the transitions
Thanks  

Let me see if I understand you. You are reading 14 bits in parallel and you want to know how long between transitions of just one of those bits - say bit 11. Is this bit number constant or can the number of the bit in which you are interested change?
Well, you could XOR the value from each read of the digital bits with the 14 bits you got from the previous read. If the resulting value of bit 11 is true, the state of bit 11 has changed. Use that flag to read/restart an interval timer. Of course the resolution of your measurement will be dependent upon the rate at which you are reading the 14 bit input. If you are only sampling the 14 bits every 500 msec, you obviously won't be able to measure intervals of less than 1/2 sec.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Similar Messages

  • How can I stop ical from deleting time information from event titles?

    I sometimes like to put times (e.g., 10pm) in the titles of my events.  I do this because I want to see the time in the event title for certain events.  Apple's ical thinks it knows what I want (it doesn't!) and deletes this information from the title, probably to schedule the event at that time, which is ridiculous because I sent the time of the event when I create it.  This is especially annoying because I want the time in the event title for a reason.  I can't figure out how to turn this function off.  Apple, if you're reading this, please add an easy on/off switch to this "feature," (or better yet, remove it).  In the meantime, does anyone know how to get around this?

    Enter them in a format that Calendar doesn’t recognize as a time.
    Or go back and edit the title after it recognizes the date/time info.

  • How can I programmatically remove a selection of plots from a waveform graph?

    I have a waveform graph to display a number of plots, which I need to programmatically add and delete to as selections of data are chosen by the user for display.
    I've looked under the VI Server Property node and cannot see anything suitable for adding extra plots, or removing existing plots. I expected to see a Plot Data array variable, with each element containing the data for each of the plots on the graph. There is such an array for the annotations, which I can easily edit by Removing Subset for Array, or Insert into Array, but nothing for the plot data. The Value property is a Variant, which I'm unsure how to handle. Should I be working with this perhaps? Can this be done by creating a Local Variable read node? Or am I missing something simple here??
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

    Hi Mike,
    I was trying to use the Property Node (Value) to read the waveform graph, but I was getting a Variant type back, not a 2D array of DBLs as I expected. Turns out I was passing the graph control reference to a subvi whose control refnum had the Include Type flag unchecked. As a result of this explicit definition, Value was of an uncertain (undefined) type and couldn't be natively provided. It would have had to have been cast into a more specific type to work. Have solved the problem by ensuring all my references are of a strict type, and now (as you recommend) the Property Node (Value) is useful
    Many thanks for the response!
    And many thanks for the demo too! You put that together remarkably quickly!
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

  • How can I programmatically change the number displayed on a digital control?

    In my application, there are two while loops. The inner loop has a digital control where the user can enter a number. If he enters an invalid number, I want to clear his input.

    One way of doing is see attach..
    need to use property node and case structure.
    When you feel sad, laugh
    Attachments:
    25feb04.vi ‏28 KB

  • How can I sync ical To Do Tasks? About time?

    any ideas on How can I sync ical To Do Tasks? ideally I'd like to sync to my ipad too
    I currently have Outlook 2011 syncing its tasks to ical nicely, just now need to put them onto my iphone then it would be perfect!
    I'm guessing there might be some apps that do this, but would love some suggestions if anyone has any?
    thanks in advance?

    Unfortunately this is far from easy. It used to be possible with MobileMe, but the process requires a CalDAV server, which very few website hosting services are.
    The first step is that you can't do this with an iCloud calendar: it has to be listed under 'On My Mac'. Control-click the calendar and choose 'Publish'. Set 'publish on' to 'A private server' (I'm looking at this on Snow Leopard, where the default is 'MobileMe', which obviously won't work - I don't know if Mountain Lion is different). What I see is this:
    You will want to check 'Publish changes automatically'.
    Unfortunately it now gets difficult. If you publish to an ordinary website hosting server, all you will get is a text file. MobileMe had the facility to take the published file and turn it into a structured web page. I'm afraid you may have a lot of difficulty in finding a server to do this - I did see a reference to one which claimed to be able to do this, but people were complaining that it didn't work and unfortunately I can't remember the name. iCal's instructions rather assume that you will be running your own server, which I would assume you don't want to get into - I wouldn't.
    The easier alternative is to publish publicly from an iCloud calendar - please see http://help.apple.com/icloud/#mm6b1a9479 and expand 'Share a public calendar' - but recipients will need a CalDAV client to open it: iCal is of course one, and Google Calendars another (though I've seen complaints of it being flaky).

  • How can I get iCal not to show the same birthday dates from my iCloud

    How can I get iCal not to show the same birthday dates from my iCloud?

    You don't need them stored locally for a backup. You can manually export your contacts as archive for backup. Also, if you are backing up with Time Machine, you already have a backup. If your hard drive crashed, you would have to rely on your backup or iCloud anyway.
    So, if you're comfortable with that, sign out of iCloud. Choose to delete contacts from the computer. When you sign back into iCloud, you should only have iCloud contacts listed in AB. When you open iCal, you should only have one listing for birthdays.
    The other alternative is to disable the Birthday c.alendar and create one manually.

  • How can I edit iCal server addresses in Mountain Lion? I keep getting an error with regards to my google calendar and I understand that the way to fix the problem is adjust the server address, but I cannot access it because the preferences are restrictive

    How can I edit iCal server addresses in Mountain Lion?
    I keep getting an error message with my google calendar, and I heard that if I delete the extra slash at the end of the address the problem will be fixed. But the iCal account preferences take me to system preferences > accounts every time I want to edit the account.
    Does anyone know where I can edit the server address?

    You should ask in the iCloud forum, this is for iMacs. https://discussions.apple.com/community/icloud/icloud_on_my_mac

  • How can I add the same transition to 200 photos?

    I'm making a slide show of over 200 photographs. How can I add the same transition between each photo without inserting it 200 times? There has to be a way to globally' insert transitions. What if I want to modify the length of the transitions or the photos? I don't want to modify each one individually.

    Daniel,
    Here are some references for you for applying a transition between all photos
    1)
    http://www.adobeforums.com/webx/.59b4ddb1/0
    will point you to a tutorial at muvipix.com
    Basically you do a Create Slideshow command choosing the transition before the photos are placed on the Premiere Elements Timeline. This process also specifies the duration for the "slide" and the transition.
    2)I suggest that you also read this FAQ about the resolution of photo files to be used in Premiere Elements. Even though written for an earlier version, it is still relevant (and potentially necessary) depending on the specs and status of your system
    http://www.adobeforums.com/webx/.3bb8822c

  • HT2305 how can I correct my date and time on my 3G?

    How can I correct my date and time on my 3G? Thanks in advance!

    Just trying to go along the free route. I found Garage Buy   This doesn't work to well but lets you create an applescript and enters the auction into ical. Then you can set ical to run the script once it gets closer to the time.
    Ical only lets you set a time of a minute before the date. So you have to edit the script to add a Delay 59 to have it run 1 second before. From a few refreshes of the time page it looks like ebay time is a second behind, that could be easily be due to time to load the page. anyway i'll opt for a delay of 57secs and give that a try.

  • How can I turn off the transition effect in Spaces?  - It's making me sick!

    How can I turn off the transition effect in Spaces?
    Can I do this through the terminal somehow?
    I have three monitors and the transition effect is giving me motion sickness.

    Hi,
    I'm afraid there does not appear to be anyway of turning off the sliding transition in spaces. There's no option to turn it off or to change it to another effect.
    I use spaces all the time as I have a 15" MacBook Pro and it's incredibly useful to have a screen dedicated to e-mail and IM and another for Safari and two other screens for applications. There's just not enough screen real estate for all those windows. I think Spaces is one of the most useful user features of Mac OS X.
    Maybe we should send in a feature request to Apple? I used to use some third party software to do the same before Spaces was released and it had a selection of transitions or none at all.
    Personally, I'm now used to the transitions but as I don't have multiple monitors perhaps I'm being spared the motion sickness!
    Good luck.
    Andy E

  • How can I stop iCal from popping up for no reason ?

    Since today, my iCal is popping up as an opened application for no reason and I've had, up to now, to quit it 3 times. It's really annoying. I don't even use iCal anymore since I have BusyCal, which is a better version of iCal, but a totally different application.
    How can I stop iCal from popping up for no reason like that. Please, anyone, help me.

    What exactly is triggering this, are you clicking on some kind of file?

  • How can I programmatically clear a chart?

    Hi,
    Could you please let me know how can I programmatically clear a chart? I would like to run a code multiple times and everytime I run it , the chart should be cleared . I tried to find a History property node but seems like there is no such properfy node for chart

    If I have conceived your problem clearly, there is of course history data property node for charts. You may get one by right clicking on chart 
    create>>Property node>>History data(which is last on list)  
    CLAD
    Passionate for LabVIEW

  • How can I clean up queue one-time on Sun Java system messaging 6.3

    Hi,
    <address>Our Email server have a problem, When I run _./imsimta qm directory tcp_local_, There are about 5 Millions of messages in the queue.</address>
    Now our Email server send messages very slowly, how can I clean up queue one-time?
    the command _./imsimta qclean_ is very slowly.
    What can I do to prevent this problem?
    our Email server version is :
    Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)
    libimta.so 6.3-6.03 (built 17:12:37, Mar 14 2008; 32bit)
    SunOS email-1 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V890
    Thank you !

    If you have more than 100,000 messages in the queue, then look at the MAX_MESSAGES parameter in [the job_controller.cnf file|http://wikis.sun.com/display/CommSuite/Job+Controller+Configuration+File]. If the parameter is not specified, it defaults to 100000. If you have more than that number of messages in the channel queues, it will take a long time for new/legitimate messages to be sent because job_controller is only considering the first 100,000 messages in the queue.
    If you get into the "imsimta qm" command do do "sum -database", it will show a summary of what job_controller has in its internal cache and therefore what job_controller is working on. If you compare that to "sum -directory" you will probably see a difference.
    If these are all legitimate messages, you need to increase MAX_MESSAGES, cnbuild, and restart job_controller.
    If they are not, then preventing this in the future will require determining how they got into your queue and correcting that.
    As for removing them, the "imsimta qm" commands allow you to select messages by various criteria and then you can "return" or "delete" them. But yes, that will take a long time if there are many messages because it is a single threaded process and it needs to open and examine each message. You may be able to accomplish the task more quickly with a shell script that works on individual channel queue subdirectories and then run multiple copies of that script in parallel. After you have cleaned out the queue, restart job_controller.
    Also, you might want to consider [the subdirs channel keyword|http://msg.wikidoc.info/index.php/Subdirs_and_nosubdirs_Channel_Options].

  • How can i browse data in my time capsule with my iPhone?

    how can i browse data in my time capsule with my iPhone?

    You might want to take a look at FileBrowser.
    App Store - FileBrowser - Access files on remote computers

  • How can i use in the same time input line and mic to recorder in several track whit SONAR

    I have beem recording only input line because SONAR 4 not recognized the mic in, Help me!!!.
    Thank you. Sorry for my english

    LIMACAR wrote:
    How can i use in the same time input line and mic to recorder in several track whit SONAR 4. I have beem recording only input line because SONAR 4 not recognized the mic in, Help me!!!.
    Thank you. Sorry for my english
    Depending on which soundcard you have there, but if your card is capable for
    ASIO -> activate I/O drivers on Sonar/Options/Audio/Drivers -tab (mic/line sources should be listed there --> activate) and select the mic or/and Line sources on tracks "I" - dialog
    WDM/KS -> use the Surround Mixer or windows recording controls for recording source selection (mic should be listed there)
    MME32 - > same w/ WDM/KS
    If you use Asio4All --> same w/ WDM/KS & MME32
    No mic and line source simultaenously w/ WDM/KS and MME32.
    You perhaps be able to do this w/ kX drivers.
    jutapa
    ADDED:
    You can also install modded version of Audigy 2 drivers/software but I have never done this w/ Li've! 5. so I can't be sure if you get ASIO support for your card.
    Here are the instruction --> http://www.tech-pc.co.uk/audigy-2.php
    jutapaMessage Edited by jutapa on 05-25-2006 02:48 PM

Maybe you are looking for

  • Script error line 2107 char 1 error unspecifie​d error code 0 url://iefr​ame.dll/pr​iview.js

    officejet 4500 all-in-one will not print emails or webpages? I get this error message? script error line 2107 char 1 error unspecified error code 0 url://ieframe.dll/priview.js

  • Where do I find online on the web the BT Vision mo...

    I have seen olfer postings to a web page that seems to no longer exist.. http://www.btvision.bt.com/listings/on-demand/film but I want to be able to review what is available onthe web rather than scross through everything on the BT Vision menu

  • JTabel Question

    I am trying to display the content of a selected in a JTable in a JTextField. Here is a partical of my code: //editTFD and mainTable are global editTFD = new JTextField();      editTFD.setEditable(true);      editTFD.setBorder(BorderFactory.createLow

  • Can i download vista from Microsoft web page?

    Hey, Maybe you have seen from my last posts that i have been asking about vista and boot camp, but when i went to buy it they told me that here (where i live) there is no vista DVD they just come with the computers, so here is my question: Can i down

  • CS5 - publishing AS2.0 SWFs very slow

    Having just recently started to work with CS5 I can't help noticing that publishing/exporting SWFs is very slow compared to CS3. A file that takes 3 seconds for CS3 to publish takes, on average, 12 seconds to publish in CS5... 4 times slower! Anyone