Play waveform of a pressure signal

Hello everybody,
I'm trying to play the next waveform using the sound Labview Tools but i can not or i don't obtain representative results. 
I also tried to do a multiplication with a sine waveform to have an audible waveform but i couldn't.
Somebody could help me to play this waveform (here i attached the pressure i obtained):
Attachments:
Waveform.JPG ‏36 KB

Please post this question to the LabVIEW forum and not to the Motion Control and Motor Drives forum. Posting to the LabVIEW forum for this type of questions will increase your chances of getting a good answer significantly.
You also should be a bit more specific about what you really want to accomplish. Posting some LabVIEW code is also a good idea.
Thanks and best regads,
Jochen Klier
National Instruments

Similar Messages

  • Play Waveform Express vi: How to disable "Normalize waveform"?

    I am an EE professor. My students are using LabView to develop simple music synthesizers. How can we disable the "Normalize Waveform" function within the "Play Waveform" express vi, so that we can control volume with amplitude?

    Since you know that Normalize Waveform.vi is inside the Express VI, you have apparently converted Play Waveform.vi to a standard VI and opened its block diagram. You can either remove Normalize or, probably better, add a boolean control and a case structure around Normalize from the Play Waveform and save with a different name.
    While you are at it, change the signal inputs and outputs to arrays of waveforms (as it uses internally) and get rid of the evil Dynamic Data Type. You can use the process to teach your students better programmig pracitces while getting the Vi to perform as you want.
    Lynn

  • Play waveform graph problem

    hello,
    what i have is a waveform graph and i would like to play the waveform using the play waveform express vi.  my problem is the data type i am wiring into the express vi is not compatiable.  i understand the error, i just am not sure how to make it compatiable.
    you may ask why i don't just use the correct waveform graph.  the answer is that this waveform graph i have now is the result of filtering, fft, and ifft calculations and would like to get this graph to work and not change my previous work.
    thank you
    Attachments:
    playWave.vi ‏289 KB

    Hi,
    I think what you need to do is use the Build Waveform VI on the waveform palette. This 'bundles' the dt and Y array of values into the waveform data type which the graph and Express VI(s) will accept.
    I've done this for your data and attached the VI (this one is in LabVIEW 8.0 - let me know if you need it in an earlier version). I can hear the waveform playing on my machine (what IS it??   )
    For future reference, there are also 'From DDT' and 'To DDT' VIs on the Express->Signal Manipulation palette which can convert the Dynamic Data Type (the dark blue wire that goes into and comes out of the Express VIs) into waveforms, single numerics etc.... These may be useful if you want to work with Express VIs for analysis in future.
    Hope this is what you were after.
    Best wishes,
    Mark Lee
    Certified LabVIEW Architect
    Attachments:
    playWave.vi ‏292 KB

  • Play Waveform Express VI

    Hello, I am using a "Simple Read" VI to acquire a .wav file and the "Play Waveform" Express VI to play it and everything works perfectly (i.e. I can actually hear the file playing). However, when I pass the signal through a low-pass filter and connect the output to the same Express VI, I get an error. Could someone take a look at the attached VI and give me a hint of what I am doing wrong??? Thank you in advance!!!
    Attachments:
    Filter Exercise.vi ‏87 KB

    You can convert the Express VI to a regular VI by right clicking and selecting Open Front Panel. It can then be modified. You can also provide the sampling frequency to the filter function you originally had.
    Message Edited by Dennis Knutson on 03-12-2007 01:17 PM
    Attachments:
    Get Sample Frequency.jpg ‏19 KB

  • Why is it that an amplitude-scaled sound does not play louder than the original sound using Play Waveform?

    I don't know if I have posted this on a correct location (kinda new here).
    I am trying to demonstrate the effect of multiplying a constant to a waveform. I have a sound file read by Sound File Read Simple.vi. Then I am trying to scale the amplitude of the signal by a constant number. I've tried three methods for this: the Numeric Multiplication, the express VI Scaling and Mapping, and the scaling and conversion VI of Signal Express. The waveform shows that the amplitude of the scaled signal is indeed scaled, but when played thru the play waveform VI, the sound level is still the same, no matter how much I am scaling the input. Does anyone why is this so? Also, I really wanted to show that scaling an audio waveform results in a louder waveform. How do I do this? As much as possible, I've wanted to use simple VIs as the class is an introduction to signal processing and the students (and so am I) are still finding our way into LabVIEW (we used to use MATLAB in the course).
    Attachments:
    scaling.vi ‏69 KB

    JaymeW wrote:
    Hi kirkbardini,
    According to this article about Low Volume From Sound VI, you can use a scalar multiple to increase the volume of a sound saved to a .wav file, so you should be able to do this before playing it.  Does that not work for you?
    That information is for Labview 7.x and hence outdated. As mentioned before. Labview do a normalization before sending data to the sound card. As you know sound cards are most often 16 or 24 bits. And in most cases data input to a sound card is in DBL type. After normalization the data is converted so the floating point value 1 represent full scale output on data sent to the the sound card DA. To get any further I suggest kirkbardini take the time needed to send us his/hers current code. Then we may solve things from there
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Play waveform output level

    Hi,
    I have a Dakota PCI audio card ( http://www.frontierdesign.com/Products/Dakota ) and want to play a simple sine function with the express vi "play waveform". My problem is now, that whatever amplitude i set for the sine (from 0.1 V to 5 V), the output level is the same (always 3.6 Vrms). However, when I play a simple sine with Matlab, the output sound on my speaker changes with different amplitudes. Has anyone an idea, where the problem could be? The driver is properly installed as LabView plays all the signals i send to play waveform...
    Thanks a lot in advance
    Andreas

    You can right-click on an Express VI and select 'Open Front Panel'. This will allow you to see how the Express VI works. In this case, it appears that the underlying VI(s) use the Normalize Waveform function which scales the Y from -1 to +1. This may be why your amplitude appears to be fixed in LabVIEW.
    You can use the techniques you see inside the Express VI to create your own version of "play waveform" that leaves out the normalize step...
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Sound File Read and Express Play WaveForm.

    Hi, all
    I am trying to control the volume on the Play WaveForm express vi, but have not been able to make this happen. Does any one have suggestions that I can run with.
    Thank you.

    I have found two examples of an Audio Equalizer that controls a sound output. The first is simplified version of the second. I hope this helps!
    Audio Equalizer (simplified): https://decibel.ni.com/content/docs/DOC-8435
    Audio Equalizer (advanced): https://decibel.ni.com/content/docs/DOC-16037
    Regards,
    Jason D
    Applications Engineer
    National Instruments

  • Sound pressure signal as input

    I want to use a function SV Time-Varying Loudness in the Sound and vibration suite. The output of this function is exactly what I require for my speech analysis. 
    I have a speech sample recorded from the microphone obviously a voltage signal. This function requires a sound pressure signal. 
    The voltage signal would be proportional to the sound pressure signal right? How do I convert this voltage signal to the sound pressure signal (Pa). 
    I'm not even sure if I can use this function. I trying to extract the features from the speech signal. The algorithms used for this are linear predictive coding , perceptual linear predictive coding and mel frequency cepstral coefficients. 
    I already implemented Linear predictive coding in labVIEW. I wanted to try out Perceptual linear predictive coding because it is considered to be robust in noisy conditions. 
    This SV time varying loudness function does the exact thing I want to do but I don't know if it is applicable to speech signals. 
    In the help I says this VI process 2ms blocks of sound pressure data. But speech signals are to be processed only at 10 to 15ms. Please help

    Your microphone should have calibration tables to relate the output voltage to an audio quantity like dB or perhaps even Pa.
    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

  • Play waveform issue

    Hi,
        I am using the play waveform VI to test a USB Headset by sending a tone to the device.  The problem we have is that when we unplug the device and plug it back in again the Play Waveform VI returns a error of Invalid Device when we try to send a tone.  The only way we have found to get things working again is to completly close Labview and restart it.  Right now we are able to close and reopen Labview between testing devices but there must be a better way to get this working?  The odd thing is that we are using the Aquire Sound VI as well to test the device and it does not have this same issue.  Both are calling functions within the same dll "lvsound2".  Any ideas would be appreciated.  Thanks
    Scott 

    Hello SGC,
    As far as I know, there is no artificial limit on the device number within LabVIEW.
    How did you eventually fix the original issue?  I want to confirm that all of the USB headsets are plugged into the computer before starting LabVIEW and you have the correct ID #s for each of them.  The ID #s can be found on the Play Waveform Express VI configuration window (within the red circle of the posted .png).
    Is there any other information about the current setup that you can share with the community?
    Regards,
    Charlie Piazza
    Staff Product Support Engineer, RF
    National Instruments
    Attachments:
    play waveform config window.png ‏13 KB

  • Read pressure signals using signalExpr​ess

    Hi, I don't have Pressure option under DAQMx Acquire -> Analog Input menu when I add a step to acquire pressure signals in SignalExpress 4.0. Anybody knows what extra module do I need to do so? Thanks. Cong.

    Please post your question to the SignalExpress board. Very few users of it here on the LabVIEW board.

  • Why is it that when I saved the waveform of my acquired signal into a wav file, the output waveform of my saved file turn out to be different from my input signal?

    Hi all,
    I am currently doing a heart sound analyzer project. I acquired signal using NI USB 6008 continuosly. My program is able to saved the acquired signal into a wave file. But when I browse open the saved file, the output waveform did not look the same as the acquired input signal and also the sound of the heartbeat captured cannot be heard from the loud speaker though I have saved the file as a wav file. I am not sure if the method i use to save the acquired data as a wav file is correct.  I have attach the print screen of the differences of the output I have notice and the program I have created. I would be glad if anyone here is able to troubleshoot my program.
    Thanks. 
    Attachments:
    heart sound analyzer.zip ‏257 KB

    Hi Brett Burger,
    Thanks for your reply. For your information, I have set the sampling rate as 10000 as for the sound format, I have set the bits per sample as 16 bit, the rate as 11025 and the sound quality as mono. I tried using your method by changing the sampling rate as 8K but still my program encounter the same problem.
    I wish to also create a button that is able to generate a preformatted report that contains VI documentation, data the VI returns, and report properties, such as the author, company, and number of pages only when I click on the button.  I have created this in my program, but I am not sure why is it not working. Can you help troubleshoot my program. Or do you have any samples to provide me. Hope to hear from you soon.
    Many thanks.
    Regards,
    min
    Attachments:
    Heart Sounds1.vi ‏971 KB

  • How to view signal in a waveform chart in Labview Signal Express?

    Hi,
    I would like to view a signal in Signal Express 3.0  in a "waveform chart" but don't know how to do it and I am thinking that it may be impossible?
    In Labview there are two ways of viewing data, either in a "waveform chart" or in a "waveform graph". The great thing with "waveform chart" is that it lets you define a history length and you can see the data move to the left (strip chart option) as the samples are being retrieved. It works perfect. 
    In Signal Express I can only select "XY graph" or "Waveform graph" by making a right-click the mouse but I cannot select "Waveform chart". Is it really true that it is not possible to view the data in a "waveform graph with Labview SE? (1 analog signal being read continuously, 100 samples to read at 1K rate)
    Thank you in advance,
    Enrique
    Solved!
    Go to Solution.

    Hi Enrique,
    You are correct that there is currently no waveform chart in SignalExpress. The closest thing you can get to, is recording the data as a log and then viewing it while recording (which I realize is not quite the same, interactive behavior).
    For your last comment, you wrote "waveform graph", but I assume you meant to say "chart" there as well.
    Sorry about this. We have recently been getting this request, so perhaps in a future version.
    Phil

  • Why am I not seeing the LED blink faster on hardware when the waveform graph shows the signal updating?

    I am using the cDAQ-9188 chassis with a NI 9476 in the 8th slot, and when I run my VI, the waveform gets updated if I change the frequency of a signal while the program is running, but the DO from the write does not get updated. I thought that write takes in the data from the digital waveform input, so I'm confused as to why the digital waveform indicator is updated with a new signal, but my LED into a DI module (9421) is not updating.
    Thanks in advance for any tips and suggestions!
    Speed2.vi calls Generate_PWM.vi, so Generate_PWM is a subVI inside Speed2.
    Attachments:
    Generate PWM.vi ‏34 KB
    Speed2.vi ‏46 KB

    Hi Ruthnan,
    Sorry for the delay in response but after looking over that hardware it seems there should be enough counters in the chassis to support what you are doing. I believe you are getting the resource is reserved error because you have started one output task on that module thus reserving the reference. Once that task starts any additional task with get an error. It should be possible to use more than one counter in your application but it sounds like an error in the VI configuration. I am happy to help here to get an example up and running but I think it would be faster to open a service request for this issue. Let me know what you would like to do.
    Patrick H | National Instruments | Software Engineer

  • Play waveform on speakers on mac OS X

    Hi all,
    I am new to Labview, so this question might be much simpler than I thought it was, but it has been driving me crazy the past few days.
    Basically, I work in a university research lab. For the purposes of one of our projects, I need to generate waveforms, and output them through the speakers of my computer.
    I can do that fine on a PC running Windows XP, however the lab I work in mostly uses Macs under OS X. The problem is I can't figure out how to get the Mac to play the waveform I generate using Labview on its speakers (I use the same VI on Windows and Mac OS to generate the waveform).
    Which leads to my questions:
    1) What sort of "vi sequence" am I supposed to use to get a Mac under OS X to play a waveform on its speakers?
    2) If I can't play a waveform on a Mac, what sort of output should I make my "waveform generator" have?
    Please bare in mind I am relatively new to this, and might need a somewhat detailed answer.
    Thank you,
    - John

    John,
    I have no trouble making my Mac make sounds. Dual G5, Mac OS X 10.4.11, LV 8.5 (but I have done it with many earlier versions as well).
    I generate a sine array with the frequency and duration I want. I scale that to match the input to the Snd Write Waveform.vi. For the 16 bit inputs the scale is -32768 to + 32767. Set the sound format input to sound quality = mono, rate = 44100, bits per sample = 16 bit. Run.
    Lynn

  • Help creating custom waveform to load into Signal Express

    I've never had to create a custom wave form before so Im completely new to this process.
    Basically I need two output channels. Both channels will have the same waveform structure but one will have a time offset. In other words one will be starting while the other is ending.
    Channel 1 waveform would look like this: One sinewave cycle (.25hz) then zero output for one cycle. Repeat.
    Channel 2 waveform (meanwhile) would look like this: zero output for one cycle (exactly the duration channel 1 is in its sinewave), then one sinewave cycle (.25hz).
    Both repeat continuously but out of phase of eachother. This will be a force/deflection test involving two hydraulic actuators applying a load to two points on the same specimen. Basically creating a walking condition where the customer would apply force to one spot then with the other foot transfer body weight to the second spot.
    this is more complicated than what the basic function generator can handle but I have heard of people creating their own waveform in Excel and loading that.
    Would this be possible for my application? What would the column structure in excel look like?
    I've never created or exported a waveform to excel.
    Thanks.
    SCXI- 1000 Chassis w/ 1346 adapter
    PCI 6281 DAQ card
    SCXI- 1520 Bridge Board w/ 1314 Terminal Block (x2)
    SCXI- 1180 Feedthrough Panel w/ 1302 Block
    Signal Express 2014.
    Win7 Enterprise

    Hello OKors,
    What if you were to use a Sequence step to separate the two waveforms (with "Run preceding steps before following steps" AND "Allow hardware reuse" checked) and had them output a finite amount of samples, such that each time one step executed a single cycle? It wouldn't be strictly timed as that would be handled in software rather than hardware, but it is a good place to start.
    You could also import a signal that you created in Excel as an ASCII file and choose the delimiter (tab, comma) and start/end rows. It would probably have better timing qualities than using a Sequence step. To figure out what the signal would need to look like, I would recommend saving something to an ASCII file first to figure out what formatting SignalExpress would expect as an input.
    Have a great weekend,

