How do I get the block duration for wave file playback?

I'm using a LV example "Getting Started with sound and vibration express vi's (simulated).  When I play back the examples the audio does not match the graphing updates as the file is played. That is, the sound continues to play after the graphs have finished reading the file.  I can change the input box "block duration (s)" to achieve playback coordination between graph updates and audio. Is it possible to calculate this value from data included in the file?  If not then if I have a vi that records sound to a wav file could the "block duration" be calculated there and passed to the playback vi?  Just not sure what makes up the block duration.  Thanks

Hi Mike,
The Block Duration that is configured from the Front Panel is a control that is used to determine how much of the sound file has the analysis performed.  From the Block Diagram the Block Duration control is used to calculate the subset of the Get Waveform Subset.vi.  Also notice the sound file is opened prior to entering the case structure, thus will begin first to execute due to dataflow.  This may be easier to see using highlight execution.  The sound VIs are not affected by the Block Duration at all as the entire sound file will be played.  Take the data from your sound file and display it onto a chart or begin processing as in the Read Sound File to Chart.vi example for immediate updates  Hopefully this helps!
Regards,
h_baker
National Instruments
Applications Engineer
Digital Multimeter Resources

Similar Messages

  • How can I get the exact pathname for a file on my computer?

    I need to enter a command in Terminal that contains the pathname of an application. I know what the path is but Terminal does not recognize it. How do I make sure the pathname is in the correct form?

    Enter the command up to the point of entering the file path and add a space, then drag the file into the terminal window. It will fill out the path.
    If you need to go further into the contents of the Application package, you can continue with /Contents...
    Another way is to start typing and then hit Tab to auto-complete. It will stop where it can't determine the next letter.
    So, type /App tab and it will fill in /Applications. Type a / and start with the name of the app, then tab and it should complete. Continue till you have the correct path.
    Spaces will be replaced with \<space>, so, App Store would end up as /Applications/App\ Store.app

  • How can I get the elapse time for execution of a Query for a session

    Hi ,
    How can I get the elapse time for execution of a Query for a session?
    Example - I have a report based on the procedure ,when the user execute that it takes say 3 min. to return rows.
    Is there any possible way to capture this session info. for this particular execution of query along with it's execution elapse time?
    Thanks in advance.

    Hi
    You can use the dbms_utility.get_time tool (gives binary_integer type value).
    1/ Initialize you time and date of beginning :
    v_beginTime := dbms_utility.get_time ;
    2/ Run you procedure...
    3/ Get end-time with :
    v_endTime := dbms_utility.get_time ;
    4/ Thus, calculate elapsed time by difference :
    v_elapsTime := v_endTime - v_beginTime ;
    This will give you time elapsed in of 100th of seconds...
    Then you can format you result to give correct print time.
    Hope it will help you.
    AL

  • Whenever I update my iPhone software, it asks me to sign in to iCloud with an old email address.  My other devices all have the correct address.  How can I get the correct address for my iPhone?  The only Apple ID that works for logging in is my new one.

    Whenever I update my iPhone software, it asks me to sign in to iCloud with an old email address.  My other devices all have the correct address.  How can I get the correct address for my iPhone?  The only Apple ID that works for logging in is my new one.

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone (if you're using iOS 7), then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • The bookmarks toolbar is there but has no item buttons on it. How do I get the items back for this toolbar? Also would like to know if the toolbars can be put on the same line to make more room on the page (drag & drop) ??

    The bookmarks toolbar is there but has no item buttons on it. How do I get the items back for this toolbar?
    Also would like to know if the toolbar can be put on the same line to make more room on the page (drag & drop) ?? Like the menu & bookmarks toolbar could/should fit on same line. This would add more page view...
    Floyd Perry
    Thanks

    Check that you still have the "Bookmarks Toolbar items" placed on the Bookmarks Toolbar
    * Make sure that you have the "Bookmarks Toolbar" visible: "View > Toolbars"
    * Check in "View > Toolbars > Customize" that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the Customize window onto the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" then click the "Restore Default Set" button
    You can only move the content from a toolbar onto other toolbars if all toolbars support that feature. You need to check that in the options of each toolbar.

  • How do I get the printer driver for a hp officejet 6500 e709n?

    How do I get the printer driver for a hp officejet 6500 e709n? When I add the printer, Apple says the software is not available and to contact the manufacturer. HP says it is available from Apple.

    Hi Robmtu,
    You can find the direct download here.

  • I recently subscribed to Acrobat XI after the trial expired but when I went to activate it I was asked for the serial number. I only have the order number on the invoice. How do I get the serial number for the trial software that is on my computer?

    I recently subscribed to Acrobat XI after the trial expired but when I went to activate it I was asked for the serial number. I only have the order number on the invoice. How do I get the serial number for the trial software that is on my computer?

    Please do not try to send attachments in mail responses to forum messages. Please return to the forum and click Reply. You can then use the CAMERA icon to add your pictures. Looking forward to seeing what is wrong with your license screens - the general advice is simply to sign in, and everything is done. Make sure you use the SAME Adobe ID that you used to purchase, and check your account details to be sure the subscription is active.

  • How do I get the little icons for bookmarks to reappear in my pulldown menu?

    How do I get the little icons for bookmarks to reappear in my pull down menu? When I go to Bookmarks, and I go to Bookmarks Toolbar, the list of bookmarks used to have the little logos/icons associated with the company, etc. I liked these. When v9.0.1 updated, I lost these. Can they come back? Thanks for a great browser! Gene Newman, West Bloomfield, MI
    I use MacBook Pro, 2010, OSX 10.6.8 (Snow Leopard); Firefox version 9.0.1

    See also:
    *CheckPlaces: https://addons.mozilla.org/firefox/addon/checkplaces/
    *Bookmark Favicon Changer: https://addons.mozilla.org/firefox/addon/bookmark-favicon-changer/

  • I've change device Ipone4s to Ipnoe 5 . How to i get the old game for game center

    I've change device Ipone4s to Ipnoe 5 . How to i get the old game for game center

    Regarding the old iMac.  Just delete your USER NAME from the Control Panel.  Go into System Preferences - then User/Groups and delete your account from there.
    Just a bit of advice though before you do all this, go and buy yourself a remote Hard Drive, they're really good value today and copy off all of your sacred files from your old computer onto the new drive.  You could also do the same via the Backup.app    
    It's well worth doing....    You can easily delay the switch over for a few days and you'll then have a backup disc that you'll start to use again and again.

  • I purchased the Logitech F310 game controller for my 2011 MacBook Pro. How do I get the driver installed for it. The Disk that came with the controller is a mini disk and will not insert into my laptop.

    I purchased the Logitech F310 game controller for my 2011 MacBook Pro. How do I get the driver installed for it. The Disk that came with the controller is a mini disk and will not insert into my laptop.

    May not make a difference anyway. The Logitech support site does not show drivers for Mac OS for the F310:
    http://www.logitech.com/en-us/support/gamepad-f310?crid=411
    I'd contact their support to find out if there is a Mac driver available, and if they can either give you a web link to get it, e-mail you the software, or snail-mail you a standard-size disk with the drivers.

  • How I can get the Billing Type for the sales order and its items

    How I can get the Billing Type for the sales order and its items. I mean from which SAP tables and how?

    Hi,
    You need to use two tables.
    First use VBFA. Enter the sales order number in the field Predecessar and the value M in SubCt field. This will give all the billing document number for the sales order items.
    Then use the billing document numbers in table VBRK, where in you can get the billing document type.
    Regards,

  • I upgraded my ipad and now my password changed. how do i get the temp password for entry ???

    i upgraded my ipad software and now my password changed. how do i get the temp password for entry ???

    The same thing happened to me??????

  • How do I get the bookmarks app for ipad to show my bookmarks in their entirety instead of cutting off the end?

    how do I get the bookmarks app for ipad to show my bookmarks in their entirety instead of cutting off the end?

    See also:
    *CheckPlaces: https://addons.mozilla.org/firefox/addon/checkplaces/
    *Bookmark Favicon Changer: https://addons.mozilla.org/firefox/addon/bookmark-favicon-changer/

  • How do I get the correct icons for Favorites?

    How do I get the correct icons for Favorites on my iPad? I am using iOS 7.  The icons show up correctly in my bookmarks in Safari on my iMac OS X (10.8.5).

    I don't think there is a way to get them. Why they show in the Bookmarks vs Favorites.

  • How can I get the serial number for Premiere 11?

    In october 2012 I´ve bought a bundle pack with Photoshop Elements 11 and Premiere 11. After a hard disk crash i was about to reinstall them both but my wife has trown the envelope in the garbage... = No Serial number available!!
    I´ve registered the serial number for Photoshop Element 11 on Adobe, but not the key for Premiere (they are on the same dvd).
    How can I get the serial number for Premiere 11?

    I do not think there is any way for anyone here to help you (we are just other users) so you are going to have to contact Adobe
    Forum for Download & Install & Setup problems
    http://forums.adobe.com/community/download_install_setup
    Chat http://www.adobe.com/support/download-install/supportinfo/
    -or http://www.adobe.com/support/chat/ivrchat.html
    And tell your wife to be more careful about throwing things away

Maybe you are looking for

  • Solution for a "colour picker" problem.

    Hello, I had the most annoying problem with "Colours" in DreamWeaver 8. I just couldnt seem to get DreamWeaver to select colours from the page I was working in. I could select colours from the colour popup or "swab", but trying to match colours with

  • Error handling in simulatenous loops

    I am trying to design a good error handling system for a project I am working on, but I have run into a "design" problem. I thought it would be good to ask for some guidance here before I sit down and start create the error handling system. I have mo

  • Not all selection screen value coming from selection screen only first val

    hi i am doing SELECTION-SCREEN BEGIN OF BLOCK gl_ac3 WITH FRAME TITLE text-019. SELECT-OPTIONS: gl_acdp1 FOR gv_gldep1. SELECTION-SCREEN END OF BLOCK gl_ac3. then i am using seelct as below SELECT      robukrs                 rzzhkont     FROM  zzamd

  • GR slip from CO15?

    Hi all, My customer is using CO15 to confirm production orders and they have set up automatic goods receipt on the last operation of all the routings. Now they are interested in getting the same GR slip printed that you can get when performing the GR

  • Space problems in component monitoring runtime workbench SAP PI

    Hi If I want do save or delete a new test message in the component monitoring of the runtime workbench in SAP PI  but I get the following error: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error in executing the com