PXI-6229 single pulse

Hi,
I am using the PXI-6229.  I would like to output a single digital pulse for a specific amount of time.  How would I do this?
Thanks

Hi,
There is an example program called Gen Dig Pulse.vi. You can find it in the NI Example finder. Open LabVIEW and go to Help. Select Find Examples. In the Browse tab select Hardware Input and Output>>DAQmx>>Generating Digital Pulses>>Gen Dig Pulse.vi.
I hope this helps.
Regards,
Ima
Applications Engineer
National Instruments
LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx

Similar Messages

  • PXI 6229 pulse period measurement

    Hi there,
    I try to make pulse period measurement using PXI 6229 counter, I have 0.5Vcc according to DMM and 1.05V peak2peak based on scope. Then, I connected 0.5Vcc (incoming pulses) into SCB68 pin 3 and GND pin 55. I used the DAQ assistant to perform measurement n the setting for Signal Input range is min= 1ms and max = 23ms, those values I got it from scope i.e pulse period. I set it to the Rising and Acquisition Mode to 1 sample(on demand). But, I can’t get the measured values and I have no ideal why?
    Please help
    Walter.

    Hi Walter,
    the counter input of the PXI-6229 accepts standard TTL digital signals. You can find its specifications on page 7 of this document.
    I will repeat the relevant parts here:
    Input high voltage: Min: 2.2 V; Max: 5.25 V
    Input low voltage: Min: 0 V; Max: 0.8 V
    If I'm correct, your signal does not meet these specifications, so in this case you will have to connect the signal to an analog input and measure the pulse width as if it was an analog signal.
    Please check this page for an example.
    Daniel

  • Single pulse to radiate with PXI

    Good day to all, how can I generate one single pulse on Labview to later radiate it on PXI withouth using any DAQ command , because there are some samples that do so, I would like the diration of the pulse to be in the us or less

    Hi Frank12244,
    What PXI module is generating the signal? The PXIe-5601, is a RF Downconverter used with our PXIe-5663/5663E Vector Signal Analyzer (VSA). The VSA is used for acquiring not generating. Do you have a RF Signal Generator in your PXI chassis? If you’re looking for the drivers for communicating with your PXI modules, go to ni.com/drivers and download the driver for the device. The drivers also come with LabVIEW examples, which you can access through the NI Example Finder.  
    Tunde S.
    Applications Engineer
    National Instruments

  • Triggered single pulse width measurement

    I am trying to measure the width of a single pulse, but would like to use the pulse itself as the trigger for a counter input pulse width read using a PXI-6608.  I would like to do this since the pulse can come at any time (much longer than any practical timeout)  and I would like to avoid having to place a DAQmx read in a while loop waiting for the pulse to appear.  Also, while the pulse is high, I would like to produce front panel feedback (light a boolean indicator).  I seem to be able to achieve that by using a digital input line, but again requires a DAQmx read in a while loop.  I haven't had much experience with triggers and my attempts so far appear to seem like triggers are not compatible with counter input pulse width measurement.  Is it possible to set up a trigger for a pulse width measurement?

    Hello kayotik,
    I think the best thing to do here is to use separate while loops. You can put most of your code in a main while loop, and then put your DAQmx read in a separate while loop. Both loops can run in parallel (just don't wire any outputs of one while loop to the other while loop, because then one will become dependant on the other). In order to pass data between the two loops, you will need to use a local variable. The DAQmx read can write to a local variable, and the main loop can read from that local variable. 
    You will also need to stop both loops with a single stop button. This article shows how (and also demonstrates the use of local variables to pass data between independent while loops):
    http://digital.ni.com/public.nsf/allkb/267704CDE91156D186256F6D00711AAE
    Colden

  • Single pulse width measurement

    Hello,
    I am trying to measure the time of a single pulse using ctr0 on a PXIe-6361.
    The input signal seen in attachment Capture7.jpg, is going to PFI 9, the gate of ctr0.
    The problem is that the counter see' s the rising edge and stops. The pulse width is not given as can be seen in the output (Capture8.jpg).
    I get the same results using Meas_Pulse_Width.vi example.
    Is something wrong with my PXIe-6361?
    Solved!
    Go to Solution.
    Attachments:
    Capture7.JPG ‏107 KB
    Capture8.JPG ‏145 KB
    Striker velocity blk_dia.JPG ‏35 KB

    Hi,
    I did pretty much the same and ran the example as well and they do work. You can try to explicitly specify the PFI line using a DAQmx Channel Property Node with a Counter Input Pulse Time Terminal property to verify if the problem is only with PFI 9 (if you use the property, you can use any PFI line even if is not the default gate for the specified counter), and even try with the other counters.
    The VI is on the 2014 version, so I included a screenshot in case you have a previous one. If you need the VI in a specific version let me know and I'll downconvert it for you.
    Camilo V.
    Applications Engineer
    National Instruments
    www.ni.com/support
    Attachments:
    Counter - Read Pulse Time (On Demand).vi ‏39 KB
    Screenshot.jpg ‏208 KB

  • PXI-6229 counter output

    Hi,
    I was using the DAQMx test panel for PXI-6229 module with my PXI-6229  card. I couldn't find an option of routing the counter pulse generation output to different PFIs. It is locked at PFI12 for ctr0 and PFI13 to ctr1. Is there some way by which I can route to other PFIs in the test panel or do I have to write code for it.
    I want to route ctr0 output to PFI10 and route PFI12 as a counter input to measure frequency.
    Please let me know
    Thanks
    Shiladitya

    Shiladitya,
    The Test panels are designed for functional testing only, and do not necessarily expose all capabilities of the device. In order to route these signals to custom PFI lines, you would need to write code. In LabVIEW, this would be done using a DAQmx Channel Property Node. Simply wire the intended terminal to the CO.Pulse.Term property.
    Hope this helps,
    Ryan Verret
    Product Marketing Engineer
    Signal Generators
    National Instruments

  • 60 HZ Hum on Analog Input PXI-6229

    Ther is a 600mV common mode noise hum being introduced somewhere on the circuit below. It is causing the PXI-6229 to read inaacurate measurements. Is there a way to configure the device to reject common mode noise? Or any other suggestions?

    Is the metal box connected to both the power system (safety) ground and the signal ground? This could be the source of the ground loop. Are the computer, PXI chasis, and the metal box power all connected to the same branch circuit and ground?
    Try drawing a diagram showing every ground connection in the system.  Do not just use a ground symbol but actaully make it a wiring diagram which shows where every wire, chassis, box, conduit, or anything else grounded is connected. This can sometimes be useful in discovering ground loops.  I found one which included a wire attached to the mounting bolt for a toroidal transformer. It resulted in several amperes flowing through the housing of a very sensitive magnetic instrument!
    As has been mentioned CMRR only applies to differential inputs. The circuit you posted is single ended so I think it is unlikely that a differential connection would help.  
    Lynn

  • How to get a single pulse Using Burst MOde?

    Harlow Peeps! Just want to know how to get a SINGLE pulse generated by the AGILENT 33220A function generator? the results i get it's in the burst MODE and everything is running smoothly and fine! it's just that i want to get a single pulse froM it only and not repeated triggeriong of the pulse...
    thanks! ^^
    cheers!

    hi,
    find attached an example, how to set hp33250a ( ag33xxx )  into burst mode.
    hope this helps........... - play with it - and change it to your needs.
    regards
    Werner
    Attachments:
    hp33250a _burst.zip ‏165 KB

  • How to route the ctr0 in DAQ MX for PXI 6229?

    Hello,
    The counter ctr0 of the PXI 6229 is internally wired to PFI12.
    How could i change the terminal on which this counter is wired? What is the function in LabWindows CVI 7.1 (NI_DAQ MX 7.3) should be used? Is there any example of this? (in all the CVI example the fact that we have to connect the counter to a terminal is just mentioned)
    Thanks for your help!
    guyom

    You can change the output terminal on M Series devices using the following function:
    int32 __CFUNC DAQmxSetCOPulseTerm(TaskHandle taskHandle, const char channel[], const char *data);
    On M Series devices you can route the output of a counter to any PFI line.
    I hope this helps!
    gus....

  • Please How can I capture and integrate a single pulse of a DC signal from an external circuit

    Hello everyone
    I am trying to integrate a signal from an external circuit I have built. I want to capture just a single pulse from the signal and integrate it. Please can anyone assist me with how I can perform this?

    The 6008 has no hardware analog trigger, so to capture a single pulse, you will need to trigger in software.  It does have a digital trigger, so if you have a digital way to signal the start of your pulse, it would make your life easier.  You will need to ensure you take enough data to get an entire pulse.  At that point, use one of the trigger VIs to find the start (and possibly end) of your signal.  Take a subset of your data and integrate it (LabVIEW does support integration).
    If you have trouble finding anything, let us know.  Find the trigger and integration VIs using the search feature of the palettes.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Measure a single pulse width using usb 5133

    hi im trying to measure the width of a single pulseoutpout from NI SCOPE express
    however pulse measurements.vi seems to expect more than a single pulse.
    any ideas?
    ta

    Hi Slugger,
    Can you first try this with the SCOPE Soft Front Panel (SFP) located in Start >> Programs >> National Instruments >> NI-SCOPE >> NI-SCOPE Soft Front Panel.
    This should give you the screen below:
    Please set the items as seen in the red boxes. Make sure your trigger channel is correct Mode is set to SGL and press the measure button.
    This will give you a Scope measurement screen. Please press the Add button. Select the correct Channel and then in the measurement type choose "Period".
    On the main SFP window press the run button. Does the measurement give you the reading you expect?
    I do not have a Scope card to test this yet, so I have been using a simulated device.
    Regards
    JamesC
    NIUK and Ireland
    It only takes a second to rate an answer

  • Generate a single pulse - long width ( 160sec)

    Hello,
    I have a DAQ Pad6052E. I want to generate a single pulse with one of the 2 counter/timer. It works for pulse width (high state) below ~160secondes. For my application I need to generate a much longer pulse width.  I want to have a pulse width >200 secondes.
    If somebody can give me some advices, that would be very appreciated.
    Thanks,

    In addition to JB's ideas, here's another one if your other counter isn't being used.
    Use the other counter to generate your own custom clock.  Let's suppose it's at 1000 Hz.  Then setup the counter you really care about to use the 1000 Hz clock signal as its timebase.  This will extend your duration capability by a factor of 100.
    Your duration limit is based on the ratio of count register size to timebase frequency.  Your board's counters max out at 2^24.  Your max duration is approximately (2^24 / timebase freq).  The lowest internal timebase is 100 kHz which is why you're limited to about 167 seconds.  With your custom 1 kHz clock, you'll get 100x that much.
    -Kevin P.

  • NI PXI 6229 DAQ Card Digital Output High/Low Levels

    Hi everyone, I can't seem to find in the NI PXI 6229 DAQ spec what the Digital Output high voltage and low voltage is when I set a digital signal high and low.  What is the voltage when I set a Digital Output "HIGH" and what is the voltage when I set a Digital Output "LOW"?
    Thanks! 

    See the digital I/O characteristics section of the specs. Typical ttl levels.

  • DAQmx Counter Input Measure a single pulse's pulse width

    Trying to measure a single pulse's pulse width. It appears that the DAQ only makes the measurement on the read command instead of after starting the task. I just get a timeout error. Is there any way to arm to counter for measurement or am I better off making a seperate thread to trigger my single pulse?
    double measured;
    int numSamp;
    TaskHandle taskHandle;
    DAQmxCreateTask("", &taskHandle);
    DAQmxCreateCIPulseWidthChan(taskHandle, "Dev1/ctr0", "", 0.025, 0.120, DAQmx_Val_Seconds, DAQmx_Val_Rising, "");
    DAQmxSetChanAttribute(taskHandle, "", DAQmx_CI_PulseWidth_Term, "/Dev1/PFI10");
    DAQmxStartTask(taskHandle);
    //Trigger the single pulse here
    DAQmxReadCounterF64(taskHandle, DAQmx_Val_Auto, 10.0, &measured, 1, &numSamp, NULL);
    Thanks,
    Dan

    Which device are you using?
    If you configure implicit timing (DAQmxCfgImplicitTiming) your measurements will be buffered and will begin when the task is started.  The minimum buffer size is usually (always?) 2 samples, but that doesn't mean you have to read two samples back.  
    Best Regards,
    John Passiak

  • Pxi-6229

    Hi,
    I am using the PXI-6229 DAQ card Part Number 779115-01, for my project. Is it possible to
    configure the IO lines as Open Drain/Collector or Push pull? If so, how and which are the
    ports we can configure.
    Thanks
    Shiladitya

    Hi Shiladitiya-
    All M Series cards operate as 5V push-pull digital outputs and are not configurable for open drain/collector.
    Hopefully this helps-
    Message Edited by Tom W [DE] on 06-23-2006 09:49 AM
    Tom W
    National Instruments

Maybe you are looking for

  • Intsalling/uninstalling programs..??

    I can't seem to find where I uninstall anything on my new iMac. I've never had a Mac before so I'm still in PC mindset. I've heard you can just drag it to Trash but won't files be left behind?? Also, how do you run programs you download? The icon goe

  • Updated FCP X versions are not showing up

    Updated FCP X versions are not showing up in my App Store upgrades. Apple has been less than helpful other than to verify that I'm looking in the right iTunes account. Can anyone tell me why I can't see the updated versions? I can see my updates for

  • Regarding query generator like operator...

    hi. i need a small information. i want to run below query in query geneator.. but it's not working may i know how can i run.. select ojdt.TransId  from ojdt where ojdt.Memo like '%Process Salary DocNo%'

  • Labview 2012 (64bit) not working with ActiveX and MSAccess

    I have a program developed to open a MSAccess database file and import data using ActiveX commands. The program works with LabView 2012 (32bit) but fails on the ActiveX open command when using LabView 2012 (64bit). I also have the application built a

  • Adaptive payment details based on AppId.

    Dear All,                     We have an application where we have setup Paypal application. We have used adaptive payment and AppId in our android application. By our application one client can send payment to other client, where merchant does not c