Audio reading of LABVIEW (with break and reverse)

Im trying to build a VI that will play a pre-recorded sound, with the ability to pause, play backwards and go to any part of the audio data and continue playback. (Play in reverse would be a nice feature, but does not really need to be there). Once I understood the procedure, he will fit in with reading video and recorded the data display, so it must be fairly dynamic in the measurement of time of the loop, when added to the output buffer.

I have what I thought should work (written in LABVIEW 8.6) only I find that the 'writing of audio output' vi is not as expected. My interpretation of the documentation for this vi is that when you enter data in this vi (with zero time-out wired in), he should dump these data in the output buffer and then return to the main program, then these data are playing. However, I find that this does not happen and that the vi takes at least that long to finish than it takes to read data. The rest of the vi is completed in less than a millisecond, then this is definitely the vi that takes all the time. It is causing the sound to be very clicky and sometimes don't even look like a sound vibration.

I'm using the wrong screws? is there a better way to go to achieve this goal? The VI I wrote is attached. If the sinusoidal signal is set at 500 Hz, it sounds like the sampling frequency is a multiple of this not exactly why it works (Im). If I have the sinusoidal signal set to 501 or 510Hz for example, you hear the problem I described above.

Just a suggestion.,.

You could try the windows media player activeX control.  Just load the file you want to play using the nodes property of the activeX control and it does the job remaining.

I am juice tests the vi you attached and will post back if I have ideas.

Tags: NI Software

