Finding a voltage in a damped wave (burst sine wave)

I am hoping someone can point me in the right direction. The closest I have seen to my question is this thread. https://decibel.ni.com/content/docs/DOC-23390
It can find the peaks in a damped sine wave but its not quite what I want. I need this for a test I am working on for work. I know labview (CLAD certified) but not so much on signal processing. Normally the engineers have the info I need.
My Setup
I am using a Function Generator to create a transit tone burst. (amplitude, frequency, and pulse width)
The sine wave operates at a certain frequency like 150kHz with a Vpp of 10 volts. I set the burst counter on the generator so that pulse width is a specic time like 5 ms. (count = f*5ms)
This all connects into an osciollocsope to read the signal. I am using a tektronix 460. I set the time divisions for both Verticle/Horizontal. I use the Horizontal at 1ms and the Vertical at 5 Volts. This shows the entire signal on the screen. I am using the external trigger on the Signal Generator to the oscilloscope. I can get labview to read the waveform just fine.
My issue
Here is a picture of my waveform. I have an updated waveform but don't have a picture on me at the moment. This waveform below only used a onetime sample the newer one uses envelope sampling at 2000 samples to make the wave much for consistent. Its more of a "straight" line look. As you can see there is incosistent peaks so if I need s pecific voltage it can give me an inconsistent reading. While the newer image is much more accurate it still has jumps in the peaks occasionally.
My Question
I need to find the voltages at different times. Such as 3 ms, 5.2ms, 5.7ms. The problem is the peaks are inconsistent so sometimes the max voltage could be at 5.0ms, or 5.6ms, or many ohter unknowns. I cannot use the oscilloscope to find it because the voltages can jump around. In labview I could check the voltage and check all peaks within the tolerance for the timing allowed but I still find sometimes the peaks are not within that tolerance window so I miss the actual peak voltage. Also I do need to change the VPP on the generator for different measurements so I willl have ot change the time divisions to work for the different measurements. Also need to find the reasonant voltage which I don't know how to do either shortly after the 5ms wave.
Any advice? This method needs to be accurate but I don't think I could get new equipment and make my life easier. I am going to have to do many measurements so I am hoping to avoid taking 100 measurements to get only one "real" value (read  many points in one spot and take the maximum found out of those 100 which is almost what the envelope reading on the oscilloscope is doing). 
Another problem I have is the osciolloscope doesn't decay to 0Volts but like 600mv/-300mv. So that will cause problems with my calculations when a passing value is only within 500mv of the required voltage.  Both instruments are calibrated.
Need more infor let me know.

How are you transferring the information to the computer? I am assuming you are using the Tektronix GPIB; is that right? Also, is it a TDS460A?
What's the sample rate from the data you are sending to the computer? Is the data just an array or a waveform?
The easiest way to find the voltage value at X seconds and if your sample rate is Y Hz, would be basically extracting the sample number N = X * Y from the array. I would also like to see the updated waveform you mentioned.
Camilo V.
Applications Engineer
National Instruments
www.ni.com/support

