Frequency counter with E-Series DAQ Card

I am trying to measure the frequency of a signal at 0.1 sec increments using a DAQCard-6062E and an AT-MIO-16E-10. I am using a VI from the examples (frequency counter.vi, in a while loop) which works well with the DAQCard, but it's giving wrong measurements with the AT-MIO card. Why is that?

Hello Waw,
Take a look at this KnowledgeBase to see if it fixes the problem.
http://digital.ni.com/public.nsf/websearch/862567530005F09E8625681C0074935E?OpenDocument
If not, what version of NI-DAQ do you have? Are you getting incorrect measurements with different ranges of frequencies? Is LabVIEW giving you any errors? Do any examples provide correct results with the AT-MIO-16E-10? Please let me know if you have any questions. Have a great day!
Marni S.
National Instruments

Similar Messages

  • Which type of ADC is used in M Series, S Series and C Series DAQ Cards?

    Hi
    I want to know which type of Analog to digital converters(ADC) are used in M Series and S Series DAQ Cards. I know that DSA Cards and some C series are using Delta Sigma ADC. What about the ADC used in non delta sigma C Series modules. Why Delta sigma ADC is not used in M series and S series DAQ cards.
    Regards
    Samuel J

    Hi Samuel.
    The ADC type used is Succesive Approximation ADC. You can refer to the following links for your reference.
    http://digital.ni.com/public.nsf/websearch/32FD9AA817D0EBE68625708C005E1B26?OpenDocument
    Hope this helps.
    Thank You.

  • I am searching a VI for AC acquisition with a PCMCIA DAQ card 6024E

    Hi,
    I am searching a VI for Alternativ Current acquisition with a PCMCIA DAQ card 6024E.
    I have tried several availble examples but they are unfortunately not compatible with this card.
    I am a beginner with Labview, as a consequence any help and support on that topic would be really appreciated.
    Thanks,
    Alban Cotard.

    I think you wann measure Alternating Current?!?
    what want you know, the period, amplitude, rms.....?
    e.g. use the "cycle average and rms.vi"  or  other  VI in this palett
    regards timo

  • How to generate a pulse waveform 90 deg phas shifted with respect to a pulse generated using a counter in PXI 6070E daq card ?

    Hi
    I ma using 6070E daq. I am generating a infinite pulse train using one of the counters. I want to generate another pulse train which should 90 degress phase shifted with respect to the previsously generated pulse. How to implement this using the counters in the DAQ card.

    Hi Gopal,
    1) yes the frequency generator is programmable. You have 2 timbebases (10MHz and 100kHz) and you can divide down by any integer between 1-16. Those are the only frequencies you can use.
    2) The way counters work is that you can apply a gate signal to the counter which will cutoff the output. Therefore, you can have a second counter generating a pulse train of an equivalent frequency to the frequency generator (fout) but you don't want it to start immediately. You want it to start only after a short delay (equivalent to a 90d phase). Therefore, you need to "gate" or prevent the output on this counter for that small delay period of time. The way you can do this is by using a second counter to create a delayed pulse. You would
    connect the output of that counter to the gate of your pulse train function. That way, during the delay period of the pulse, you won't be outputing your pulse train yet. When the pulse (high-time) of your pulse reaches the gate, then your pulse train will start generating its pulse train (which is consequently delayed by the amount of delay used in the single delayed pulse counter). Since you don't want your pulse to go back low, you will have to turn off or clear your pulse counter while it is high. That way the signal on the gate will remain high forever.
    Your better solution is to use a PCI-660x card to perform this action. You will have more counters which will give you a greater range of frequencies to choose from and you will have more accurate timing of the signals.
    Anyway, hope that clears things up. Have a good day.
    Ron

  • PCI 7830R series DAQ card with SCB 68

    Can anybody how to mapp PCI 7830R card with SCB68, which was connected in 0 connector? is thier any VI as an example for this

    Hello Sir.... i created a VI in Project Explorer Methode to test the working condition of DAQ card PCI 7830R which i installed in my PC , in both Sub VI and the Host VI the programme is working , now i connect the SCB 68 hardware with DAQ card thro RMIO cable , i wired the DIgital Pins of SCB68 (respectievely with DAQ card Pins) in a Bread Board an place a LED corresponding to pins to show the real world output...
      Now my prob is after i connecting the wire i run the VI, in breadboard the LED's are not getting ON same status is displayed in Labview Front panel too , when i remove the wire the LED in front panel of both sub and Host VI is getting ON..... y this prob occuring? to solve this what i have to do? i want to show realworld output (LED On in Bread board) thro SCB68... how to solve this?
    Attachments:
    Digi.vi ‏37 KB
    Digi (H).vi ‏121 KB

  • Data-acquisition with NI 6036E DAQ card & GPIB using an external trigger

    Hi all,
    I hope somebody could give me some help with the following and answer some questions:
    Simple system description:
    Labview 6.1
    PCI-GPIB card
    6036E DAQ card
    In my system, I am using an external analog trigger signal (A) for continuous data-acquisition. Characteristics of the analog trigger signal (A) are: ~40 Hz, signal height +1.48V, triggered by rising edge (the analog trigger signal (A) could be changed to a TTL signal). Each data-acquisition is done within ~1.0 ms after the rising edge of the trigger pulse. The timing of the data-acquisition and analyzing procedure is controlled by execution in a sequence structure placed in a loop.
    Now, I connected a power meter to the system, to measure the laser power during the data-acquisition. The power meter has two options to provide the laser power data:
    a) via analog signal output (voltage corresponds to laser power in watts)
    b) via GPIB (direct output reading of laser power in watts).
    Problem:
    During a certain point in my data-acquisition sequence structure (defined by a frame), I want to use the next occuring analog trigger signal (A) to acquire 1 value from the power meter.
    How do I do this in Labview programming for the following two situations?
    a) If I connect the analog output from the power meter to an analog input channel of the 6036E DAQ card. The analog trigger (A) would be connected to a second analog input channel (In case the analog trigger signal (A) is changed to a TTL signal it would be connected to the PFI0/Trig input pin on the DAQ card).
    b) If I use the GPIB connection of the power meter. The analog trigger (A) would be connected to a second analog input channel (In case the analog trigger signal (A) is changed to a TTL signal it would be connected to the PFI0/Trig input pin on the DAQ card).
    An other possibility would be to trigger the power meter directly, so it outputs constantly power meter values at ~40 Hz. How could I than acquire 1 power meter value (at a certain time im my sequence structure) via analog input at DAQ card or GPIB?
    Additional questions:
    How do I configure the PFI0/Trig pin on the 6036E DAQ board individually as an INPUT?
    How do I use an analog trigger signal (A) as counting signal for a loop, or as an activation signal for a sequence structure which includes GPIB commands?
    It would be very nice if somebody could give me some help.
    Kind regards,
    beam

    Hi beam,
    I just want to verify that I understand your situation correctly:
    An external trigger signal (A) is wired to one of your input channels (e.g. CH0) to trigger data acquisition of a second channel (e.g. CH1). Your power meter is connected to an analog input channel, which you would like to trigger with a certain rising edge at some of your sequence structure.
    Problem:
    During a certain point in my data-acquisition sequence structure (defined by a frame), I want to use the next occuring analog trigger signal (A) to acquire 1 value from the power meter.
    How do I do this in Labview programming for the following two situations?
    a) If I connect the analog output from the power meter to an analog input channel of the 6036E DAQ card. The analog trigger (A) would be connected to a second analog input channel (In case the analog trigger signal (A) is changed to a TTL signal it would be connected to the PFI0/Trig input pin on the DAQ card).
    If a task has been configured to acquire signal from one analog channel, it's not possible to run a second analog input task or to add a second channel on the fly. You had mentioned that it's possible to read from the instrument through GPIB. Is it possible to perform a software trigger such that at a certain frame of your structure, when the trigger signal A reaches voltage "x", a GPIB command is written to your power meter to query a measurement reading?
    Additional questions:
    How do I configure the PFI0/Trig pin on the 6036E DAQ board individually as an INPUT?
    You do not need to explicitly configure the PFI0 line as an input. If you want to use it as an input such that it acts as an analog trigger, simply wire the trigger signal to this pin. When configuring the trigger in your software, specify PFI0 as the trigger source.
    How do I use an analog trigger signal (A) as counting signal for a loop, or as an activation signal for a sequence structure which includes GPIB commands?
    You can try using the Limit VI to find out when the trigger signal reaches a certain level, and count how many times this level is reached. Similarly, you can use this as the condition to execute GPIB commands.
    Hope this helps,
    Lesley

  • TC measurements with PXI 4351 DAQ Card

    (I am using version 6i of LabVIEW). I am trying to create a VI that will use a PXI 4351 Card with a TBX-68T to take 4 thermocouple continuous measurements. I am also acquiring 8 voltages with a 6030E and TBX-68 and writing them to a file. My voltage data acquisition is modeled after "Buffered Continuous Analog Input.vi" I would like to aquire voltages and temperatures in the same vi, but using different devices and accessories. (I need a higher frequency for the voltage acquisition, and more precision with the temperatures). Is there a subvi I can use to collect the temperature data in the same vi as my voltage? I don't want the thermocouple DAQ to interfere with the voltage DAQ, either.
    I tried the NI435x thermocouple.vi
    but I couldn't get the Built-in Cold Junction Sensor to work or figure out how to combine it with my exisiting voltage acquisition. I also got NaN for my readings, and I checked the wire connections in all the sub vi's as suggested by another solution.
    Any comments would be great. Thanks in advance.

    Claudia-
    Thanks for the response.
    Regarding the CJC- When I switch it on, the temperature readings I get are very random, roughly negative 1 degrees. (I am operating right now at room temperature, and will be using J-type TC's to measure ~43 degrees C). Also, when I use the built-in CJC, the aquisition rate seems to slow down considerably. When I use the "user specified" everything seems to be ok, including the aquisition rate.
    I measured the resitance of the Thermistor on the TBX-68T and it was about 5000 Ohms, as expected.
    Just to make sure: When using the TBX-68T, do I need to hard-wire a thermocouple to Channel 1/auto-zero and another to channel 0/CJC? Because I connected a TC to channel 0 right now, but I wasn't 100%
    sure.
    I've attached my main vi and two sub vi's that I am using for the voltage aquisition part of my project. (Note:the current measurements are just voltage measurements multiplied by the recipricol of the resistance it was measured across, ie. 10).
    I would like to keep this file as is because it writes to a file exactly the way I want it to. I'd like to have the temperature aquisition with the 4351 in the same vi as the 6030E so that they both stop and start at the same time. I am just not sure how and where to log the temperature data since there will be fewer data points than the voltage data. Any suggestions? Should I write two separate files? can I somehow append them?
    Thanks again. Hope to here from you soon.
    Attachments:
    EBlackMainDAQ.vi ‏107 KB
    Save_Data8.vi ‏45 KB
    Build_String_Array5.vi ‏33 KB

  • How can we change output pin for counter in X series daq

    hello every one...
    If this question is repeated then forgive me and direct me to that.
    I am using X series DAQ USB-6343. In specific instant i want counter output at specific pin and then agian for other requirement i want it to other pin. plz so me some path. i try to find thing but i was not luck...
    thanks & regards,
    Solved!
    Go to Solution.

    Attached is my example (it provides both methods discussed).  I used a text panel with the same device to count edges on PFI0.  Methodology:
    1) Run Example and export to PFI0.
    2) Stop Example
    3) Change output terminal to PFI1
    4) Run Example
    Notes:
    For Method 1, I would continue to see counts until I stopped and started the test panel.  Without digging it to deeply it appears as though the route is not released until the edge count timer is stopped.  Stopping and starting this counter stopped the counter from seeing edges on PFI0.
    For Method 2, I stopped seeing edges immediately after stopping the CO Pulse Freq task.
    Hope that helps,
    Dan
    Attachments:
    DiffCounterOPModified.vi ‏23 KB

  • Mac G4 crashes using continuous generation with PCI-1200 DAQ card

    I've been trying to use a PCI-1200 DAQ card with a Mac G4 to create a continuous analog output signal. The problem is that the computer locks up after a while (a few minutes). I have been using the Generate Continuous Sine Wave vi, but the problem remains.
    I've tried slow signals (10Hz) and fast signals (2kHz) but the computer still seems to crash. I have no clue what is going on!

    bissdp,
    The first thing I would recommend is making sure you have the latest version of the driver:
    www.ni.com > Support > Drivers and Updates > Current Versions > Multifunction DAQ
    Another you could try is to determine what component is causing the computer to lock up. Use a process explorer utility to try to see what processes are locked up. A search in google might turn up utilities like this one: (http://www.clarkwoodsoftware.com/peekaboo/)
    Keep in mind heat or speed issues. It may sound funny, but you may want to try opening the computer case and making sure the board has enough air flow to keep it cool.
    These are just some ideas for now, I hope they help.
    Alejandro Asenjo
    Applications Engineer
    National Instruments

  • How do I read the FIFO correctly on an M series DAQ card?

    I have a PCI-6229, which I have working with the exception of a bug or two.  The program continuously reads multiple inputs from the FIFO buffer, which is being filled at around 100 kHz.  Every ms or so, the program reads all the values in the FIFO.  To keep track of the input channel being read, the program currently indexes a channel variable every time it reads a value from the FIFO and continues until the FIFO is empty.  The next time it starts reading the FIFO it continues from the last input channel read.  This works correctly sometimes, but other times the tracking system gets off by one then associates the values with the wrong input channels.
    As an example, reading two inputs at 100 kHz the DAQ card appears to read one input every 5 microseconds and put that value in the FIFO.  When the program reads, sometimes it reads an even number of values and other times an odd number.  The program tries to keep track of this, but several unmonitored variables that I'm aware of and several that I'm probably not aware of can lead to my tracking error.  The FIFO filling up is one example, I believe.  Many times when the card is started it is already off by one.
    Is there a way to know what input a value in the FIFO is associated with?  I'm trying to have the DAQ card run continously, empty the FIFO periodically, process the data, and continue this process.  I don't want to start the AI task for 1 ms, read the values, process the data, and restart the AI task for 1 ms if I don't have to.  Thanks.
    Aaron

    You could try using DMA. This thread has a code example and some corrections. I did not have to delete the acdReset, but your mileage may vary.
    Good luck
    Neil

  • DC Motor Controlling with ANSI C & DAQ Card

    Hello,
    I have 2 DC motors and a sensor. I have a NI Daq Card and i have a NI Connector board. I am trying to control DC motor with based on sensor values. Based on the conditions motors should move forward or backward. I am also using motor driver, i already connected my DAQ Card to computer and Connector block and i connected my motors to motor driver and my motor driver to connector block. And i also connected my sensor to connector board.
    I gave you a HIGH LOW example which is ritten in PIC BASIC. What i am trying to learn is how i will write in ANSI C and use with DAQ card. And with which function i can read the value of the sensor? Normally if i read port in PIC Basic i will easily read the value.
    I checked the DAQ CARD ANSI - C Examples but they aren't too clear. So this i just wanna ask someone who know this.
    And to show what i exactly mean, here are some code written in PIC BASIC
    INPUT PORTB.0                          ; Light Sensor
    OUTPUT PORTB.3                     ; Left Motor Forward
    OUTPUT PORTB.4                     ; Left Motor Backward
    OUTPUT PORTB.5                     ; Right Motor Forward
    OUTPUT PORTB.6                     ; Right Motor Backward
    ; to make code easy to read we are defining symbols for our ports:
    SYMBOL             LSENSOR                 PORTB.0
    SYMBOL             LMOTORF                 PORTB.3
    SYMBOL             LMOTORB                 PORTB.4
    SYMBOL             RMOTORF                 PORTB.5
    SYMBOL             RMOTORB                 PORTB.6
    Our functions:
    TURN_RIGHT_FORWARD:
    HIGH   RMOTORF
    LOW   RMOTORB
    LOW   LMOTORB
    LOW   LMOTORF
    TURN_LEFT_FORWARD:
    HIGH   LMOTORF
    LOW   RMOTORB
    LOW   LMOTORB
    LOW   RMOTORF
    GO_STRAIGHT_FORWARD:
    HIGH   LMOTORF
    HIGH   RMOTORF
    LOW   LMOTORB
    LOW   RMOTORB
    GO_STRAIGHT_BACKWARD:
    HIGH   LMOTORB
    HIGH   RMOTORB
    LOW   LMOTORF
    LOW   RMOTORF

    Hey there,
    I noticed that you have posted here (http://forums.ni.com/ni/board/message?board.id=250&message.id=31497) and got some answers
    Might be worth sticking to that forum.
    AdamB
    Applications Engineering Team Leader | National Instruments | UK & Ireland

  • How can I create software start and stop trigger in LabView using 6023E series DAQ card? I don't want to use the external trigger.

    I am using 6023E DAQ card to collect the signals, such as AE, Force, Torque from the machine. I want to collect only some part of signal for example between start triger and stop trigger. I'd like to know how I can creat those triggers in LabView from one of the channels that I am acquiring at the same time. I found one or two library file that is only for start trigger. I know that this is availabe in some of DIAdem functions. Please let me know if you have done some example for this requirement.

    If you are wanting to create a software trigger based on an analog input voltage in LabVIEW, there are several options. One suggestion would be to compare the voltage values from one input channel to a number within a loop. If the input voltage crosses that threshold (is greater than the number), have a case statement that will acquire data from the other channels. This would simulate a software start trigger in LabVIEW.

  • Frequency counter with start and stop - Need help

    When No load, 200VA Unity , 400VA Unity, 600VA Unity, 400VA LAG, 400VA LEAD or Short is active Frequency Counter starts.
    When OFF and BENCH PWR is active Frequency Counter stops and is grayed out.
    Frequency Counter is grayed out when BENCH PWR is inactive
    Any one know ho to do this?
    Attachments:
    Buttons.vi ‏77 KB

    In order to enable or disable a control you need to write a U8 value to the Disabled property of the property node for that control.
    The values are:
    0 = Enabled
    1 = Disabled
    2 = Disabled and Grayed Out
    Kelly Bersch
    Certified LabVIEW Developer
    Kudos are always welcome

  • Using a counter on PCI-6023E DAQ card

    Hi there,
    I'm about to use a 6023 card to measure a periodic pulse signal. I need to count the number of the pulses. But...I've heard that the counters on my card are unusable in that case. Is that correct? Do I have to chage my card? Or can I do it with 6023E?
    Thanks in advance;
    Radek

    Hi DAC,
    The counter on your 6023E board is the DAQ-STC counter/timer. This counter fully supports counting the number of pulses. Depending on your application development environment, if you search the shipping examples you will find examples that perform this function.
    This is so long as your digital pulses are 0-5 V or TTL compatible.
    Other applications supported by your counter are:
    Simple event counting
    Gated-event counting
    Single-period measurement
    Single pulse-width measurement
    Single pulse generation
    Single triggered pulse generation
    Retriggerable single pulse generation
    Continuous pulse-train generation
    Buffered event counting
    Buffered period measurement
    Buffered semi-period measurement
    Buffered pulse-width measurement
    Fre
    quency measurement
    Buffered frequency measurement
    Finite pulse-train generation
    Quadrature encoders
    Hope that helps. Have a good day.
    Ron
    Application Engineering
    National Instruments

  • How to recognize s-series daq card in DAQmx Base 2.0

    I installed the "DAQmx BASE 2.0", and then installed 3 PCI DAQ boards.  It can recognize PCI-6024E and PCI-6713, but not PCI-6133.
    I followed exactly the same procedure as in the document called "How do I use NI-DAQmx Base with PCI/PXI Devices on Windows?"
    http://digital.ni.com/public.nsf/websearch/9C4E9FD0C7469BC286256F100074EADC?OpenDocument
    However, there is a web page (the link below) having labview example programs using DAQmx Base for "NI 6110 S Series Multifunction DAQ". So I think probably there is a way to recognize the S-series devices in DAQmx base.
    http://digital.ni.com/public.nsf/allkb/722DDAB4E914073D8625708100773677
    Does anybody know how to recognize S-series device in DAQmx Base 2.0?
    Thanks

    Alan,
    Thank you very much for the quick response.
    The reason I explored DAQmx: I want to do RLP and DAQmx Base has a simpler interface and more examples for RLP.
    The reason I want to go RLP instead of DAQmx is a long story.
    Summary of my applications:
    I need to read 4 input voltage (using PCI-6133) and then generate 12 voltages (using two PCI-6713 each has 8 outputs). Since the 12 generated voltages are related to the 4 input voltages, single sample /N channel AD/DA is required. The speed for the overall control loop has to be >100 kHz.
    Summary of my configurations:
    PIII, 700 MHz CPU, 512 MB RAM
    PCI-6133 and PCI 6713, LabVIEW 7.0, and DAQmx 8.0
    I also have PCI-6110 and PCI-6024E cards for comparison
    Summary for 4 channel single point acquisition (See the table below, AD only)
    1) The difference between P3/700MHz computer and P4/3GHz computer is very small
    2) The S-series performed worse than E- and M- Series
         Spec (kS/s)   Tested by me(700MHz P3)   by NI engineer (3GHz P4)
    6024E   200/4            15.7 kHz                    17.36 kHz
    6040E   250/4                                        18.9 kHz
    6251   1000/4                                        23.0 kHz
    6133   2500/1            13.8 kHz
    Summary for single channel single point acquisition (See the table below, AD only)
    1) The S-series performed much worse than E- and M- Series (simultaneous sampling is worse?)
         Spec (kS/s)    Tested by me (700MHz P3)
    6024E    200/1           54.8 kHz
    6110    5000/1           19.4 kHz
    6133    2500/1           14.5 kHz
    Simulated device          135 kHz
    Summary for single channel single point AO (See the table below, DA only)
    The spec of 6024E is only 10kS/s, but the loop can run at 132 kHz (the output from the port was not correct for sure). Using a simulated device (either 6024E or 6713), the loop rate is ~ 134 kHz (probably due to my low speed computer). This means the latency from 6024E devices is virtually zero. However, the latency from 6713 is way too much.
          Spec (kS/s)   tested by me (700MHz P3)
    6024E    10/1             132 kHz
    6713   1000/1              38 kHz
    Simulated device          134 kHz
    From all the above tests, it seems that s-series device (6133) and AO device (6713) perform much poorly in single point mode compared to E-series device (6024E).  I thought the difference might be due to the driver in DAQmx.  So, I want to try RLP to see whether I can gain up control loop speed to 100 kHz for my applications.
    Your suggestions and advices are appreciated.
    Thanks
    Jin-Xing