Similar Questions

  • Is anyone able to run Adobe CS5 with El Capitan now? I've read about problems with Illustrator and photoshop, but these seem to be in 2015 Octobe5. She improved at all? I need to upgrade that I am running an old OS v but I need to run CS5.

    I've read about problems with Illustrator and photoshop on EL Capitan, but these seem to be in October 2015. She improved at all? I need to upgrade that I am running an old OS v but I need to run CS5. Can not afford to go to CC. I have a Macbook Pro.

    CS5 and 10.11 are not supported and will never be supported by Adobe or Apple.

    However it works for some, more actually, but not all. There are sporadic problems with Illustrator, Photoshop seems to be the best. Do not expect an improvement and keep in mind that anyone from Adobe, Apple or anywhere else will fix it.

    Do a clean install

    Make sure you have the Apple Java

    h ttps://support.Apple.com/kb/DL1572?locale=en_US

    Make sure you have your serial number and if you are having problems with the serial number or the serialization however adobe of web server will not support your problem.

    update the application via photoshop.

  • No reading - suddenly associated with ASIO and WDM PrPro?

    Hi gang,.

    Yesterday, I was adding a few sequences of simple HD of my digital photo camera Canon Powershot SD780IS at a new project PrPro CS-5 as I have done several times before.  I did the new law of sequence as usual.  However, for the first time in a few months since I had the CS-5 program, I couldn't (H.264 1280 x 720 .mov) video to play when I opened the project the next day.  The cursor doesn't move but it loaded the file.   I then exported the file to care about YouTube, and suddenly reading reworked in PrPro.  Strange.   However, this is not a solution for me.  It is more a mystery.

    Indeed, I saw that this question of "reading" mentioned several times here.

    I have a bit of Win7 Pro 64 PC with 12 GB of RAM, 3 HDs (7200), GeForce 470, Creative SB X - Fi Titanium fatal! Ty soundcard, Gigabyte MB, QuickTime Pro and a bit of good feeling here and there at the start.  All the drivers are up to date, but my brain still works on version 1.0!  ;-) hehe

    ***

    I tried a few things today to get this annoying to read again video:

    1 right-click on the icon of PrPro administrator - no, didn't work

    2. past slot PrPro WDM and ASIO audio driver worked again.  I went to originally ASIO because I was getting pop and clicks in my reading of a few months back.

    So, I wonder what happens if someone has any ideas?    I saw as we should delete the AMEPrefs.xml file or run in the root (for Windows 7) account?   Is this the real problem?

    Why would reading work using my ASIO drivers after only to create a file from YouTube H.264?


    Any ideas?  Thank you!

    Petey

  • How to read digital signals with pre-and post-trigger on a card PCI-6251

    I have 22-bit parallel position of data entering TTL lines to 16 kHz with a pulse of marker that says when the data is valid. I also have a fault line which gives an impulse when an error condition is met. I want to read in the 22 lines of position with 500 positions of pre-event and post-event 500 data when the fault line says. How do I pre and post-déclencher lines digital input on a card PCI-6251?

    If this is not possible on this map, which maps PCI would be possible?


  • output of the coil with break and invites

    10.2.0.5 & 11.2.0.2 on linux & windows

    From time to time, I have to run scripts that include a large data sets insertion of a large number of lines. I spool the results of these scripts, I'm coming back back and make sure that there are no errors. I put statements of pause between the different stages of scripts to try to ensure that the last part was successful prior to execution.
    The problem I'm running into is that when I have the output coil, if there is a large amount of data to sift through, it's not all flushed to the file waiting until after that I hit enter to move forward after the break statement.

    Is there a way to ensure that all data is flushed the real-time spool file and not kept in the buffer? I guess that it is held in a buffer.

    For example, you can run the following and check the file spools at each break in the script. I do not see the number of rows returned for each select until after the next selected process or even once the script has completed.

    main_test. SQL:
    Set sqlprompt "" _USER'@'_CONNECT_IDENTIFIER > "".
    set echo on
    Set termout on
    programmed on
    set timing on
    Set trimspool on
    set pages 0
    sname new_value by spool_name column
    Select to_char (sysdate, 'yyyy_mm_dd_hh24_mi_ss')
    || '.' || sys_context (' USERENV', 'SERVER_HOST' ")
    || '.' || sys_context (' USERENV', 'DB_NAME' ") as sname
    Double;
    coil & & spool_name... Journal

    --###############################
    --#DEPLOYMENT # STARTS HERE.
    --###############################
    @test.sql
    quick end of test
    pause
    "exit";


    test. SQL:
    Select 1, 2 from dba_objects;
    quick end of the first statement select
    pause
    Select 1, 2 from dba_objects;
    quick end of 2nd selection tool
    pause
    Select 1, 2 from dba_objects;
    quick end of 3rd, select
    pause

    It is best to use each time THAT SQLERROR EXIT if it is dangerous to proceed after errors occur. SQL * more empty and close a hold file.
    Or you can close a hold file. Then, to ACCEPT... The GUEST... you have to spool to another file, or you can replace the existing one.

  • Can I use ' I read a Scan VI "daq and driver DAQmx Labview 7.1 with a new card?

    I need to use old software in which the data is to use ' I read a Scan VI.

    I think that with labview 7.1.

    now, I work with Labview 8.5 and the new daq card that I want to use comes with NOR-DAQmx.

    is there a compatibility problem between these two.

    Please clear my doubts.

    Thanks in advance

    Renn

    It is used with 8.5 cards and as long as you install the driver traditional. It should be on your LabVIEW CD or download it from here. New cards require DAQmx and you need to rewrite your code.

  • Flash Player 10 reads no audio from Youtube with Vista and IE

    Since installing FP10, I can't do audio during video playback on YouTube. I am running Vista with SP2 and IE on a HP laptop. Flash 0 on my XP Desktop audio plays fine, so I think it's a setting on my laptop that needs to be changed to what it was before the upgrade to FP10... of ideas please? I uninstalled and reinstalled him FP10 according to the other messages on this forum, but without success.

    I also feel that

    [edit]

    My problem was that I was not getting audio flash at all, including local publishes out of the IDE.  The problem was that he had stopped my Windows Audio service (for some reason any).

    To check:

    (Classic view): start > settings > Control Panel > administrative tools > Services >

    (not classic): computer (right click) > manage > Services and Applications > services >

    (one, above it, then): [scroll down to "Windows Audio"] > right click 'properties', tab general, set the startup type to manual (in the menu drop-down), and then click the Start button, on the next line.

  • Is there a way to select an area of some of the elements of a csv file and read in LabVIEW?

    Hello everyone, I was wondering if there was a way to select only a certain "box" of the elements of a .csv file in LabVIEW? I have LabVIEW 2011 and my main goal is to take two tables and graphs against each other. I can import the .csv perfectly and separate each line and each column to be his own, but I have a 8 X 8 but want graphic in the middle of 4 X 5 or something like that. Is it possible to extract a table without starting at the beginning and end in the end? Thank you in advance.

    Hi Szklanam,

    as a CSV file is a TXT file with a different suffix, you can read a number of lines in this file. For example, you can limit the number of rows in your table of resultung. To limit the number of columns, you must always use an ArraySubset, so maybe it is much easier to read the complete CSV file and select interesting places with ArraySubset...

  • Need help with TS to read the list of variables and/or LV

    Hello

    I use Labview adapter in Teststand to open WinIDEA and read the values of the variables. Basically LV lib files are used to read the value of the variable at run time, and returns the value of the variable. Contribution to this labview function i.e. variable name string and output type cluster.

    I need to read the list of variables and compare it to the value limits for each variable. I perhaps need to read at least 50 to 60 variables in one step if possible or a variable at a time in a loop. I want to add these variables in a txt file with the limits and read of Teststand as a string array and compare the result. In this way is easy to add or remove variables from the list and therefore their expected value. I tried to use the shipper of the property, but there need a stage name or local/global variable.

    Another way is to add the code in labview for comparison of variables value read, then I lose teststand power and flexibility.

    I am struggling to find the best way to achieve this. Any ideas?

    I would like it.  Basically, you have a file limit with 2 data tables.  A table contains your variables and the other your limits.  Then you wrap on a test of a string value.

    Let me know if you have any questions.

  • Beginner LabVIEW - XY graph and audio files

    Hello

    I am very new to LabVIEW. I'm doing a program as follows:

    • The LabVIEW VI to simulate two temperatures of entry.

      • You can simulate each of them through a random number generator (be sure to keep the numbers in a temperature range of imaginary), or if you want to, by reading the values of a file.
    • The Panel should, at a minimum, instantly showing each temperature (e.g., using a digital display), a graph drawing each temperature with time and an indicator (for example an LED or the counter number) to show that the temperature has exceeded its threshold.

    Now I have the generator of random numbers and Boolean lights according to work properly. However, I recently added sound if the temperature drops too low (i.e. when the blue led shows) or too high (when the red lights). It works well, however, for some values sound custom ring, for others it will be. For example, three values in a line could show who are all under 16 years - the lower limit, the blue goes light on however the noise could only ring - its my default windows sound. Can anyone see anything wrong with it or offer me a solution?

    Then, the XY graph. I feel that I don't get the right settings in there. I want the number of seconds on axis through the temperature values on the x - y axis. The temperature values initially came out huge by default, I have not changed the name of the axis but theres no graphics if I resized the axis myself? In my view, that I've not connected properly maybe? Also I really think I have somewhere went wrong with my reading of axis x, maybe I have the wrong time function in the control panel? I amn't familiar with boolean or or how to define true/false?

    If I wanted to use 1 LED that could change in three different colours (red for high green, temperature temperature normal and blue for low temperatures), how can I do this?

    Finally, someone has suggestions for the user interface, to make it look a little more sophisticated?

    Thank you in advance, attached file.

    First of all, you want to work on both your temperature at the same time and display them in separate indicators.  Secondly, I am sure that your beeper goes with each temperature taken.  You want to put the tone within a business structure to make it sound when you have any out-of-range condition.

    So in the end, I'm sure you want a Setup like this.  I'll leave some work for you to do.  You are not nearly enough to pay me to do your work for you.

  • try to create several boxes to click with images and audio comments

    I'm not too familiar with captivate and would like to possibly ready to provide guidance.

    I am creating a screen in a course which is a graph (jpeg) and in the graph, there is 4 areas that are false.  I want to learners to find out all the four questions by clicking on each of them.  When they click on each of them, will receive an image with textual comments (jpeg) and they will also hear a short audio clip.  When the audio is finished, the image should disappear, the learner can then on other possible issues that will work the same way.  There is no notation, there is no restriction to find each number in a specific order, etc.

    I tried to create boxes to click for this, but it does not work... the project never stops for the learner to click on the graph, it just continues and played audio until the learner clicks on anything whatsoever... and never displays text comments (jpeg).

    Thanks in advance for any help.  HaPpY Friday!

    Captivate 4: export outside in a swf file.

    Hi again

    mon_mac wrote:

    Thank you for the reply rick.

    You're more than welcome!

    mon_mac wrote:

    Yes, I want the project to have a break.  for some reason he has not paused.  If you look at the timeline, my audio blade plays to set up the interaction, then when it gets to the click box he just continues to play with no break and plays the audio that I attributed to him.  It is not disply my image of feedback however.

    This makes me wonder how you preview. If you say that you use the type 'Play this slide' preview, that's why. This type of preview is more to simply observe rough (and I don't want to fuck in every sense of the term) calendar. Interactive elements such as click boxes, buttons, and text entry boxes do not work in this type of preview. That's why you see not all comments. (If this is the type of preview you used)

    mon_mac wrote:

    Yes, I am trying to use an image for the comments, not a caption box.  can I do this?

    Well, Yes and no. In that sense, Yes, you could configure things so that a click simply allows the playback head visit another slide or whatever. And on the slide that you visit, you have an image, the user sees. Who could act as your comments. You can also configure the click box with a legend of success or failure to the feedback. They click on the click box or the outer and trigger the legend must be revealed. You can use an image of your choice for the legend. And must not contain text.

    Before going further, let's see if everything what I offered this day helps your question.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • In v31.0, I can view is more 'raw' XML files with line breaks and ' < ' and ' / > ' characters. Is there a setting that will give me this option?

    Until a few days ago when I opened a file XML with Firefox, I see the content of the file appears with line breaks and ' < ' and ' / > ' and elements. Like this:

    fixed image in < typeOfResource > < / typeOfResource >

     <genre authority="marcgt">picture</genre>
     <genre authority="nmc">Print, Photographic</genre>
     <originInfo>
       <dateIssued encoding="marc">1884</dateIssued>
       <dateIssued encoding="marc">1884</dateIssued>
       <issuance>monographic</issuance>
     </originInfo>
     <language>
    

    Now, it will display like this:

     still image picture Print, Photographic 1884 1884 monographic eng electronic
    

    No tags or line breaks. I need to see the entire XML file. How can I configure FireFox to display this for me? One of my colleagues uses v31.0 and XML views with tags and the line breaks for him.

    For example, I was looking at files sitemap.xml (search Google for inurl:sitemap.xml). For those who have not declared a style sheet, you should always see the classic "source highlight: presentation

    Example: http://www.website.com/sitemap.xml

    Are the files that don't appear as similar planned by not declaring a style sheet?

    As a temporary workaround, you can view the source to see the original. Either:

    • CTRL + u
    • Right click > view Page Source
  • Equium L20: Effect Larsen Audio with webcam and MSN Messenger

    Hello

    I am a user starting with an Equium L20 connected to a Logitech Web camera and an MSN e-mail account.
    When I live via MSN Messenger video conversation with my daughter (300 miles) there is a very high-pitched sound of feedback that gets worse, as we speak.

    It is not the webcam because it does not occur when the webcam is connected to a friends laptop and we tired 4 different ones with the same result. Is not the configuration wireless and broadband or something in our House as it does the same thing when it is connected to another (different) system 300 miles away.

    Our retailer said it is not for lack of material, but cannot solve the problem despite the download of new speakers and takes us through the balance between volume settings and the wave in volume control (only works when the volume is too low to be incomprehensible!). They are now blaming MSN software.

    They do not add external speakers via the connection of the headphones, but as this does not "turn off" the laptop speakers we always get feedback - as we do with headphones.

    Ideas accepted with gratitude that we are missing out on see our 7 month old granddaughter growing up!

    Thank you in anticipation

    Hello

    I guess that the webcam is supported by a clean microphone and therefore sound feedback occurs.
    Audio feedback can occur when the audio received by a participant through its speakers, then go into the microphone.
    All participants MUST have a helmet to separate audio cross over between the speakers and microphones. It is also VERY important to make sure that you have selected the microphone on your headphones and NOT the one with the built-in webcam.
    Webcam microphones have a wide range and pick up lots of ambient noise and are not ideal for 2-way conversations. To ensure that the correct microphone is selected right hand mouse click on the video window, select settings, select the microphone icon and make sure that your headset is selected. The slider bar will adjust the volume level.

    In addition, I found a useful FAQ page on the Toshiba site:
    http://support.toshiba-tro.de/KB0/FAQ6201DW000YR01.htm

    It does NOT describe the same question but very similar to yours. Maybe it will help you.

  • Connection to a Satellite A200 to a TV with video and audio.

    I have a Satellite A200 and I was wondering what cables to connect to my TV with video and Audio. I have an S-video cable at the moment, but I need the sound of the TV.

    Thank you.

    The problem is that cable s-video doesn t transmits the audio but only video signal.
    If you want to get the sound on the TV, you must use additional RCA cable.

    http://en.Wikipedia.org/wiki/RCA_connector

    Best regards

  • Compatibility of boards of daughter BasicTx and BasicRx with USRP2920 and LabView

    I want to know that girls BasicTx and Rx cards Ettus research base are compatible with USRP2920 and Labview or not.

    These cards also supports variable gain or not? Please confirm

    Thank you

    JK

    They will work, but you must use property nodes to configure them. No is no LO so ther is no center frequency setting. I and Q are separate channels so you must separate them and treat them as such. There are no gain as the boards primarily provide access to the ADC.

Maybe you are looking for