Maybe you are looking for

  • Slow and lots of packet loss

    Hi Folks, I have a wireless network set up at home with 3 macs on it. I have a G3 iMac (ruby) with an airport card (original), a Dual 1.25GHz G4 MDD also with an original airport card in it and finally a new MacBook Pro with the standard Airport Extr

  • How to create a jar, deploy and run it

    I extract the example bmp-simple.ear into class file and xml files. I create jar by the command jar cvf bmp-simpleEjb.jar META-INF samples (The java program are in package samples.ejb.bmp.simple.ejb; ) Suitable xml are stored in directory META-INF. F

  • Creative Cloud download problems

    I signed up for creative cloud and want to run Lightroom on my work computer (iMac running OSX 10.7.5) which is pre-loaded with CS6 (but not Lightroom, obviously). How do I do this? on the creative cloud app page, it just lets me run LR as a trial, a

  • Related Applications -- Link to R/3 Transactions

    Hi Guys, I was wondering if the related application configuration is mainly for E-Sourcing Integration purposes or if it can be used for jumping into R/3 transaction like with Report-Report-Interface. In detail my client would like to jump into the p

  • Convert from Word 2007 to Acrobat Pro 9; bookmark issue

    When converting from Word 2007 to PDF using Acrobat Pro 9, enabling "Convert Word Headings to Bookmarks", not only are Headings converted to bookmarks, but bulleted text (styles), as well.  I attached the subsequent PDF, but this forum does not permi