period measurement Semi USB 6221

Hi guys,.

I have a problem measuring the period of semi of a digital signal. I'm gernerating a pulse with my USB 6221 DAQ board and I use the counter 0 (9 PFI) for the period of semi. But I don't get all the values. Also, I tried to generate a signal of pluse using the 1 meter and measured the period using counter 0 and it worked perfectly fine. Take a look at the code can be I am doing something wrong.

found the problem. I was reading more samples then I sent.

Tags: NI Software

Similar Questions

  • Test capacitor does not load when DAQ USB-6221 is used as a measuring device

    Forum of NOR expensive, I have a Setup (see below) which is supposed to read the tension between a capacitor and a resistor in series.  Unfortunately, I found that the capacitor is unable to load completely with the connected acquisition of data entry.  However, if I remove AI0 connection of the circuit and the capacitor charges normally...

    I would be grateful if someone could explain to me:

    • Why this happens
    • If there is a way to change my test circuit in order to fully load the DAQ capacitor is connected

    For reference, I tried to change the position of resistance and capacitor (i.e. initially the capacitor in series), and in this case, the capacitor had no problem charging.  But for my purposes, I will need to test with first series resistance because I already have a lot of maps of test which are built this way.

    The food is set up to provide 75V (the rated voltage of the capacitor) when put on and the current limit is set at 20 Ma.  With these settings my capacitor only charge about 20 or 30 V with DAQ in the circuit.

    Let me know if I can give more details and thanks in advance to those who give thought to my question,

    You may test the limits of your USB-6221 surge.  I hope that you don't him don't have not damaged.

    You should be able to use some simple resistive voltage dividers for tensions in the acceptable range.  They will limit your ability to measure the leakage current.

    Lynn

  • Neither USB-6221 thermocouple

    Anyone who has used the USB-6221 for measurement by thermocouple? I'm doing a number of analog measures with two of them being J type of transport CANADA, have not used the 6221 before, but my client is not the money to go the compact DAQ road on this project. I would like to have compensation CJ, don't know how I'd do.

    A similar position is on the page of multifunction data acquisition, know that this one gets more views.

    Thank you

    I got my answer in the multifunction, DAQ card so I guess that it really is looked at frequently! Sorry for those who are hiding on this Board! I guess my point of view, LabVIEW-centric shows!

  • driver for USB - 6221 LabView 6.0 XP

    I'm trying to connect an old laptop with Windows XP and Labview 6.0.2 for USB-6221. I can't find the drivers on the site of NOR. Can someone point me at home or another source? Thank you.

    Support for the USB-6221 was added in the NOR-DAQmx 8.6.1, driver that only supports back to LabVIEW 7.1.  Unfortunately, there is not a version of NOR-DAQmx driver that supports the USB-6221 and LabVIEW 6.0.2.

  • driver for usb-6221 XP LAbview 6.0.2

    I'm trying to connect the usb-6221 to an old laptop with XP and Labview 6.0.2. I said that's not possible with NOR-DAQmx. This old version of Labview does not NOR-DAQmx, there NEITHER-DAQ 6.8 installed. Reading me for it suggests works with USB, but I can't find the USB drivers in installation.

    Based on the response to your message here, the only USB devices supported in NOR-DAQ 6.8 are old appliances DAQPad E Series USB such as the NI DAQPad-6015 or DAQPad-6016.  All material of the M series, including variants of the USB, are no longer supported in NOR-DAQmx.

  • NEITHER USB-6221 SCB-68

    The acquisition of data USB-6221 unit is compatible with the SCB-68? I'm doing a number of analog in action<10V range="" with="" two="" of="" them="" being="" j="" type="" thermocouples="" and="" would="" like="" to="" have="" cjc="" capabilities. ="" in="" my="" quick="" glance="" at="" the="" scb-68="" page,="" and="" at="" the="" one="" for="" the="" 6221="" it="" isn't="">

    Thank you!

    Nope - you can scan through channels CSR or differential or NRSE... all in the same task (IE I 0-3 differential, CSR HAVE 4-6). The M series operating manual (/ book) shows how in the 'Earth-reference parameters in software AI configuration' section.

    see you soon,

    Andrew

  • Firmware of switching of NOR-DAQmx Base on Linux to the USB-6221

    Our Windows machines are locked - even as developers, we without administrator privileges.  Which is updated from the impossible firmware via the Windows Device Manager.  On the other hand, we have total control on our Linux machines.

    Is it possible to download and check out the images of the firmware on Linux?  In particular, I need to move a USB-6221 to NOR-DAQmx Base.  I couldn't find all the instructions to do this on Linux.

    wlbaker

    I had a moment of complete Dyslexics your first post - powered external USB DAQ playback devices (USB-622 x, USB-625 x USB-628 x) are not supported under Linux (by DAQmx 8.0.1 or DAQmx Base 3.3), while DAQ USB (USB-621 x) bus-powered devices are supported by only DAQmx Base. The Readme files for the two drivers list the devices on which they based [1] [2].

    The USB-6212 case is the closest to the USB-6221 match, although if you don't have extenstive digital i/o in your application, the USB-6211 housing would also be a good fit.

    [1] DAQmx 8.0.1 Readme
    http://FTP.NI.com/support/softlib/multifunction_daq/nidaqmx/8.0.1%20Linux%20Only/Readme.txt

    [2] DAQmx Base 3.3 Readme
    http://FTP.NI.com/support/softlib/multifunction_daq/nidaqmxbase/3.3/Linux/Readme.txt

  • How to create a simulator of hall sensor using NI USB-6221

    Hello.

    I am creating a hall sensor Simulator using the NI USB-6221 case.

    The idea is to have three digital outputs that generates output a digital pulse according to six different stages train.

    See the table below.

    And it's interesting to have this work in for example 5000 RPM (meaning 2 milliseconds between each stage).

    My question is, is it still possible with the NI USB-6221 housing?

    I tried to create a simple state machine, leading the outputs according to a predefined table.  But it became clear that it is far too slow.  The NI USB-6221 uses 10 to 15 ms to generate a numerical value of LabVIEW.

    Thanks for any ideas on how to do it.

    Looking at the datasheet.

    http://sine.NI.com/DS/app/doc/p/ID/DS-10/lang/en

    Under the digital I/o, you can see that the digital lines on Port 0 maximum clock frequency is 1 MHz.  This means that you can go from a Summit to a minimum once all the 1 micro second.  Your hardware is capable.

    The software side of things you should realize that to change the digital line from a high to a low that fast, you need to use certain types of calendar that does not have Windows.  Windows (and other operating systems) are not deterministic.  So instead of being in a loop from one State to the other, put in the buffer of the DAQ one card series of digital States and then specify the DAQ hardware to read at a given speed.  Then your synchronization is performed by the hardware, not by your software.

    Search for finder example for Digital - output continuous for an example on how to do this.

  • Pilot DAQmx 14.1 installed but not seen by USB-6221

    Hello

    After a week of fighting to install driver DAQmx on my 2013 Labview (Win XP), I finally got with OR DAQmx 14.1.

    All right, I can run my screws

    But, when I connect my NI USB-6221 BNC-nothing happens.

    I checked in MAX if she communicated, MAX sees the device but says that the device drivers are not installed.

    Then I checked if there was other drivers for this device on the site Web of SNA apparently no, it runs with DAQmx.

    Someone have a solution?

    Thank you

    The descriptions I see say that USB-6221 is a legacy device.  That probably means support for it in future versions of DAQmx were dropped.

    I found this http://sine.ni.com/psp/app/doc/p/id/psp-84/lang/en

    It does not say definitely what versions of DAQmx take in charge the device, but this list seems to only go up to version 9.8.

  • USB-6221, replaced by USB - 6221 BNC - error-50103

    My client is reproducing a system that worked well with NI USB-6221 enclosure. Now, I get an error with the NI USB-6221 BNC. The error only occurs when I try to perform auto calibration.

    ---
    The error:

    Error-50103 occurred at DAQmx Self Calibrate.vi:1

    Platform AND Services: The specified resource is reserved.
    ---

    I've implemented the pilot as a driving force.

    What is strange to me is that I can run the engine of the autonomous action to set up the device and run the auto cal without getting an error. But when I call these routines of an another vi - the error occurres.

    To specify (and reproduce the problem) - with USB-6221 BNC is defined as 'dev1 ':
    (1) acquisition of analog data in AE.vi - select 'Configuration' as an action on vi and then run it
    (2) acquisition of analog data in AE.vi - select 'Cal' like action then don't run it - no error
    (3) place the screw DAQ in a new vi as shown - run and that's when I get the error

    This is my first experience with DAQmx, any ideas what could cause this problem would be appreciated.

    Thank you
    Steve

    LV2009 Sp1
    MAX 4.71
    NOR-DAQmx Device Driver 9.2.1

    Hi Steve,.

    "Setup" action leaves the DAQmx run task, so the 6221 AI resources are reserved to prevent other programs and live to interfere. When the top-level performance, LabVIEW VI automatically tells DAQmx to clear the task. That's why you get different behavior when you run the action as the first level VI engine when you run the engine of the action as a Subvi. Self-cleaning, you must cancel (e.g. stop or clear) all the tasks before you can calibrate the device automatic, try performing the action 'Close' before 'Cal

    Brad

  • multi meter PCI-6602 daqmx semi period measurement

    Hi all, currently I am working on 20 channels PWM. I have a problem on my labview code. Would anyone give some advice on my vi? I packed for 2 channels labview code, for now. I do measure period semi. I want to measure the cycle frequency and the duty of the PWM signals. But when I run it, it has error. Please give some tips where I did wrong on my vi. Thanks, Johnny

    Marconi salvation,

    This error you are getting is a buffer overflow error and is probably due to the value that you used as an input for "number of samples" on the reading DAQmx VI. You set it to 4 but according to how fast the PWM you read is, you can acquire values in the buffer on board much faster that you collect with the reading DAQmx VI. Then when you call the DAQmx Read VI, who reads from a pointer to read the data you plan to read the buffer has already been replaced. One way to get around this is to increase the number of samples to read whenever you call the DAQmx Read VI. I tried your VI and managed to do work with a slight change to the trigger start (using the PFI0 instead of the time base of 20 MHz) and added a loop condition to stop making a buffer overflow error as well. Take a look and see if that helps. In addition, why you fire off the coast of the time base of 20 MHz? is there a particular reason? It is essentially similar to using no trigger starting since you should get the first front of this almost immediately after the start DAQmx VI is called. I'm just curious, since using this trigger from the beginning has not actually worked for me (although I look into why).

    Chris W

  • Level of measurement OR-USB-6001 nosie

    I use a NOR-USB-6001 to measure voltages @ 5V level.

    I am trying to use an entry to measure the noise level on a 5V signal. The ripple is about 200 mV ACC (when you look at a scope in coupling AC mode). I can't find a framework in the DAQmx VI to set to measure with a higher resolution (4.9V - 5.1V)

    to be able to see this ripple.

    You could try to configure the line HAVE as a differential input (AI0/AI4).  Power of your signal to AI0 entry and ground of your signal to a DGND.  Feed in the + 5V on the USB-6001 to AI4.

  • Acquisition of data GSM using NI USB-6221

    Hi people

    This is my first post at NEITHER and I just acquired for my 6221 USB NI LabView. Now my field of research is the analysis, acquisition and modulation of GSM data. I've not seen much traction along this area and I was wondering if someone would have done something similar.

    Thank you


  • Period measurement error 20308

    I'm trying to measure the period of a very slow rate (Hz 0,083) to come to my DAQ (6009).

    However, it comes with "error-20309 occurred at the" NI_MAPro.lvlibulse measures 1 chan.vi:2 "when it is called of" NI_MAPro.lvlibulse measures N chan.vi:1 "(waveform index 0 1)". "

    DQA captures method is set on "on demand" however I also tried various (frequency + buffer) such as 10 k by 2 k.

    but it always comes up with the error.

    I know why it comes up with this error but do not know how to fix it.

    I have attached the vi (the signal to simulate reply my DAQ)

    Because you'll probably want at least 2 cycles whole to your measurements, and each cycle lasts approximately 12 seconds, I would get 25 seconds of data at 50 Hz (1250 samples)

  • I can measure analog USB supply voltage using Labview?

    I'm basically feeding a (nominal) 5V USB power sensor, but the output of full scale depends on the real for a particular measure input voltage - what I want to do is to get labview to measure the voltage at the USB port at the same time it samples the voltage of the output sensor and then that of full scale output for that instant in time can be calculated and thus give a measure more accurate. Is this possible in labview? Thank you very much.

    Haydn Barker

    Makes a lot of sense, actually - probably would see a few mV dropped from the point of measurement of the sensor point... then you work with equations/remedies just to work with an inaccurate level anyway. Okay well I'll write that off as a bad idea then and just stick to the system, because it isn't now - I don't know that it will be enough. Thank you for your answers and help.

Maybe you are looking for