Similar Messages

  • Please help simulation synchroniz​ing dual sin wave using PLL labVIEW

    Hello,
    Please I want a simulation based on Lab view for synchronizing generators, as we know that the generator will generate a sin wave.
    If anyone can help me with this idea the simulation can be done using to input sin waves and synchronized with each other using PLL (phase lock loop), note that the generators will be synchronized if the frequency, phase angle and voltages are equal ( synchronized). Please if somebody has simulation based on this idea to help me with it.
    THANK YOU A LOT.
    I will appreciate it.

    Iam new on LV. what i want a simulation to synchronize two generators, the two generators will generate sin waves this sin waves will be compared to achieve synchronization its better to use PLL but i have no idea where to use it in this such simulation.
    The below attachment will discuss more what i want but it it can be editted instead of using two generators from outside is to put to sin wave and prove that when this two sin wave are not equal so synchronization faild and vice versa.
    no need for the DAQ it can be replaced by an oscilscope to see the two sine waves that are synchronized, any one can help me by this simulation  i will bs very thankful for him.
    THANK YOU ANYWAY  
    Attachments:
    paralleling.jpg ‏145 KB

  • Sampling sine wave in labview

    how to read  the corresponding voltage value for each point on sine wave(each sample)?
    please show me the block diagram
    thanks,

    continued here....
    LabVIEW Champion . Do more with less code and in less time .

  • PXI 5411 sin wave burst plus timing

    I have a PXI system with a 5411 ARB card and a 6259 MIO card.
    Here is the issue.
    I need to:
     generate a sin wave pulse at 16MHZ...
    This pulse initiates at T0 plus Tn from a trigger pulse generated by the AO of the 6259 (needs to be as short as 1mS and as long as 3000mS-repeatable and guaranteed)
    This duration of this pulse is Tx (can be as short as 1mS up to 1000mS again repeatable and guarenteed)
    My problem has been that the timing of Tn and Tx is at the mercy of the computer as ranges up to times as great as 1000mS.
    I know there is something simple that I am overlooking... but for the life of me, I have not been able to find it.
    Thanks,
    Paul
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

    Hi Paul,
    I'd like to clarify a couple points in your post to make sure I understand your application correctly.  It sounds like you want to generate a trigger pulse on the 6259 - is this using the counter or analog output?  You also mentioned that you wanted your start trigger and reference trigger to be user-defined, but you are only getting 1000ms accuracy.  This may be occuring because you may be using software timing. 
    It sounds to me like you'd like to use a digital trigger from your 6259 to start your acquisition, then specifying the number of samples to generate to control your Tx time.  I may be missing something that you're trying to do in your application, so please reply with more details on your application if possible. 
    Thanks!
    Daniel L.
    Applications Engineer
    National Instruments

  • Where would I find Uniform White Noise.vi, Square Wave.vi, and Sine Wave.vi?

    I am trying to open the Demo Scope.vi that is located in tutorial.llb that comes with the LabView installation. When I try to open Demo Scope.vi,LabView can not find Uniform White Noise.vi, Square Wave.vi, and Sine Wave.vi that are subVIs that Demo Scope.vi is looking?
    Has anyone had similar problems when trying to run Demo Scope.vi through the Getting Started with LabView manual? FYI, I have the LabView Version 6 Base package. Any help on this subject would be greatly appreciated. Thanks in advance.

    This issue also is mentioned in KnowledgeBase 21H8J2R2.
    In LabVIEW 6.1, the Demo Scope VI referenced in the LabVIEW Getting Started manual only uses VIs available in all LabVIEW development systems, including the base package.
    Kelly H
    LabVIEW Documentation
    National Instruments

  • How can i measure only the valley voltages of a sine wave in labview 7 express evaluation version?

    I am trying to convince my company to send me to purchase labview and send me to classes for labview.
    I am trying to put together a small demo for them using the Labview 7 express evaluatin copy that I recieved.
    What I am wondering is how can filter out everything besides the valley peaks on a sine wave.
    What I am trying to accomplish, is create an example showing that Labview can sameple from a sine wave, read about 5 "valley" points of the wave, evaluate these based on a value that i can define, and signal pass or fail.
    attached is a picture of what i have so far
    Ryan
    LV 7.1
    Attachments:
    progress.bmp ‏3841 KB

    Hi,
    I built a VI using LabVIEW 7.0 that detects the valleys in a sine wave. It uses the 'Peak detector' VI that I believe is available in the evaluation version.
    (Functions palette >> All Functions >> Analyze >> Signal Processing >> Time Domain >> Peak Detector)
    I have attached a VI as well as the screen shots its front panel and block diagram.
    I hope this helps.
    Sincerely,
    Feroz
    Attachments:
    valley_detector_bd.jpg ‏36 KB
    valley_detector_fp.jpg ‏72 KB
    valley_detector.vi ‏29 KB

  • Measure a Linear Scale Unit, with sine wave signal

    I have a Linear Scale Unit, with three outputs, Phase A, Phase B and Scale ABS point. The outputs signals are in sine wave, with Phase difference of 90º. I have a NI PCI-6034E, and I don't know how to read that signals and convert them in mm and also put them in LabView program. I only find Quadrature Encoders. I don't know if it is better read the signal by the counter or analog input line.
    Thanks and Best Regards

    Hi Luis,
    If your inputs are sine waves, you're probably best off using analog input, though if the voltages are correct, you might be able to use counters.
    The conversion from the voltage outputs to mm distance is dependent on the sensor, so you will have to look in its documentation or search the web to find the parameters for your device. Once you find these values, you should be able to convert with a pretty simple LabVIEW application based on the input signals, either using their exact values or counting cycles, whichever is appropriate for your sensor.
    If you need more help with the conversion, please post more detailed information on the encoding of your sensor.
    Thank you,
    Kyle Bryson
    National Instruments

  • How to measure time difference between zero crossing of a sine wave and rise time of a pulse on a same graph?

    I have a 50Hz sine wave and a pulse signal on a same graph. The phase difference between two is between 0-90 degrees.
    Now I need to calculate the time difference between (when the sine wave crosses zero volts) and (when the pulse rises). The frequency will stay approximately same for both signals.
    The application is for a three phase generator. In simple words, when the time difference between the zero-crossing of sine wave and the pulse rises increases, that means that the load on the generator has increases.
    I am a beginner user of LabView (version 9, 2009), maybe it is a very simple problem but I've been pulling my hair out for the last few days and coudln't figure anything out. Any help would be greatly appreciated. I am using DAQ USB-6008 to measure these voltages and pulse from the generator and a sensor
    I have attached a jpg (a graph that i just made with excel to explain). The time 't' is what I am trying to measure
    Cheers
    Awais 
    Message Edited by awais.h on 03-30-2010 11:20 PM
    Message Edited by awais.h on 03-30-2010 11:21 PM
    Solved!
    Go to Solution.

    Hi
    Thanks for the code but I'm afraid it won't work. Like you said the probability of choosing a value that is on both graphs may not happen. This is something that I would like the code to do automatically.
    But I did use the previous code posted and made some modifications to it and it seems to work perfectly. Now the next thing is to be able to get just that one value that tells you the first time difference.
    Here is what I get using that code.
    As you can see from the t Values. I only need the one that is highlighted. If there is a way to filter out the rest it would be great.
    I was thinking of a while loop and as soon as the value is higher than 3E-5 it would store the number and stop the loop, but I'm not too familiar with arrays in labview.
    Here is the the code modified.
    As you can see, it wasn't that big of a modification and it still is your code.
    I will keep trying.
    Thanks for the help
    Attachments:
    FinalShockSpeed.vi ‏55 KB

  • How do I make a sine wave in illustrator?

    Hi,
    I started a thread earlier this evening but I think that I accidentally flagged it as "solved" or something like that (I'm new to this forum). So I'm trying this again. I want to know if there's a way of creating a sine wave in illustrator. I've managed to create a cosine wave by using the zig zag effect on a line and choosing "smooth". But I can't seem to find a good way to make a sine wave.
    This is the difference for anyone wondering:
    I want a sine wave just like the picture above.
    Thanks for the help!
    ekmanch

    ekmanch,
    As I (mis)understand it, to create a single full sine wave, you may:
    1) Create a horizontal line 2.5 times the length of the desired full sine wave (or you may adapt the length later);
    2) Effect>Distort & Transform>Zig Zag with 4 Ridges per segment and Smmoths Points and the desired height as the Size (or you may adapt later);
    3) Object>Expand Appearance;
    4) Object>Path>Add Anchor Points;
    5) With the Scissors Tool cut where the sine wave starts and ends;
    6) Ungroup if needed and delete the end bits (and adapt the length/height if needed).

  • How can I Write a sine wave in an Access-fil​e?

    I measure a sine wave in LabView 6i. How can I write the datas automatically to an Acces-file, at the same time?
    In my program, I managed it with Execute SQL.vi, I change a number in a SQL statement(String) -> after this I push start and then it writes the statement in the Access-file.
    The problem is, it writes only one data per measurement in the file. How can I write all datas in the Access-file and measure the wave at the same time?
    Thanks for help!
    Attachments:
    getwave.vi ‏49 KB

    On the waveform palette, you will find a "to components" vi that you can break out the array of the waveform. You can then, using a for loop write all of the values from the waveform.
    Better yet, there are examples in the database toolkit manual on pages 3-13 to 3-15 that deal with reading arrays (and even has a waveform example).
    Good luck!

  • Sine wave on startup

    I searched for this all over and can only find references to start up sounds like 5 beeps or breaking glass.
    A couple of times I have started up my PowerBook G4 to have it make a single mid-ranged sine wave sound for a second or so. Then it waits for a few seconds and makes the normal startup sound. Everything seems to be running fine, except that hard drive access has become pretty slow. I tried running repair disk and it did nothing. What does the sine wave sound signify? Like I said this has only happened a couple of times, and is the only unusual error I've gotten.
    Thank you,
    Andrew
    PowerBook G4 17"   Mac OS X (10.4.8)  

    sometimes slow drive access means failing hard drive.
    all kinds of noises could be made by failing drives also.

  • How to change the phase by 90 deg of a sine wave

    Hi
    Does any one know how to change the phase of a sine wave by 90 degrees.
    Mal

    Hi Malkoba,
    Thank you for your post.
    Having looked at your VI I can say that you have created the correct inputs to the 'Sine Waveform.vi'.
    However the dial you had created had no affect as it was not wired into it the 'Sine Waveform.vi' on the block diagram.To fix the problem I have wired the 'Phase' dial into the 'phase' terminal of the waveform generator. This now changes the phase of the sine wave during runtime.
    The dial also now has a digital display (numeric box below it)- this can be used to read the dial's value, or feed in specific values into the control.
    Please find a modified version of your VI below.
    Regards,
    Field Sales Engineer | National Instruments | UK & Ireland
    Attachments:
    NI_phase shift sine.vi ‏31 KB

  • Best fit lines for loops and sine waves

    I am trying to find a best fit line that will work for sine waves and loops (hysteresis loops). I can get the sine wave just fine, but when I switch to a hysteresis it just puts a line across the middle (I assume because of the 2 y values for every x). I am doing data acquisition that will take in both forms and graph them. I tried a polynomial fit and it doesn't work at least the way I implemented it and I tried a few others but it looks like they are all function based. Also, my y values are coming out of a Bessel filter. I don't think this would be affecting anything but I thought I would put it in here incase it does.
    Did I miss one that I haven't tried that works for my application?
    Thanks
    Patrick

    RiversDaddy wrote:
    ... currently I am doing it by looping and reducing the error towards zero to fit the amplitude and phase. (I know the frequency).  If this is what you are looking to do then I will help, or should I be doing things differently? All of the functions I have found to filter or extract tones seem to introduce a larger frequency of phase error than i get using this method, but am I missing something?
    "looping" is a bit vague. What is the actual algorithm to find better estimates (e.g. levenberg marquardt, etc.)
    What problems did you have with extract single tone. Can you show some data where the results from it are not good?
    LabVIEW Champion . Do more with less code and in less time .

  • How to count the number of cycles in sine wave

    Hi,
    I am new to Labview.  I have labview 8.2 version and my dataacquisition is NIDAQPAD6015.  I could write a program to generate a sine wave of desired frequency through simulate signal. My question is how do i measure the number of cycles for this sine wave as soon as I run the program. Hope my question  is clear.
    Ravi Mokirala

    To find the offset (which in this case is the Y value midpoint around which the sine wave is symetrical):
    Capture more than one cycle.  Find the min and max values.  Subtract Min from Max and divide by 2.  Then subtract this result from the Max value (or add the result to the Min value).  This is the offset.
    To count the number of cycles where the offset is unknown, just use the first data point value as a reference.  If the next data point is more positive, then count the number of times that the first data point is repeated and the next data point is more positive.  Of course with DBL data type, you probably would not get the exact same value as the first data point, so you need to use In Range with a very tiny limit.  It all depends on your signal amplitude, frequency, and sampling rate.
    Example:  Lets say your first data point value is 0.5 and the 2nd point is 0.55.  You need to look for another value that is between 0.48 and 0.52.  Then read the very next data point value.  If it is greater than the previous value, add one to the cycle count.  If it is less than, you are at half a cycle, do not add to the count.
    - tbob
    Inventor of the WORM Global

  • Sine waves, sidechaining, and a deeper kick drum question

    Hi all,
    I found the following tutorial on sidechainng a sine wave to create a deeper sounding kick drum and tried to do it, but I'm going wrong somewhere.
    http://www.generate-music.com/QT/L8_SinewaveTutorial.mov
    He says to use a test tone generator to create a sine wave at 55 hz and export that as an audio track. I'm not quite sure how to do that. I saw a test oscillator plug-in when you create an audio track, so I set that up to about 55hz and hit record, and it just gives me that test tone but it doesn't look like anything recorded.
    Also, when he puts the Channel EQ, Expander, and Noise Gate on the Aux 2 audio track, I see a "SineWav..." channel strip setting with those 3 plug-ins...is this an existing strip setting that I just can't find, or did he manually place the 3 plug-ins and then save it as "SineWav..."?
    Any help is appreciated! Thanks!

    Hi,
    You can export the 55 Hz sine wave, just do a new empty session, create an instance of the tone generator, set ti 55 Hz, turn it up (lower the volume of your speakers) and bounce a few bars of it.
    Then you'll have your 55 Hz audio file ready for use. Import it into the session you'll want to use it on.
    As far as the channel preset, he robably made that one himself. No worries, just match what he did.
    Cheers

Maybe you are looking for

  • Daylight saving time off by 1 hour

    Greetings. There is a java aplication running on my windows XP professional client. It apparently uses one of the java functions to get the date from my client PC. The problem is that the time in the application is off by one hour. I am in the easter

  • Web application deployment error

    Hi, I'm new to weblogic and I installed weblogic 8.1 sp4 on linux Enterprise OS I installed and coonfigured the weblogic server as development with single instance using template #2: Basic webLogic Server Domain 8.1.4.0 I am getting the following err

  • Syncing issues with Outlook - conflict resolution

    I am having problems with syncing my bb to Outlook 2007.  I found part of my answer in old messages on the forum and changed the length of time for appointments on the bb to forever.  But as someone noted the bb will eventually fillup.  It wiped out

  • Appache Soap 2.2 and WL 7

    Hi      I have upgraded from WL 6.1 to WL 7.0, and I can not get my web service to work on WL 7.0 using my client written using Appache Soap 2.2. I have tried to invoke the web service directly from WL 7.0 web page and that works fine, however when I

  • How to invoke 'File Open' dialog box in Forms (under unix)

    Hi all, On the Unix platform (motif), how do I get the File Open Dialog Box by using Forms45. Thanks and regards, Srinivasa. null