I am having data i want to measure pulse width without using hardware and tell me how to start and stop soft timer using labview

soft pulse width measurement

If you are creating a pulse in software somehow, then you can use Pulse Measurements.vi that's on the Analyze>Waveform Measurements palette. This will require that the input is of the waveform data type with signal and timing information. There's several timing functions on the time & Dialog palette that you could probably use. Check out Tick Count and Elapsed Time. If you could provide more details on what exactly you need to do, we could provide more help.

Similar Messages

  • Can counter measure pulse width difference between two signals

    I am interested in determining the high pulse width time that two signals have when they are in various phases between eachother.

    Why don't you try one of the pulse width examples. I don't know what ADE you are using, but you can search for examples (http://www.ni.com/devzone/dev_exchange/ex_search.htm) with the key words "+pulse +width" and find several examples in different languages. This will measure the pulse width of one signal, but you can program most of the counters to do multiple tasks at the same time. Just copy the code twice and change the counter number to program counter 2 as well. If you want the ORed pulse width time, I would recommend adding a OR gate to your circuit and then feeding that into a counter.
    I hope this helps.
    Joshua

  • Im using iphone 4 uk unlock , it has ios 4.2.1 and it does not have software update option.Now i want to update the phone with latest ios is it possible and tel me how ?

    Im using iphone 4 uk unlock , it has ios 4.2.1 and it does not have software update option.Now i want to update the phone with latest ios is it possible and tel me how ?

    The update to iOS 5.0 & higher is an erase/restore deal, so make sure you follow the directions here to update your phone:
    http://support.apple.com/kb/ht4972
    iOS 7.0.4 will be installed.

  • Measure pulse width of signals generated by DAQ

    Eventually, I would like to:
        Start a counter pulse width measurement and analog out at the same instant.
        Stop the pulse width measurement with an external digital signal.
    My current plan is to use a digital out on the DAQ to go to a digital input and the counter start input.  The digital input will be a start trigger for the analog output.  This works, except for the counter.
    While trying to implement this, I tried a simpler test of just generating a digital pulse with the DAQ and wiring that to the counter inputs.  That doesn't work, even though it looks fine on an oscilloscope.  Then, without changing the software at all, I connect a function generator to my  counter inputs, and it measures pulse widths flawlessly.
    I'm actually implementing this with a Python wrapper around the DAQmx C API, but I recreated it in LabVIEW, and it behaves the same.  VI attached.  I have the latest DAQmx drivers.
    Attachments:
    meas_pulse_width_simple.vi ‏32 KB
    screenshot.png ‏99 KB

    ColeTrain wrote:
    apaulsen,
    Just a
    friendly heads up, but this is more of a DAQ post and you will
    generally get more replies to these types of questions by posting in
    the proper forum.
    That being said, try taking a look at
    the Example Finder and look under the DAQmx examples at
    synchronization/multifunction as this would be a good place to start
    working on what you're trying to wind up doing down the road. 
    I am actually the OP.  apaulson is my coworker, and he was logged in to the forums on the workstation from which I posted.
    I
    realized that it ended up in the LabVIEW forum, so I reposted on the
    DAQ forum:
    http://forums.ni.com/ni/board/message?board.id=40&thread.id=7185. 
    I understand why there is a search-to-post policy, but it's rather
    unintuitive and clunky, and I got confused.  IMHO, ubuntuforums.com
    does this the right way and automatically searches before you submit
    your post.
     Anyway, I figured it out.  See the other post for solution.

  • I purchased icloud and now i want toU request for a refund. Can anyone tell me how? Thnx

    I purchased icloud and now i want toU request for a refund. Can anyone tell me how? Thnx

    22Kayekaye wrote:
    ..I want to delete a app I downloaded and it is still in purchased section .
    You cannot completely Delete... but you can hide...
    >   http://support.apple.com/kb/HT4919

  • I want to measure the width of a single pulse on a line.

    Hi
    I want to measure the pulse width of a single pulse on a single line. the pulse width may be very low like micro seconds. Any answer plz ! kindly write soon....its urgent. I m ussing a 'Measure Pulse widh or Period VI' for this but his is not working for single pulse.
    Regards
    GNS

    You might try using the "Measure Pulse (DAQ-STC).vi" example located in
    ./Program Files/National Instruments/LabVIEW/examples/daq/counter/daq-stc.llb/*.
    Or if you're using a TIO board, try using the "Measure Pulse (NI-TIO).vi" example located in
    ./Program Files/National Instruments/LabVIEW/examples/daq/counter/ni-tio.llb/*.
    gus....

  • Measure Pulse Width and Period Statistics

    Hello,
    I'm trying to solve what should be a very simple problem. I would like to measure common characteristics of a binary analog voltage input, pulse width and period. The canned pulse width/duty cycle/period VIs and express VIs use a histogram or peak to peak method on a set buffer size of data and produce one output. I would like to measure these signal characteristics over a long period of time and collect statistics on pulse width and period data (max, min, median, mean, standard deviation, etc.) to indirectly measure the eccentricity of a system. Although I am relatively inexperienced in LabView scraping off a considerable bit of rust, I did not think this task would present a challenge, but I have been stumbling around for a couple of days trying to create an array of output parameters such as pulse width so that I may calculate the statistics on all measurements.
    If anyone can step me through some of the thought process to a solution or show me how to format data collection so that this can be done, I would very much appreciate the help.
    Thanks,
    Evan
    Attachments:
    Example.jpg ‏194 KB

    Hi Gena,
    I am assuming you are using the DAQmx drivers in LabVIEW for your
    PCI-6014.  Avoiding a While loop may be difficult if you need to
    perform this measurement many times and you might not know when the
    signal is going to begin.  Without a While loop, you'll have to
    set up your timeout period long enough so the pulses will begin before
    your VI stops.
    With this in mind, you may want to look at some of the shipping
    examples with the DAQmx driver.  You can find these in LabVIEW's
    Help menu by going to Find Examples.  For measuring the pulse
    width, browse the folders in the Example finder by going to Hardware
    Input and Output>>DAQmx>>Counter Measurements>>Period
    or Pulse Width.  In this folder, there is the Meas Pulse Width.vi,
    which measures the pulse width once and stops.  You should be able
    to take the pulse width measurement you get from here and check to see
    if it's in your range, then output a pulse on the other counter if it
    is in the range.  The pulse output examples can be found in
    Hardware Input and Output>>DAQmx>>Generating Digital
    Pulses>>Gen Dig Pulse.vi.
    Thaison V
    Applications Engineer
    National Instruments

  • How do I measure pulse width in VeriStand 2010?

    I'm using an NI PXI-6229 M Series DAQ.
    I the channel set up in System Explorer and I have my input signal routed to the Gate of Counter 0.  When I deploy and open the Workspace the measurement says 0 seconds although an oscilloscope shows a 7ms square wave at the terminal.
    I think the problem may be that I don't have a timebase applied to the Source of Counter 0.  How do I put an internal timebase on the Source?  I would prefer to do so without changing any VIs and I definitely don't want to add an external frequency generator to my setup.

    I think that the gate terminal cannot be used in that case. You might want to try to connect the external signal to the input terminal of the counter.
    Once you have rewired the external connection you will notice, that NI VeriStand might not update the frequency that often. NI VeriStand doesn't measure the frequency/period by using a frequency task. We have used a simple edge counting task that takes the upper and lower limit of the frequency to determine the update rate of the frequency value. The more accuarate the settings are, the higher is the update rate. In order to get a feasible update rate, increment the lower limit to a value that will never be below the real minimum frequency of the external signal and set the upper value to the maximum expected frequency.
    Thanks,
    Tom
    http://www.newgistics.com

  • Measure pulse width with 4 counter simultaneously

    Hello,
    I am using NI PCI-6601 measure the pulse width with 4 counter simultaneously, due to only a DMA channel on this card so I selected interrupt data transfer mode to read data from PCI bus for 4 counters, but it working only for few seconds then a error message prompted:
    Error -200141 occurred at DAQmx Read (Counter 1D DBL 1Chan NSamp).vi
    Measurements: Data was overwritten before it could be read by the system.......(See attached picture: TestUI and Error MSG.bmp)
    I know the problem caused due to system is unable to read back data from PCI6601's memory as fast as they card countered. My quesition is:
    1. The timebase is 20Mhz(Sample rate), how to change the sample rate slower (like 100Khz) ?
    2. Any good solutions can meet my requrement?
    Attached is my source code, Test.vi is the main VI.
    Thanks for your help.
    Steven
    Attachments:
    Test.zip ‏557 KB

    What's more, you could include four channels in one task, so you don't need to build four task!
    Attachments:
    4 counters in one task.png ‏719 KB

  • Measure pulse width and generate pulse depends on the width

    Hi,
    i have a serias of pulses ... 600 micro,30 micro,30 micro (around 10 times) ........ nothing for 1 mili second ..
    so i need to generate a pulse after the first pulse arrives ... (its width around 600microSecond)
    1. use the first counter to measure the pulses ...
    2. if arrived pulse ... 500microSecond<the pulse width<700microSeconds .... then generate pulse with second timer ....
    the problem is that i dont want to use the while loop inside the labview ...
    can i programm the counters to make the width calculation and if the width is bigger to generate trigger to the second counter .... ?
    the hardware is 6014 sample card ....
    thanks
    gena
    (see attached)
    Attachments:
    F0087TEK.JPG ‏27 KB

    Hi Gena,
    I am assuming you are using the DAQmx drivers in LabVIEW for your
    PCI-6014.  Avoiding a While loop may be difficult if you need to
    perform this measurement many times and you might not know when the
    signal is going to begin.  Without a While loop, you'll have to
    set up your timeout period long enough so the pulses will begin before
    your VI stops.
    With this in mind, you may want to look at some of the shipping
    examples with the DAQmx driver.  You can find these in LabVIEW's
    Help menu by going to Find Examples.  For measuring the pulse
    width, browse the folders in the Example finder by going to Hardware
    Input and Output>>DAQmx>>Counter Measurements>>Period
    or Pulse Width.  In this folder, there is the Meas Pulse Width.vi,
    which measures the pulse width once and stops.  You should be able
    to take the pulse width measurement you get from here and check to see
    if it's in your range, then output a pulse on the other counter if it
    is in the range.  The pulse output examples can be found in
    Hardware Input and Output>>DAQmx>>Generating Digital
    Pulses>>Gen Dig Pulse.vi.
    Thaison V
    Applications Engineer
    National Instruments

  • Hi please can you help me. I have photoshop CS5 extended, I bought a new camera Nikon D610 I want to edit my photos adobe camera raw , but when I try to open photoshop CS5 it will not open. Please can you tell me how to download and install the camera raw

    HI bought a new camera Nikon D610 , I am using adobe photoshop CS5 extended, I want to edit my photos in camera raw but it is not possible to do so . I need to download camera raw plugin for CS5 can some tell me how to do so or if there is a link for the camera plugin.
    Many thanks Pitt.

    For that Nikon model you need ACR 8.3 that means CS6 or CC.  Or you can download the DNG converter convert your Nikon RAW files to Adobe RAW files. And then process the Adobe RAW files with CS5 ACR version  6.7
    Camera Raw plug-in | Supported cameras

  • I want to buy macbook pro without retina display 13 inch. How much does it cost? Is it available now?

    Hi,
    I want to buy macbook pro without retina display 13 inch model. How much does it cost? And is it available now? I heard that Apple is going to discontinue this model soon. Is it true?
    Kindly let me know.
    Thank you.

    Apple's still selling the 13" (but not 15") non-Retina model... see -> http://store.apple.com/us/buy-mac/macbook-pro?product=MD101LL/A&step=config.
    Good luck,
    Clinton

  • Looking for VI to measure pulse-width on a waveform

    does anyone know of a VI to measure the pulse width of a pulse trace in a waveform?

    The examples to look for would be located under the DAQ >> Counters examples, and you would probably be looking for anything using the DAQ-STC chip (which is the counter chip on our E-Series board). Advanced examples that are in addition to the shipping examples can be found by searching the website as well.
    Jim Cahow
    Applications Engineer
    National Instruments

  • Im trying to make an apple id do u haw to use a credit card number or no because i dont want to can someone tell me how i ca create one with out using it

    Im trying to make an apple id but dont want to use my credit card is there a way to make obe without using a credit card can some obe tell me

    If you only want the free apps, take a look here:
    http://support.apple.com/kb/HT2534
    Read the steps carefully as the order in which you follow them is  critical. Note that you can do this only when creating a new Apple ID. You cannot use an existing ID. 
    You will of course not be able to get anything other than the free content without entering in some sort of payment method (credit card, prepaid iTunes card, gift certificate, etc.)
    Regards.
    Forum Tip: Since you're new here, you've probably not discovered the Search feature available on every Communities page, but next time, it might save you time (and everyone else from having to answer the same question multiple times) if you search a couple of ways for a topic, both in the relevant forums and in the Apple Knowledge Base, before you post a question.

  • Measure pulse width cont - failure in example? NI-DAQmx

    Hello!
    I tried the "PulseWidth-Buff-SampClk-Cont.c"-Example. I got the following error:
    DAQmx Error: Invalid timing type for this channel.
    Property: DAQmx_SampTimingType
    You Have Requested: DAQmx_Val_SampClk
    You Can Select: DAQmx_Val_Implicit, DAQmx_Val_OnDemand
    Task Name: _unnamedTask<0>
    Status Code: -200300
    Here is the Example-Code:
    #include <stdio.h>
    #include <NIDAQmx.h>
    #define DAQmxErrChk(functionCall) if( DAQmxFailed(error=(functionCall)) ) goto Error; else
    int main(void)
        int         error=0;
        TaskHandle  taskHandle=0;
        int32       read;
        float64     data[1000];
        char        errBuff[2048]={'\0'};
        // DAQmx Configure Code
        DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
        DAQmxErrChk (DAQmxCreateCIPulseWidthChan(taskHandle,"Dev1/ctr0","",0.000000100,0.838860750,DAQmx_Val_Seconds,DAQmx_Val_Rising,""));
        DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"/Dev1/PFI0",1000.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,1000));
        //DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"/dev1/PFI13",1.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,1000));
        //DAQmxErrChk (DAQmxCfgImplicitTiming(taskHandle,DAQmx_Val_ContSamps,1000));
        // DAQmx Start Code
        DAQmxErrChk (DAQmxStartTask(taskHandle));
        printf("Continuously reading. Press Ctrl+C to interrupt\n");
        while( 1 ) {
            // DAQmx Read Code
            DAQmxErrChk (DAQmxReadCounterF64(taskHandle,1000,20.0,data,1000,&read,0));
            printf("Acquired %d samples\n",read);
            fflush(stdout);
    Error:
        if( DAQmxFailed(error) )
            DAQmxGetExtendedErrorInfo(errBuff,2048);
        if( taskHandle!=0 ) {
            // DAQmx Stop Code
            DAQmxStopTask(taskHandle);
            DAQmxClearTask(taskHandle);
        if( DAQmxFailed(error) )
            printf("DAQmx Error: %s\n",errBuff);
        printf("End of program, press Enter key to quit\n");
        getchar();
        return 0;
    What could i do?
    Thanks
    Andreas

    The help says this:
    Sets only the number of samples to acquire or generate without specifying timing. Typically, you should use this function when the task does not require sample timing, such as tasks that use counters for buffered frequency measurement, buffered period measurement, or pulse train generation.
    So this line is only needed for specific applications. The counter has no sampleclock, like the analog input or the analog output, so you can not use this, but have to use implicit timing instead.
    Hope this helps!
    André

Maybe you are looking for

  • Sapscript in spanish

    I have a customized sapscript available in EN language. I want to change some of the texts and headings to Spanish language. How do you do that? Please give the procedure. Thanks, Krishen

  • Write a file on client from java procedure

    Hello to all, my problem is that i want to write a file from a java procedure using the normal java class. But when i try to write File file=new File("C:\\DiscoD\\myFile.txt"); FileWriter fw=new FileWriter(file); fw.write("ciao"); nothing happens and

  • How to open a Character mode report in report designer 2.5

    I am trying to open a character mode reoprt in Report Designer 2.5 and .. getting an error message: Waring: Character-mode report 'XYZ' is being opened as bit-mapped report. Warning: Page width of report '<report name>' changed to fit the font for a

  • Can't submit JSF using Javascript

    I apologize if this is an obvious newbie question. I have a simple JSF page with a component users can click on to select a number. Using Javascript, I populate a textbox with the number they select, then attempt to submit the form, also using Javasc

  • Integrating R/3 of two different landscape using XI ?

    Guys, Would like to integrate two R/3 Systems (4.6 C & 4.7) using SAP XI of two different networks which is in two different countries , for a synchronous scenario. Now , how to connect these two systems of different landscape using XI ? Cheers!