Count Squares with 500Hz

Hi!
I've generated with the ExpressVI "Simulate Signal" a Square with the maximum frequency of 500Hz (it varies). Now I want to count the falling flanks.
I tried this with the "Trigger Counter.vi"-Example which I slightly changed for my purposes. (see attached file) But it seems as if the Counter is not fast enough for my Signal (- it counts too slow).
Does anybody have an idea how I can solve the problem and count the correct value of squares?
Shorty to my system: I tried it with a 2GHz Sempron with LabView8 
                                      and with a 1,3GHz Centrino with LabView7.1
Thank you in advance
  Hendrik

If you have a simulated square wave waveform, you can count falling edges by simple emulating what a counter does, essentially for each poind threshold it.  If it is above some threshold it is a high value, and if it is below th it is low, use a shift register to compare sequential hi/low booleans.  Check for a high to low transition (if n-1 is high and n is low there is a falling edge) use another shift reg to count these events.  Do this for every point in the waveform.  If you have simulated a noisy signal, you can get more advanced usint techniques such as a schmitt trigger (hysterisis).
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA

Similar Messages

  • My New Tab Page does not work at all. I just have the empty squares with nothing in them at all?

    My New Tab Page does not work at all. I just have the empty squares with nothing in them at all?
    I know how to use about:config & have had the usual problems with newtab page tiles but this is more like a bug- using 33.0.1. Doesn't show tiles icon in top right corner just shows a gear that is used to hide the empty tiles that I can't fill with sites. First it would only show 2 rows of 4 columns even though I had it set to 5 & 6 then few days later for no reason they went empty with a serrated line around the tiles & can't drag from the bookmarks---- really bloody annoying!!!!!!! Possibly a setting in the about:config but i can't fig it out?

    Reset Firefox to its default state
    If you're having major problems which you can't resolve, start fresh with only your essential information.
    Troubleshooting Information
    This page contains technical information that might be useful when you're trying to solve a problem. If you are looking for answers to common questions about Firefox, check out our support website.
    Application Basics
    Name Firefox
    Version 33.0.1
    Update History
    User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
    Profile Folder
    Enabled Plugins about:plugins
    Build Configuration about:buildconfig
    Memory Use about:memory
    Multiprocess Windows 0/1
    Crash Reports for the Last 3 Days
    Report ID Submitted
    All Crash Reports
    Extensions
    Name Version Enabled ID
    Adblock Plus 2.6.5 true {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}
    Adblock Plus Pop-up Addon 0.9.2 true [email protected]
    Skype Click to Call 7.3.16540.9015 true {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}
    Trend Micro BEP Firefox Extension 8.0.0.1173 true [email protected]
    Trend Micro NSC Firefox Extension 6.8.0.1120 true {22C7F6C6-8D67-4534-92B5-529A0EC09405}
    Trend Micro Toolbar 7.0.0.1243 true {22181a4d-af90-4ca3-a569-faed9118d6bc}
    Graphics
    Adapter Description Intel(R) HD Graphics
    Adapter Drivers igdumd64 igd10umd64 igdumdx32 igd10umd32
    Adapter RAM Unknown
    Device ID 0x0046
    Direct2D Enabled true
    DirectWrite Enabled true (6.2.9200.16571)
    Driver Date 1-30-2013
    Driver Version 8.15.10.2993
    GPU #2 Active false
    GPU Accelerated Windows 1/1 Direct3D 11 (OMTC)
    Vendor ID 0x8086
    WebGL Renderer Google Inc. -- ANGLE (Intel(R) HD Graphics Direct3D9Ex vs_3_0 ps_3_0)
    windowLayerManagerRemote true
    AzureCanvasBackend direct2d
    AzureContentBackend direct2d
    AzureFallbackCanvasBackend cairo
    AzureSkiaAccelerated 0
    Important Modified Preferences
    Name Value accessibility.blockautorefresh true
    accessibility.typeaheadfind.flashBar 0
    browser.cache.disk.capacity 358400
    browser.cache.disk.smart_size_cached_value 358400
    browser.cache.disk.smart_size.first_run false
    browser.cache.disk.smart_size.use_old_max false
    browser.cache.frecency_experiment 1
    browser.places.smartBookmarksVersion 7
    browser.sessionstore.upgradeBackup.latestBuildID 20141023194920
    browser.startup.homepage www.google.com
    browser.startup.homepage_override.buildID 20141023194920
    browser.startup.homepage_override.mstone 33.0.1
    browser.tabs.loadInBackground false
    dom.mozApps.used true
    extensions.lastAppVersion 33.0.1
    font.internaluseonly.changed true
    gfx.direct3d.last_used_feature_level_idx 1
    keyword.URL http://www.bing.com/search?FORM=UP97DF&PC=UP97&q=
    media.gmp-gmpopenh264.lastUpdate 1413750166
    media.gmp-gmpopenh264.version 1.1
    media.gmp-manager.lastCheck 1414375733
    network.cookie.prefsMigrated true
    places.database.lastMaintenance 1414404204
    places.history.expiration.transient_current_max_pages 102059
    plugin.disable_full_page_plugin_for_types application/pdf
    plugin.importedState true
    plugin.state.npmedia 0
    plugin.state.nptimegrid 1
    print.printer_Canon_MG2100_series_Printer.print_bgcolor false
    print.printer_Canon_MG2100_series_Printer.print_bgimages false
    print.printer_Canon_MG2100_series_Printer.print_colorspace
    print.printer_Canon_MG2100_series_Printer.print_command
    print.printer_Canon_MG2100_series_Printer.print_downloadfonts false
    print.printer_Canon_MG2100_series_Printer.print_duplex 3997817
    print.printer_Canon_MG2100_series_Printer.print_edge_bottom 0
    print.printer_Canon_MG2100_series_Printer.print_edge_left 0
    print.printer_Canon_MG2100_series_Printer.print_edge_right 0
    print.printer_Canon_MG2100_series_Printer.print_edge_top 0
    print.printer_Canon_MG2100_series_Printer.print_evenpages true
    print.printer_Canon_MG2100_series_Printer.print_footercenter
    print.printer_Canon_MG2100_series_Printer.print_footerleft &PT
    print.printer_Canon_MG2100_series_Printer.print_footerright &D
    print.printer_Canon_MG2100_series_Printer.print_headercenter
    print.printer_Canon_MG2100_series_Printer.print_headerleft &T
    print.printer_Canon_MG2100_series_Printer.print_headerright &U
    print.printer_Canon_MG2100_series_Printer.print_in_color true
    print.printer_Canon_MG2100_series_Printer.print_margin_bottom 0.5
    print.printer_Canon_MG2100_series_Printer.print_margin_left 0.5
    print.printer_Canon_MG2100_series_Printer.print_margin_right 0.5
    print.printer_Canon_MG2100_series_Printer.print_margin_top 0.5
    print.printer_Canon_MG2100_series_Printer.print_oddpages true
    print.printer_Canon_MG2100_series_Printer.print_orientation 0
    print.printer_Canon_MG2100_series_Printer.print_page_delay 50
    print.printer_Canon_MG2100_series_Printer.print_paper_data 1
    print.printer_Canon_MG2100_series_Printer.print_paper_height 11.00
    print.printer_Canon_MG2100_series_Printer.print_paper_name
    print.printer_Canon_MG2100_series_Printer.print_paper_size_type 0
    print.printer_Canon_MG2100_series_Printer.print_paper_size_unit 0
    print.printer_Canon_MG2100_series_Printer.print_paper_width 8.50
    print.printer_Canon_MG2100_series_Printer.print_plex_name
    print.printer_Canon_MG2100_series_Printer.print_resolution 7602290
    print.printer_Canon_MG2100_series_Printer.print_resolution_name
    print.printer_Canon_MG2100_series_Printer.print_reversed false
    print.printer_Canon_MG2100_series_Printer.print_scaling 1.00
    print.printer_Canon_MG2100_series_Printer.print_shrink_to_fit true
    print.printer_Canon_MG2100_series_Printer.print_to_file false
    print.printer_Canon_MG2100_series_Printer.print_unwriteable_margin_bottom 0
    print.printer_Canon_MG2100_series_Printer.print_unwriteable_margin_left 0
    print.printer_Canon_MG2100_series_Printer.print_unwriteable_margin_right 0
    print.printer_Canon_MG2100_series_Printer.print_unwriteable_margin_top 0
    privacy.sanitize.migrateFx3Prefs true
    privacy.sanitize.timeSpan 2
    storage.vacuum.last.index 1
    storage.vacuum.last.places.sqlite 1412311800
    Important Locked Preferences
    Name Value
    JavaScript
    Incremental GC true
    Accessibility
    Activated false
    Prevent Accessibility 0
    Library Versions
    Expected minimum version Version in use
    NSPR 4.10.7 4.10.7
    NSS 3.17.1 Basic ECC 3.17.1 Basic ECC
    NSSSMIME 3.17.1 Basic ECC 3.17.1 Basic ECC
    NSSSSL 3.17.1 Basic ECC 3.17.1 Basic ECC
    NSSUTIL 3.17.1 3.17.1
    Experimental Features
    Name ID Description Active End Date Homepage

  • In Mail 3.6 remote images in HTML messages display as blue squares with ? even though checked in viewing references.

    In Mail 3.6 remote images in HTML messages display as blue squares with ? even though checked in viewing references.

    Nurit,
    The point is that that button should not be there, if the preference setting is as you say. This indicates the preference setting is stuck, and that is what I was trying to help you resolve.
    The full purge is done as follows:
    Quit Mail, and in the Finder open Home/Library and locate the Mail folder. Control-click over the Mail folder, and choose Duplicate -- then drag the resulting copy to the Desktop for temporary backup. Next, open Home/Library/Preferences and find the com.apple.mail.plist file and drag it to the desktop.
    Relaunch Mail, which will open as though new, and when prompted to import anything DECLINE. Instead, re-enter your account info, and Mail will re-discover the account folders for your accounts, and all should be well, after setting preferences as you desire.
    Ask any needed questions, and keep us posted.
    Ernie

  • Why do some of my emails have blue squares with a question mark instead of a picture or bar code?

    Why do some of my emails have blue squares with a question mark instead of a picture or bar code?

    No app installed that will view the pics and bar codes.  
    Which email client are you using?  Which version? 
    File suffix of the pics & bar codes?  Example:  .pic, .bmp, .jpg, etc. 

  • Missing Plug-In and Getting Blue Squares with Question Mark

    I am on a brand new pc, 64-bit Windows 7, all programs downloaded in the last week. I have used safari for years on my mac and want to keep using it on the pc but video and images are not displaying. For video content it says "missing plug-in" but doesn't tell me what plug-in I need. Some images do not display and I get the blue square with a question mark.
    I downloaded a plug-in from apple but it seems to be for Firefox. I installed the 64-bit beta Flash player and it didn't help. The next site I tried to access told me I needed the Flash player so I tried downloading the regular Flash player even though I knew it wouldn't work. It didn't download and seems to have taken the beta with it, wherever it went (have searched computer). Things that don't display in safari work just fine when I switch to Chrome.
    I have the latest version of Quicktime which came with iTunes. I messed with some of the default program settings, trying to get QuickTime to take over whenever possible but it doesn't seem to have made any difference.
    On my mac I had used Flip4Mac to take care of similar issues. I didn't think I would have similar problems on the pc. Help anyone?

    Blue box with a question mark means that images are not available now.
    Servers storing those images may be down.
    Best.

  • When trying to view a pdf from IE10 I get a small square with an X and not the document.

    When trying to view a pdf from IE10 I get a small square with an X and not the document. I have removed reader completely from the control panel and reinstalled version 11.0.4. I have IE 10 10.0.9200.16721. Need assitance in getting Reader XI setup.

    Hi,
    We have heard few users having similar issue as yours and found out the problem for one of the users is this: http://support.microsoft.com/kb/2716529 .
    I was able to reporduce this problem(square with a 'X') by changing the TabProcGrowth registry entry to 0.
    This tool provided by Microsoft is for Win 8, to run this on Win 7 you can manually change the registry setting : please see " Let me fix it myself" in above url.
    Before running these steps please make sure yours indeed is the same problem.
    Please be very careful as some registry settings (not this one) can create serious problems on a Windows system including causing it to no longer boo
    Let me know how it goes.
    Thank You.

  • Attachments in mail show up as squares with question marks

    When I open the Mail program and the email has an attachment the attachment shows up as squares with question marks.  Any help would be appreciated.  Thanks

    Take your screenshot, then reply to this message and click the camera icon in the editing window. Click the "Choose File" button and select the screenshot. If you don't know how to take a screenshot, search for that term in the built-in help.

  • HT1535 why are songs coming up with a red square with a circle around it on my i phone

    Why are songs on my iphone not playing and have a red square with a circle around it

    I had this problem too and my roommate solved it!
    Go to 'Settings'
    'Music'
    Scroll to the bottom and enter your password to log onto your home sharing
    Then connect to iTunes and sync!

  • Red square with circle, grey exclamation point AND iTunes won't sinc new songs?

    I have just upgraded my iPhone 4 to iOS 7.0.3 and for some reason my music on my phone will not play. Every song comes up with a red square with a red circle around it and simply will not play. Looking on iTunes now - every time I try to play a song a grey exclamation point with a grey circle pops up next to the song and again WILL NOT PLAY!
    I've heard that it iTunes might be having trouble finding the source of the song (which its never had trouble doing before) so I deleted one song and tried to replace it back on there only to find that it is now not sincing new songs either! This new song is very light grey in colour and has the spotted circle next to it.
    I don't even know where to start fixing these problems.
    Additional Information:
    I have my phone set up to Sinc only checked songs and videos.
    I drag and drop my songs into the 'On this iPhone' heading rather than sicing the whole thing as I share this computer with my brother.
    Am I going to have to downgrade my iOS back to what it was?
    I really hope someone out there can help!

    [[UPDATE]] SOLVED - I've restarted both my computer and my phone and tried to re-drop in that one song that was coming up light grey. It's now sinced and playing on Itunes and is the ONLY song on my phone. No more exclamation mark or red square.
    Looks like I'm going to have to delete all the songs and replace them into my itunes.
    *sigh*
    Thank you Apple for this smooth, easy going update. Much appreciated.

  • Facebook images, profile photos, cover photos are not loading. Only small blue square with question mark. Same thing in Safari, FireFox, Chrome.

    Since July on MacBook Pro facebook images, profile photos, cover photos are not loading. Only small blue square with question mark. Same thing in Safari, FireFox, Chrome. Everything is up to date including last version of Adobe Flash. And watching YouTube also a problem. Video is skipping, freezing for few seconds and jumps forward. At the same time on Toshiba with Windows Vista under the same account, same wi-fi connection everything works fine.
    Please help with sugesstions to fix the issue.

    Seems like problem is solved but it might be temporarily. Anyway. Click on the image, it will open facebook photo browser. Image is not loading so right click on the blue box with question mark, save image as. It will start downloading but without any success since browser do not see the image. After this attempt refresh the page and close all tabs with facebook. Try to open facebook once again. For some reason after this weird actions all images displayed properly. Do not know for how long but now it works.

  • Blue Square with question mark instead of pictures

    I'm trying to open a website, but certain pictures won't load. They are replaced by a blue box with a question mark inside. I've tried downloading flashplayer 10 but that doesn't seem to help. Any ideas?
    Chris

    OK, I get the point about the password, but therein lies a clue. If this is not happening to other sites, then there is a possibility that there may be an error (or several) on the coding or image locations at that page/site.
    It would be a good idea to see if anyone else is having such problems, although this might not give a definitive answer. Flashplayer 10 may not help this problem if the problem images are JPG. The JPG with a problem is indicated by a blue square with a question mark. A Flash problem shows a white/grey cube icon.
    Methinks, that if other sites are not giving problems, it is the way this site is coded.

  • I reinstalled my windows xp now the firefox icon on my desktop is now a white square with the firefox inside

    I reinstalled my windows xp now the firefox icon on my desktop is now a white square with the firefox inside how do I fix it

    Did you try to change that icon in the Properties via the right-click context menu?

  • Text square with other objects in a layer

    Using Motion 4. I have a 3d scene with various layers. Each layer contains objects that are oriented differently. I'm trying to add text to one of those layers. But the text is oriented square to the screen instead of being oriented square with the other objects in that layer. How can I orient the text square to the other object. I could try to do it manually but I'm sure there is a way to do this automatically.
    Thanks

    I did find a way to do this, although I'm sure there is an easier technique I don't know about. I used the camera framing behavior to bring the layer square with the camera. Then I added the text to the layer. Finally, I removed the Camera Framing behavior to go back to the original view. No so simple but it works.

  • How do I get rid of a red square with a red circle around on my playlist on my iPhone 4S?

    How do I get rid of this red square with the red circle? It only shows on the right side of the song on my playlist and the song won't play. My playlist now skips 10/12songs before it plays another. When I checked iTunes on my computer there is nothing changed on the playlist. I downloaded the latest iTunes and synced the phone again but still nothing. I do not want to have to restore and do this all again. Help.

    Betty,
    My personal journey in learning CSS has been roughly:
    10% books
    http://oreilly.com/catalog/9780596527334/ (I began here)
    10% online resources
    http://htmldog.com/guides/cssbeginner/
    http://articles.sitepoint.com/article/html-css-beginners-guide#
    and many, many others
    30% deconstructing quality CSS templates
    http://www.projectseven.com/products/templates/index.htm (my personal favourites)
    50% trial and error (and lots of debugging and "what the...?" and "huh?" moments

  • Why does my music on my ipod has red square with a red circle around it

    why does my list of music on my ipod have a red square with red circle by it

    Red square in red circle cannot play songs
    Remove Red Circles with Square in middle
    SOLUTION: Some Music Won't Play After Upgrading Your iPhone To iOS7
    My iPod isn't playing certain songs. Help?

Maybe you are looking for