Measuring the pulse

Hai all the...

I'm using the port Usb-6009 meter to measure the engine for each 0.1 s and save it in the file lvm. Aquistion and and logging of data at the initial stage say 10 minutes generated pulse is acurate and data is stored for each 0.1 s, after the 10th minute acquistion speed and recording speed goes slow and instead of data for each 0.1 s acquisition it measures for 0.12,0.14,0.16, and... 0.2, 0.3 S... and stores. For this reason, I'm bored n number of impulses and I could not provide appropriate time resolution.

After analysis, I found that the acquisition depends on material used and the system used.

My System Configuration is

Intel core 2 Duo processor

2.67 GHz, 1 GB of Ram

anyone can suggest a solution for the above problem, is there another way to measure signals without loss or delay. ?

Check the attachment. You can get an idea.

Tags: NI Hardware

Similar Questions

  • at the same time production and measuring the pulse

    Hello everyone,

    I'm generates a pulse for specific time. Now, I want to measure within the same daq card. I've done Vi for him but he has an error. I have USB daq-6343. I enclose my Vi here.

    The problem is I am able to get pulses generated at PIN 6 PFI but reading Vi watch time-out error.

    I plugged the wire between PFI 1 pin and PFI 6 pins on the DAQ card.

    So please suggest me what to do to eliminate this error.

    Thanks & best regards,

    I just looked at your original vi, I had looked only at the most distant (corrected) a previously.  I don't see a good reason to read timeout error you have immediately.  Record of an error timeout on your attempt reading suggests that the code was executed without error so far, including the beginning of the generation of pulses.  That would leave wondering on physical cable connection or possibly some undesirable side effects caused by your cleanup code when you three States a PFI lines.

    The other issue was my suggestion to leave DAQmx Timing.vi outside of the configuration string entirely for cases like this where you only want to build a single pulse.  To be honest, it's a habit & practice I adopted a long time ago.  I thought one of the reasons was that the finished pulse trains required a minimum of 2 samples.  A bit of test code showed me that it isn't true, if my memory tells me there was a time when it * used * to be true.  I don't remember if I have errors or if the task has chosen to generate 2 pulses with just a warning, or something.  I just remember that, while he was working on a module that was supposed to be able to produce any number of pulses from 1 to N, I found that I wasn't actually able to support the case of 1 pulse by asking just 1 sample over sample mode.

    * Anyway *, the other reason to avoid sampling over for a single pulse mode is that in the past, this would consume actually 2 counters on DAQ cards.  Generated the pulse (s) while the other was a help that triggered the first to control the number of generated pulses.  It was unnecessary as you could * also * generate a single pulse leaving the DAQmx Timing.vi out of the config, a method that used only 1 meter.

    X-series cards (like yours) don't consume over 2 programmable counters of the user to generate finite pulse trains, so the lesson I learned a long time ago and was trying to convey is perhaps not so important in your case.  I recommend it even if you know that you will always generate a single pulse, simply because he considered the standard way to generate a single pulse (as seen in examples of navigation).

    -Kevin P

  • -Measurement of the pulse width specifies the timeout?

    I'm trying to set up a simple project of Signal Express that measure the pulse of two separate signal lines width.

    My PCI6224 has two entrances of meter and then run each pulse in the entrance of a meter line, respectively.

    The I set up the express project signal attached, which consists of two simultaneously runnings tasks DAQmxAcquire.  Each of them is set to measure the pulse for one of the pulse width.  I then connect the results for further analysis.

    This configuration works very well from time to time.  The problem arises when the impulses do not arrive quickly enough and the acquisition of the timeout action.  Looks like that has a simple solution - just increase the time-out - but I can't find a single setting around the affects, the time-out!  The time-out period is always 10 seconds, regardless of what I do.

    Can anyone help?

    Thank you.

    Hello rothloup,

    Unfortunately, there is no option to change the time-out Signal Express for a task entry counter.  This has been brought to the attention of our developers.

    Reading a DAQmx LabVIEW VI has a time-out node you can specify the time-out period, even in the tasks of meter.  I suggest you try to implement your system in LabVIEW (if you can).

    Here is a tutorial on how to make PWM in LabVIEW.

    http://www.NI.com/Tutorial/2991/en/

    See you soon,.

  • Measure the frequency of the pulses PXI-6624

    Hello.  I work with a PXI-6624 and am interested to make measurements of pulsed frequency for frequency and duty cycle on its inputs using DAQmx.

    When I go to create the virtual channel, however, I have error-200431:

    "Physical channel selected does not support the type of measure required by the virtual channel you create."

    ' Asked the value: pulse frequency.

    «You can select: frequency, period, pulse width, period of Semi, separation of the two edges, Position:...» »

    Is this card really not capable of doing these measures of pulse frequency?

    Yes, the "Pulse" (not to be confused with "Pulse Width") measure was introduced with STC3 of OR including CompactDAQ and X series devices.

    Measuring the pulse:

    However, you should always be able to measure the frequency and the duty cycle on your card with a half measure:

    The half measure:

    The images are in the X Series user manual.

    The difference between these two modes boils down to how the data is stored and implemented in buffer on the map - with the period semi method that the material does not distinguish between high and low samples and puts everything in a single buffer.  However, if you start the meter on the song (see below the node property), then you would know the order of low and high samples in software, and are easy enough to calculate cycle frequency and the duty of this.

    Best regards

  • I'm using Labview TDS3000 Tektronix pilot measures the delay between pulses on two different channels

    I use the driver for Tektronix TDS3000 Labview to configure an TDS3034B oscilloscope and I try to measure the gap between the falling edge of a pulse on channel 1 and the edge failling from an impulse on channel 2. It seems that the TDS3034 can measure this in in-house by the use of the measurement on the front panel key, but how do I retreave using your labview driver?

    Hi Tori

    I am now in place and running, I already had the TDS3034B to measure the delay between the pulse on channel 1 and the pulse on two channels, as well as the pulse width tuned to channel 2. This was done by saving the settings on the scope on a diskette and cutting and sticking them in a modified version of the TDS3000 auto setup vi. I created from a simple VI which allowed me to manually enter orders for tektronix and found that the command "measure: meas1: data? went around.

    Thanks for all your support on this issue.

  • Measure the time between two digital pulse

    Hello

    For a non-critical calendar application, I need to measure the time interval between consecutive TTL pulses, ranging from the order of 0.5 s for a few seconds, with a low accuracy of +/-10-50ms. The interval being measured varies between the rising edge of the first pulse and the front of the next and so on.

    I have several input lines I need to deal with. Because it's a critical machination low cost, I don't want to use digital counters for each line, so I work with an acquisition of data USB6008 and have connected the input rows TTL on the digital inputs of the device. Avoiding will be sufficient.

    I found a good example of VI on discussion forums that does almost the same thing, only it uses instead of the DAQ Assistant user input. The VI works including the time the program going on in a while loop. I replaced with the DAQ Assistant output (a channel) user input in the hope that it is still work.

    When I run the program in "run once" mode, it seems to work perfectly. However, in "continuous run" it measures only a very small interval, probably just the time between two samples.  I think it has something to do with the help of a while loop in combination with the DAQ Assistant. Anyone who has any suggestions how to solve this problem?

    Thank you!

    OK... first of all, you should never use the button "run continuously.  I wish that NEITHER would be to eliminate it, but told me that it is sometimes useful for debugging.  If you want your program to run over and over again, use a while loop with a stop"" button.

    If I'm reading your code correctly, you make your initial moment, and then collect data from data acquisition.  When one of the channels is "T", you stop your loop and the end time of capture.  (By the way, why you convert your table to a cluster?  Why not just index the appropriate channel in the table directly?)

    Since you want to capture the time between two consecutive pulses, you need to know when a transition has occurred... i. e when your digital line went from F (no pulse) to T (pulse start).  This will give you your forehead.  Right now, all you're doing is looking for a value T - so you have no way of knowing if you are looking for to the previous impulse again, or a new impetus.  You also burn 100% of your processor with the way you have your programme in place.

    You need a small loop delay so that your VI is not 100% of your hogs CPU time.  Given that you can live with an accuracy of 50msec, what I suggest that you use.

    See attached picture for you give an idea of how to implement.  He will probably need some refining operations, but it should point you in the right direction.

    I hope this helps.

  • How to measure the difference in time between the passage by zero of a sine wave and the rise time of a pulse on a same graphic?

    I have a sine wave of 50 Hz and a pulse of the signal on the same chart. The difference in phase between the two is between 0-90 degrees.

    Now I need to calculate the time difference between (when the sinusoidal wave passes through zero volts) and (when the pulse increases). The frequency will remain about even for the two signals.

    The request is for a three-phase generator. In simple terms, when the difference in time between the passage to zero of the sine wave and pulse increases increases, it means that the load on the generator has increased.

    I am a novice user of LabView (version 9, 2009), maybe it's a very simple problem but I was pulling on my hair for the past few days and couldn't understand anything. Any help would be greatly appreciated. I use DAQ USB-6008 to measure these tensions and the impulse of the generator and a sensor

    I have attached a jpg file (a graphic that I just did with excel to explain). The time 't' is what I'm trying to measure

    See you soon

    Zdzislaw

    Awais.h,

    For problems of this kind I recommend start writing the granular steps you would take to manually fix this problem.  You can't say LabVIEW (or any programming language) If you can't succinctly describe the solution to your problem.

    The I want to address this problem is to:

    1. find all the zero crossing points and edges on the rise
    2. for every rising edge find the difference between the timestamp and previous passage by zero

    Here is an implementation of this algorithm LabVIEW:

  • How to measure the width of pulse with MyRIO

    Hello

    Sorry in advance if this is not the most appropriate forum.  I'm not entirely sure if it's a more general problem of 'software' or the MyRIO-specific.  I have searched the forums and found a few related topics but could find no one who help me in this context.

    I'm trying to measure the width of a sensor pulse ultrasonic ping.  It emits a signal conditioning - the time that it is high directly corelates how far is the object.  Being new to LabVIEW I am confused as to how do I calculate the time it remains high.

    I read that LabVIEW should not need to 'variables' as in python or C, for what is the best way to measure time, the signal is high?  Normally, I'd go (new_time - old_time), but obviously I can't store an old time in LabVIEW as I would in python or C.

    Other notes:

    I have the sensor correctly ping echoing and I can see the blips on a chart and see a perfectly square wave valid.

    To answer your question on how you would in LabVIEW...

    While LabVIEW has not stated/named variables that you have in a language based on text, the data is stored on the wires. You can use the nodes as node registers or shift of feedback to store values between iterations of a loop:

    (this will keep subtracting y (starting with 0) and store the result for the next time it runs)

    LabVIEW also has functions in the range of mathematics/signal processing to make the detection of pulse on a waveform.

  • Measure Z to a battery encoder encoder pulse frequency to measure the speed using a 6034 E card

    Hello

    I want to measure the speed of a motor that has an encoder to encoder hung on battery. It provides impulses 3 A, B and Z I uses a PXI 6034 E card. I wanted to know if there are any examples/ideas that could help me with this (I'm new to digital programming in Labview). I moved to NI Daqmx 9.8 recently of the old version that has supported the existing codes and therefore being updated the code. I also want to know if an external clock source is needed to do this. This.

    Hello

    There are several examples in the finder OR example (you can get here by going to help > find examples in a window of LabVIEW). You can browse examples of Encoder on input and output material > DAQmx > entry counter. You should be able to find some examples that will be useful.

    In addition, this link is a good resource to get started using DAQmx: http://www.ni.com/white-paper/5438/en

    Thank you!

  • measure the distance between 2 impulses (PCI-6221)

    Hello

    I have a digital signal that sends a pair of impulses (100ns width each) roughly every 100ms and I measure the time between two pulses of a pair (with a resolution of 100 ns).
    For the moment, I got a card PCI-6221 to accomplish this task. Unfortunately, I have no solution until now only measures of counter, I found measure time between constant frequency signals, i.e. they cannot measure the distance between 2 single pulses.

    Any help / ideas / or even telling me that it is impossible to solve this task are appreciated

    Are the two pulses on the same line?

    If so, you need to just configure a task of the measurement period.  If they are on separate lines, you would use a task of "separation of two-edge.

    You might be to throw off by the timing of it:

    If you do not configure implicit synchronization in your task, will start on the first edge after DAQmx Read is called.  Thus, in order to intercept the signal, that you must configure your task, call DAQmx Read and then start your two squares.

    If you want the task to control the signal continuously, you must configure name timing.  In this case, you will receive a sample on each rising edge of the external signal (assuming that the two impulses on the same line) - If you start the task of counter before starting the production of pulses (which you probably should), then the same samples correspond to the time between pulses, the odd samples would be the time between each series of pulses.

    More information on modes of counting on the 6221 lie in the M series user manual.

    Best regards

  • Measure the time difference between a digital output and an analog input that responded to the questionnaire

    Hallo,

    I use the following system:

    • OR PXI-1044 with controller NI PXI-8109

    • OR PXI-2564 switch module to turn on the monitor of my test device

    • Data acquisition multifunction NI PXI-6259 to measure the signal that responded to the questionnaire jump

    The two cards are the same - PXI trigger bus. For both, PXI-2564 and PXI-6259 I use DAQmx to set the reading and writing of the channels.

    Now, I want to measure the time between the digital output, my unit turns and the analog input, which measures the response of my system.

    I can't do work by myself, please help me!

    I thank Ludwig.

    Hi Ludwig,.

    If you can't give us any VI we have difficulties with to help you.

    Because I Donat knowledge how your program is mounted it is not easy to know where you should enter signals.

    Here's a question similar to yours:

    http://forums.NI.com/T5/LabVIEW/best-way-to-measure-time/TD-p/178704

    and 2 external links:

    http://www.ehow.com/how_8698983_measure-time-LabVIEW.html

    http://objectmix.com/LabVIEW/385152-how-can-i-use-LabVIEW-measure-time-between-analog-pulses.html

  • How can I measure the output of a sensor pwm ultrasound using the module or 9403

    How can I measure the output of a sensor pwm ultrasound using the module or 9403

    Khalil,

    When you say 'measure' the PWM signal, exactly what to tell you?

    You're looking to measure the frequency or cycle of the signal function? You count the edges of the PWM output increase? Looking to control the waveform?

    With reconfigurable FPGA hardware, it is up to the user to define the function of the physical i/o on the FPGA chip. By connecting the signals as Adam suggests your digital pulse will be brought to the cRIO. In your FPGA program, you define the function. You can set a base counter or transfer digital data from single point to welcome you cRIO for floating-point more complex treatment. Example FPGA programs are located in the http://www.ni.com/IPnet.

    Hope this helps, please post any additional questions.

  • Measure the intensity of the flash using a photodiode

    Hello world

    I want to measure the intensity of the flash of my flash lamp using a photodiode.

    Maximum repeat of the lamp flash rate is 500 Hz, the duration of the pulse ~ 2 µs.

    Right now I use a card counters/timers PCI-6602, so I have to buy new material (max $ 2000) in any case.

    The precision should be as high as possible because the signal is used to normalize the flash fluctuations in my measurement.

    I don't know what hardware meets my needs (USB-6009, NI PCIe-6351,...) because there are so many options.

    Any recommendations?

    Thank you!

    Johannes

    Johannes,

    Yes. Additional information has been very useful.

    1. you can consider a tube set, as opposed to a photodiode.  Who spends the majority of your budget here rather than on the acquisition daq hardware but can give you better optical performance. PMT can be very sensitive (responses of single photon), fast and low noise.

    2 and 3. For an area under the curve as, I would consider a high speed Integrator (OPAMP fast with return of capacitor).  The output is a voltage proportional to the area under the curve.  Because you must read at 500 Hz, a relatively slow and cheaper DAQ hardware could be used. You must also reset the Integrator after each reading.

    Consider the comparison between direct scanning of the curves in your image to the Integrator, I proposed:

    A digitizer to 10 MHz capture 3 or 4 samples non-zero on the closer peaks and probably no sample in the upper part of the pulse.  Thus, the calculated surface might have significant errors. Certainly greater than your target < 0.1%.="" faster="" digitizers="" with=""> = 12 bits of resolution (required for accuracy) are very expensive.

    Op amp Integrator costs ~ 10 US $.  The other required components that would increase slightly. Even if you were to buy a power supply and an enclosure for the Integrator, the cost could be< $200-300="" us.=""  the="" sampling="" rate="" of="" the="" a/d="" conversion="" is="" ~="" 500="" hz.=""  ="" even="" a="" usb-6008=""><$200 us)="" is="" fast="" enough,="" although="" its="" triggering="" and="" accuracy="" may="" not="" be="" good="" enough="" for="" your="" application.="" certainly="" there="" are="" several="" devices="" in="" the="">< $1000="" us="" range="" which="" are="" more="" than="">

    4. stay with the 6602 for measurements of frequency and generation of calendar. It works well, has an impressive track record and you already have it. Add the input device a adapted analog and you should be ready.

    I don't want to make this sound too simplistic, because it isn't. What you're trying to measure requires some effort and a few precautions to ensure that you get significant results.  For example the discharge that powers the lamp flash can produce powerful electrical transient signals.  These could be much larger than the photodiode/PMT outputs and they occur simultaneously.  Preventing transient corrupt measures may require a substantial amount of test and design.

    Lynn

  • How to measure the frequency of NOR-DAQmx RPM tasks

    Hello

    I'm trying to measure the frequency using the NI DAQmx task and then convert it to a RPM if possible.

    I have the following material available to me.

    I have a block SCXI-1327 terminal, as well as a 6289 PXI multifunction data acquisition Module SCXI 1126.

    I wired in a mag ai7 sensor on my 1126 and then of the passage of an object metal I get a range of 6-8, so I am able to read the mag sensor.

    What I'm trying to do is somehow convert this analog measurement a RPM using the NI DAQmx task only.

    Any help would be appreciated.

    Hi, smooth,

    Yes, you would select linear, then put in the result of this calculation of the slope.

    The Manual recommends a minimum frequency of at least 15 Hz for setting low range. This card is not really designed to measure the frequency for a single pulse over a long period of time.

    The number of LAPS down (assuming one pulse per turn) that we recommend that you measure with the 1126 is so 900 RPM. If you need measure low revs, and you cannot increase the number of impulses per turn, you could consider either read the signal as an analog waveform, or if it's a digital pulse, using a counter to basic task. In this way, you can use any method you want to handle the situation where there is only a single pulse in a long time.

  • Measure the movement against the frequency

    My test is measurement and tracing motion valve engine RPM. I need the valve position sample (analog signal) all of the pulses from a rotary encoder and also enjoy RPM. Then later I have to extract unique plots, each revolution of the position data. Each parcel must be referenced against the RPM about during which it was sampled. This will take place at the 66kHz about 8 seconds while it will generate a long file.

    I suggest you begin the Z (1 per rev) pulse signal sampling and 1 post analog SOUL each dry vegetable (720 / rev). Store this table. At the same time I want to run a task to capture the frequency once every revolution (pulse Z) by measuring a pulse. Store these vals to a separate table.

    After measurement is done I can record the position great soul array in a file of measures and record the frequency data in a separate, much smaller file (let's call it an index file).

    In this way, for the analysis, I can load the index table and count the length of it in order to determine the length (in points of data) of the large table soul. This could allow me questioning the guard index for a selected rpm and select the correct positional score 720 for conspiracy against angle encoder (tracing movement is against increments of 1/2 deg as x.)

    This plan has any merit? I'm new to this type of measure, and if someone knows of similar procedures I hope you hear and taken into account. Is there maybe a better way?

    This seems reasonable. Look at the threshold of the 1 d Array function.  You can use it to search the Board index to a certain speed.  Round off the result to the nearest smaller integer. The index in the positional table will be 720 * this integer (- 1).  If your speed can vary from top to bottom, you may use the start index or reverse the table to find the location you want.

    Lynn

Maybe you are looking for