How to measure Pulse signals

Hello, Friends
I am interested in developing a data acquisition program from a sensor that gives a pulse signal. I would like that send me please some information about what VI’s I have to use inorder to began the acquisition and How I can measure the pulse frecuency. Some examples will be very excellent.
Please, write me. I will be very thankful
Pablo

You should be able to findout the output of the signal, is it an analog voltage or is this pulse a digital pulse (ie measuring TTL Width or some number of counts for a frequency changing pulse train)?  All this is either done with DAQMX analog in vis or counter vis.  You really need a clear picture of what the signal is before you can write code.  The code should be simple once you know your signal.
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA

Similar Messages

  • How to measure pulse/amplitude droop?

    I am trying to figure out how to measure pulse/amplitude droop in the labview.
    Is there any built in VI that perform this measurement?
    Thanks
    DB

    Do you want to measure the 10% to 90% height of the pulse itself or the 10% to 90% change in the pulse level? The suspect the latter, or we would not be having this conversation. If you want to do the former, use Amplitude and Levels.vi or Pulse Parameters.vi and scale by 0.8 to get the 10% to 90%. If you want to get the latter, you may be in for more work. First, try to use the overshoot output of Timing and Transition Measurements or Transition Measurements.vi. Read the documentation, as there is a fair amount of flexibility you can put to your advantage. If that doesn't give you good results, use Pulse Measurements.vi to find your pulse, then extract that section of your waveform. Trim the ends to get rid of the rising and falling edges (this should be a constant number of points if your pulses are consistent). Analyze the result for 10% to 90% values. The easiest way to do this is probably to use the array max and min primitive to give you the maximum and minimum points, then scale by 0.8. Alternately, and more robustly, you can duplicate the waveform a couple of times, concatenate the results, and use Amplitude and Levels.vi to find the amplitude. As a final alternative, you could fit the resulting curve to an appropriate line/polynomial/exponential and extract the info from the curve coefficients. This will only work if the data is a well defined curve. Be careful with general polynomial fits.
    Good luck. Let us know how you make out.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • How to measure pulse height by DAQ card

    I want to record pulse signals (fast pulse) and measure their amplitude (height) using DAQ card

    :-) I heard that problem before. Is it possible that we disscused this subject some time earlier?
    Well, but to your problem. How many counts do you get per second in average? I work/worked at a similar problem to analyse the counts from a 2D-detector. I tried the VI mentioned above but it was never able to analyse 1000 counts per second as a order of magnitude.
    Which shape has your pulses? Are they NIM or square shaped? How stable is your underground and of which order of magnitude is it? How fast is your DAQ board? Because according to the Nyquist theorem you will need a sampling rate of approx. 1MS/s to resolve them properly!
    Stephan

  • Can you tell me how to measure audio signal frequency in measurement studio with visual basic 6.0?

    I'd like to measure two differential input signal(I.e. A+ and A-),below is two test projects,
    1.connect A+/A- to PCI 6052E card's ACH0/ACH8 ,and refer to GND for testing
    2.connect respectively A+/A- to PCI 6052E card's ACH0/ACH8 for testing
    Could you tell me the details of the second project?and give me a illustration in measurement studio with visual basic 6. 0 about the second?
    In addition,I would like to measure the audio signal frequency,could you give me a illustration in measurement studio with visual basic 6.0?
    Wait for your reply!

    Dear kelven,
    Thank you for contacting National Instruments.
    To address your question, there are Analog Input shipping examples that demonstrate how to measure an analog input differentially, as you specify in (2).
    As for measuring the audio signal frequency, you may want to check out the following KnowledgeBase. The link is:
    http://digital.ni.com/public.nsf/websearch/4b08380530d72d3b86256340004c3005
    Let me know if you have any further questions or if this does not resolve your issue.
    Thanks again and have a great day!
    Chad AE
    Applications Engineer - National Instruments

  • How to measure different signals with PXI-2501

    Hello everybody,
    i have a an understanding problem.
    I have a PXI-2501 switch and i want to measuere signals with the pxi-4071, so far so good.
    I did some voltage- measurements and everything worked fine. Then i disconnected the power source and measured the temperature with a PT1000 in four-wire-mode ... also worked fine.
    But i want to measure voltage and temperature, in the same VI, so i connected the voltage signal on CH0 and the PT1000 at CH5 (in four wire mode), and now i get problems. The temperature is fluctating. There are a few measurements that seems OK, and then i see some that are far away from the truth.
    The VI consists of a state machine, the measurements are done in different states, of course with the correct scan list for each measurement.
    Any suggestions? Am I doing something completely wrong?
    Thanks
    (and excuse for my english )

    Hi Roman,
    id I understand you right:
    The temperature measurement works fine, if the sensor is directly connected to the 4071, but if connected via the 2501 you see the big deviations?
    Have you measured the the resistance of the Switch-Matrix yet?
    kind regards 
    Heinz

  • How to measure LTE signal strength?

    Ive used LabView for years but have been away a while.  so much is new.    Can the USRP be used for testing LTE mobile signal strength? and decode various fields like mibs and sibs? signal to noise?  CIR?  if not, is there something that is able to?
    thanks 

    Hello Bradley,
    Here is a short video showcasing one application involving NI Software Defined Radio for an 8x8 LTE MIMO, along with an article describing the application:
    http://zone.ni.com/wv/app/doc/p/id/wv-2864
    http://www.ni.com/white-paper/14311/en
    http://electronicdesign.com/4g/getting-ready-8x8-mimo
    There is a lot of additional information about USRP available at the following sites:
    http://www.ni.com/sdr/
    http://www.ni.com/usrp/
    http://www.ni.com/white-paper/8787/en
    Note that the LTE application above utilized the FlexRIO with FPGA in their system.  Using the FPGA allows you to fully customize your I/O to match the needs of your application, such as ensuring you have the bandwidth to handle LTE.  USRP products have tunable center frequency options from 50 MHz to 6 GHz, which includes the frequency spectrum of LTE measurements.  What exactly do you want to try and do with USRP and LTE?  Are there any products in particular that you are interested in?
    Patrick
    CLA

  • How to measure LTE signal EVM

    Hi All,
    I use R&S instrument(SG and spectrum analyzer) to measure LTE-TDD EVM,(Center Freq: 2.6G, power: -30dBm)
    But I am at a loss that I get the the value 87.18(EVM PDSCH 64QAM) , it beyond the limit 8.
    I donot know how to make it, can anybody do me a favor?
    And BTW, who can provide the remote commands for measure EVM, I want to use Labview to control it instead of manually.
    Thanks a lot
    Amanda

    Hi Amanda,
    Which specific Rohde & Scwarz instruments are you using?  We have instrument drivers at ni.com/idnet for a number of devices, including some R&S SG's and analyzers.  You can also download LabVIEW drivers at their website here.  These should help you interface your instruments with LabVIEW.  You should also make sure that you have NI-VISA installed on your machine.  You can search for, download and install the appropriate version of this driver here.
    Hope this helps!
    Regards,
    Stephanie R.
    National Instruments
    Stephanie R.
    National Instruments

  • How to measure pulses from 24v flow meter sensor with NI 9411

    Hi,
    I have a 24v pulses flow meter sensor, how is it possible to connect it to My NI 9411 ?
    Regards

    duplicate
    Steve M.
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    >> Vidéo-t'chats de l'été : présentations techniques et ingénieurs pour répondre à vos questions

  • How to measure the baseline of a noisy, pulsed signal

    Hi
    I am measuring the torque exerted by a large motor on a shaft using a load cell and lever arm. The shaft runs at approx 150 rpm. I have attached a drawing that shows the output I get. This is a test rig.
    I have written some code that measures the maximum peak out of a group of approx 5 peaks and writes this to a shift register. This gives me an idea of the maximum torque "spike".
    I also wish to measure the baseline torque (due to the bearings in the machine). Even when highly filtered (my noise filter is set to 49Hz) the signal exhibits this noise which is probably due to vibration in the system. The signal is zeroed when the motor is not running.
    Does anyone have an ideas on how to measure the "baseline" torque? The large spike in torque prevents me from doing a running average. Can anyone think of a way of averaging just the noisy part of the signal to get an average value? I aim to to subtract the average baseline torque from the peak value to get an idea of the torque due to the event which causes
    the spike.
    Any help would be greatly appreciated.
    Many thanks.
    Attachments:
    drawing of torque signal.gif ‏26 KB

    Thanks for the reply. I understand what you are saying. However, I might have to modify my method for measuring the peaks if I choose to implement your idea. I have taken a screenshot of my "peak finder" code and attached it.
    Bascially, the reset terminal is wired to a timer which outputs a pulse every few seconds. This resets the vi (a standard NI one I think) and sets the peak magnitude back to zero. This way, I am windowing the signal and measuring the maximum peak in every window. This is what I need to do.
    So I could use a logical filter to feed data to the running average only if;
    the amplitude of the signal is less than a certain threshold
    and if the current value has similar low peaks either side of it
    How would you construct the code to delay the evaluation so that the values in front and behind of the current data point can be analysed?
    thanks again
    Attachments:
    peak_find_screenshot.jpg ‏45 KB

  • How to measure the pulse duration of a TTL signal using AI?

    Hi there.
    I would like to know how to measure the pulse duration of a TTL signal using an Analog input.
    These TTL signals comes from an ultrasonic sensor's output. The pulse width of the signal is
    proportional to the distance of the object the sensor detected.
    I have tried using the example "Measure Pulse Width.vi" which uses a counter to measure the
    pulse duration instead. It provides me with correct results.
    However, i will like to know how can i do it using the AI instead.
    I tried it by using the example "Acq&Graph Voltage-Int Clk.vi" which i modified by including a
    timing and transistion measurement vi. Pulse duration was selected as the output. A graph indicator was also added at the output of the pulse duration to monitor the incoming TTL signals.
    However, everytime the TTL signals was detected on the graph indicator, the numeric indicator always produce a "zero" reading.
    I have attached my vi for your reference.
    Can anybody advice me what i have done wrongly?
    Regard.
    Attachments:
    Acq&Graph Voltage-Int Clkv1.vi ‏190 KB

    Hi Paul,
    Today i tried using 2 different methods to read the pulse duration of my sensor signal.
    Both methods use "Acq&Graph Voltage-IntClk" vi as a guide.
    Method1:
    Add a filter vi(lowpass/bandpass) and a timing and transition measurements vi.
    Pulse duration is selected as the output. With some numeric conversion, a centimeter
    reading indicator was created. However, the reading always remains as "zero"
    Method2:
    Add a Mask and Limit Testing vi and a timing and transition measurements vi.
    By adjusting my upper and lower limits, i manage to "filter" a single pulse out from the actual signal.
    However, like the earlier case, the cm reading still remains at "zero"
    I have attached both the methods resulted waveforms for your reference.
    Are there anything that you can advice on?
    Regard.
    Attachments:
    Results_Waveforms.doc ‏141 KB

  • Wiring a SCB-68 to measure the frequency of a TTL pulse signal

    Sorry if this is a basic question but could someone please help me and tell me how to wire up a SCB-68 connector block (connected to a AT-MIO-16 DAQ board) so that I can measure the frequency count of a series TTL pulses (signal from photon counting). At the moment I don't understand how the PFI1-9 connections are related to the GPCTR0/GPTR1 counter connections on the block and how they're all realted to the source,gate and out 1-5 connections on the DAQ board.
    Ultimately I want to be able to put this measured frequency into a Labview program with a controllable gate period.
    Thanks in advance
    Nick

    You might want to search the Knowledge Base on the NI's Support Pages for "Cable Mapping for a 68 Pin Connector to a 50 Pin Connector". This should take you to a link that will explain the mapping of a 50way to 68way cable and subsequent lines you are looking for ( reference sub link 68F50M), I guess you have SH6850 cable connected from the AT-MIO16 card to the SCB-68.
    Please check out the information about the pin outs, that should help you work out which pins map to the counters, eg GPCTR0_source would be pin 37 on your SCB-68
    Regards
    Joe (NI)

  • 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 can I use counters to read the difference between two external pulse signals?

    I generated a pulse signal and sent it to a sensor which in turn gives me a pulse signal back. I need to read the time from which the sent the signal goes high to the time that the signal is returned. How can I read this? the diagram is attached
    Attachments:
    Timing_Diagram1.doc ‏256 KB

    There is vi called "Two Edge Separation Mesurement (NI-TIO).vi". In LV6.1 it is in "c:\...\LabVIEW 6.1\Examples\DAQ\Counter\ni-tio.llb".
    Unfortunately this function has no timeout. This means that your program will hang on if there are no pulses. I have attached an improved version of this vi with a timeout(sorry for the french text in the description). There are also some other improvements like the calculation of the edge separation in seconds (not only clock counts).
    This function will only work with NI-TIO cards (like 660x).
    Attachments:
    Two_Edge_Separation_Measurement_with_Timeout_(NI-TIO).vi ‏103 KB

  • How can I use counters to read the difference between two expernal pulse signals?

    I generated a pulse signal and sent it to a sensor which in turn gives me a pulse signal back. I need to read the time from which the sent the signal goes high to the time that the signal is returned. How can I read this? the diagram is attached
    Attachments:
    Timing_Diagram1.doc ‏256 KB

    Hello;
    The way to accomplish that is by using one of the 660x boards, and configure the counter to do "Edge Separation Method".
    That method will increment the counter event count value every time a pulse comes into its source input. The counters only increments between the rising edge of the aux line and the rising edge of the gate. The current value of the counter is read when the counter is finished or an error occurs. You need to wire the out pulse to the AUX line, and the return pulse to the gate line of the counter.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • How to measure a current signal with NI 6211?

    How to measure a current signal with NI 6211?

    Hi Clecio,
    This is a charge accelerometer. It is different from the IEPE accelerometers that outputs a voltage signal.
    You need a charge amplifier. Then according to the charge amplifier output we can select an appropriate module to measure the signal.
    It is not possible to measure charge accelerometers with NI 9234 directly.
    Best Regards,
    Rodrigo Schneiater
    Application Engineering
    National Instruments Brazil
    If this information was useful, please click in the 'KUDOS!' beside.

Maybe you are looking for

  • Moving times in ical

    The new (and poorly designed) iCal list the time on the right of the event in month view.  Is there a way to have the time listed to the left of the event. ie.  from    Meeting  8 AM           To        8AM   Meeting. (Why would they ever change that

  • Updated to 10.7.2 and sound is no longer working.

    Running a 2010 11 inch Macbook Air. I updated to 10.7.2 and now the sound doesn't work. Annoying! Anyone experiencing the same issue or know how to fix it?

  • Audigy 4 speaker advice ple

    I have just brought a Audigy 4 card and while I am satisfied with it'sperformance I have an issue with my current speakers. I have at the moment the creative DTT2500 cambridge soundworks. Theseare great quailty speakers but they only have 2 analog in

  • Texts go through, but still say sending

    I text a lot with a certain person and starting yesterday, my texts have gone through fine, but it still says sending at the top of the conversation and it never goes away. I don't want to delete our conversation, but does anyone know why this is hap

  • Disable jardiff for version based downloads

    We have a mix of third party jars and our own application's jar files. We want to specify versions for all jars, but disable jardiff generation for the third party jars. We want to use versions for all jars in order to prevent network access to check