Maybe you are looking for

  • Java won't install. Problems with "zipper.exe"

    I know there are lot of these posts concerning the installation problems of Java. But so far none has answered to the problem i am currently having. I am trying to install JRE 6.14 or something like that. Same thing happens in offline installation an

  • Any Function Module to display EKPO,EKET details if EKKO as input details.

    Hi ,   If i enter the details of EKKO i have to get the details of EKPO and EKET . And can any one suggest me how to update Delivery date in Purchase order items which method id good. Regards, Sudhakar Reddy.A

  • Installing Oracle Linux on external hard-disk or DVD

    Hi All, Is it possible to install Oracle Enterprise Linux on external hard-disk or DVD? I already have Windows 7 and want to install Oracle Enterprise Linux either in dual-boot mode or on external hard-disk/DVD. I want to install Oracle E-Business Su

  • ISScript Error When Installing Itunes

    Hi I have had an Ipod before and have Itunes 4.8 installed on my comp. Recently I've tried to install a newer version of Itunes onto my comp (Version: 6.0.1.3) and I get through most of the steps untill the Installer starts to remove the backup files

  • Ipod touch stops playing in the middle of a song..

    Please help me, i have an ipod touch since 2008, i think it is from the first release. Few weeks ago it stops while playing any song or movie in the middle of it . It is as if someone press the pause button even i am not doing anything to it.. i don'