NI-6602 Two Channel Frequency Measuremen​t using Traditiona​l NI-DAQ and LabView 8.2

I have been trying to program for some new experiments and have a vi setup to record the time-of-arrival for a signal using buffered event counting on two channels.  We really wanted to be able to measure the frequency of the incoming photons on both channels and thought we could just make a sub vi using simple event counting and count the number of rising edges on a source pin for a second and report that number and repeat the measurement until we were done..
All of our vi's have to be programed using the Traditional NI-DAQ drivers as the NI-DAQmx drivers do not play well with the FIFO overwrites on the 6602 card that occasionally occur in our measurements (high instantaneous count rates from bursts of photons).  The way other groups using the 6602 card and labview have dealt with this is to ignore the error that come from the Read Buffer.vi used with the Traditional NI-DAQ drivers when a FIFO overwrite occurs.  Trying this same technique with the NI-DAQmx drivers has not worked so we are stuck with the old drivers.
With this all said I made a vi that counted the freqency on one counter just fine but when I adapted it for two channels it doesn't like me anymore
I attached the llb file and any comments would be greatly appreciated
-Shane
Attachments:
Counts per second.llb ‏202 KB

Hello Sprice,
Browse the shipping examples according to “Directory Structure” and then select
DAQ to find the Traditional DAQ examples. 
There a lot of examples that are written for counters (Counter >>
daq-stc.llb >> Count Edges (DAQ-STC).vi). 
What kind of signals are your photons creating?  Are they TTL compatible at a certain
frequency?  You don’t care about overwriting
your buffer?
Respectfully,
Rob F
Test Engineer
Condition Measurements
National Instruments

Similar Messages

  • TWO CHANNEL SOUND MEASUREMEN​T USING daq

    HI. I need some help in measuring two cahnnel sound using SVT. The detail is attched. Thank you..
    Attachments:
    NI.docx ‏1207 KB

    the VI . are attached...
    Attachments:
    Input_uniform noise.vi ‏53 KB
    Sound1.vi ‏163 KB
    sound 2.vi ‏91 KB

  • I use only two channels, have plenty of memory in my hard disk, and external hard drive, no effects, and still having problems with Garage band. Giving messages as you have too many live channels

    I'm frustrated, I am doing everything you recommend, I use only two channels, have plenty of memory in my hard disk, and external hard drive, no effects, and still having problems with Garage band. Giving messages as you ave too many live channels, the disk is slow prepare...can you help?

    Quote from: Richard on 15-November-07, 20:33:05
    tornado2003,
    What you need to do is boot into Safe Mode. Then delete the VGA Drivers.
    After that boot normally and install the latest nVidia ForceWare Drivers
    Take Care,
    Richard
    i guess you missed that:
    Quote from: tornado2003 on 15-November-07, 17:26:52
    ive tryed booting xp in safe mode but it just freezes after it loads up a couple of needed files .
    ive even formatted my hard drive and tryed installing a fresh xp on it but it just keeps locking up when it gets to the "starting windows setup" .(this is just after it loads all the drivers from the xp cd)

  • Frequency measuremen​ts using NI cRIO 9073 and NI 9425 or NI 9422 modules

    Hi everyone!
    I'm trying to measure two frequency signals using a cRIO 9073.
    I'm already using a NI 9425 module for digital inputs.
    I need to measure two (2) frequency signals.
    Is it possible to use this module (NI 9425) or NI 9422 for frequency measurements either in Scan Engine or FPGA mode?
    In case it is, if you could point me to any example, it would be appreciated.
    I'll try to be more explanatory:
    These two frequency signals are in completely different ranges.
    The first is a frequency signal from a DC motor tachometer and the second one is from a mass flow meter.
    So the frequency ranges vary from KHZ for the tachometer output, to Hz for the MFM output.
    The rest of the channels on the module are simple Digital Inputs.
    Also, I have the option to use a NI 9422 module if NI 9425 is not appropriate.
    Thanks in advance,
    t81

    t81,
    It is possible to make frequency measurements with either the 9422 or the 9425 but each will have its own limitations in the range of frequency it will be able to accurately measure.  
    A few things to know:  
    1. What are the frequency ranges for each sensor (tach and MFM)? More than just knowing Hz/kHz will be helpful.
    2. To what accuracy do you need to measure these signals?
    The 9422 supports a specialty digital configuration counter input that can be configured for frequency measurement (see link)
    http://zone.ni.com/reference/en-XX/help/372603F-01​/riohelprt/crio-9422_rt/
    The specialty mode is only available when using Scan Interface mode, not with FPGA.  
    But the max clock rate in the specifications for the 9422 is 4kHz so this may not be sufficient for the tachometer.  I believe this is the max rate at which the module will update its state no matter how fast the underlying software (RT controller) is running.
    The 9425 has a higher clock rate (~140kHz) but doesn't support the specialty digital mode mentioned above.  It is also a software timed only device but this shouldn't be a problem if you use FPGA.
    Dan

  • Using traditiona​l NI-DAQ with NI-DAQPAD6​016

    Hi,
    Can the NI-DAQPad6016 controlled using the Traditional NI-DAQ driver, or is it only possible with the NI-DAQmx?
    Thanx

    Duplicate of This Link

  • How to find out the AI mode using traditiona​l NI driver and VC++ 6.0?

    Hello,
    the software I manage is written in VC++ 6.0 and utilizes the traditional NI driver. The board used is PCI6013/6014.
    The AI mode though may be either differential or nonreferenced single ended. By now we configure the board using Measurement and Automation Explorer, which is OK but is not actually friendly for end users. What I would like to have is at least to be able get the current mode somehow so that the program could warn a user the mode should be changed. Better yet if the program could overwrite the current mode setting so that there would be no need to run Measurement and Automation Explorer at all.
    I tried to use AI_Configure function. It looks like it does nothing in this respect - at least for this type of board.
    Is there any other way to achieve my goal (direct access to registry settings?)?
    Thank you in advance,
    Mike Faynberg

    Hi Mike,
    Actually you are on the right path.
    If you use the AI_Configure command then you can set the input configuration of the DAQ Board.  As seen in the Traditional DAQ C Function Reference Help (Start > National Instruments > NI-DAQ):
    AI_Configure
    status = AI_Configure (deviceNumber, chan, inputMode,
    inputRange, polarity, driveAIS)
    Purpose
    Informs Traditional NI-DAQ (Legacy) of the input mode
    (single-ended or differential), input range, and input polarity selected for the
    device. Use this function if you have changed the jumpers affecting the analog
    input configuration from their factory settings. For devices without analog
    input configuration jumpers, this function programs the device for the settings
    you want.
    Parameters
    Direction
    Name
    Type
    Description
    Input
    deviceNumber
    i16
    assigned by Measurement & Automation Explorer
    chan
    i16
    channel to be configured
    inputMode
    i16
    indicates whether channels are configured for single-ended or differential
    operation
    inputRange
    i16
    voltage range of the analog input channels
    polarity
    i16
    indicates whether the ADC is configured for unipolar or bipolar
    operation
    driveAIS
    i16
    indicates whether to drive AISENSE to onboard ground
    Simply by setting this parameter in your code you can set the configuration of the board to whatever you would like for your application.  They won't even have to go into MAX to set up the device!
    Enjoy,
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • Going from an e series board to an s series board using traditiona​l NI DAQ

    I'm using the AI Acquire Waveforms.vi in LabVIEW with an E-series board (a 6040E), and I want to switch to an S-series board (a 6111). Is it possible to switch boards without making any changes to my LabVIEW 'program'? If it runs without any changes, will it sample simultaneously or sequentially?
    Thanks.

    Hello pdan,
    So you can certainly use the same program for E and S Series devices (given that all the functionality is supported), due to the fact that they both use the NI-DAQ driver. As to your concern, the S Series device is most certainly acquiring data simultaneously. It is not possible for the S Series board to acquire sequentially. Hope this helps!
    -Alan A.

  • With single trigger, I want to acquire two channel in sequence

    I wanted to observe the sequence of  effects on more than two channels with respect to a single trigger input. And also I wanted to measure each channels with different " number of samples". For example Firstt channel with 10 samples and second with 500 samples. How I can implement this on PCI 6034 and USB 6008 DAQs 

    The 6008 has only very basic functionality.
    I would say to achieve the results you want you will need to add multiple channels to a single task, all at the same rate, and only extract the data you need.
    That way all channels will be synchronized.
    I don't think the 6008 can even do correlated digital-analog I/O or trigger off an input channel.
    I don't have any experience with the PCI 6034, but if you only need 500 samples then the method I mentioned above should work regardless.
    Troy
    CLDEach snowflake in an avalanche pleads not guilty. - Stanislaw J. Lec
    I haven't failed, I've found 10,000 ways that don't work - Thomas Edison
    Beware of the man who won't be bothered with details. - William Feather
    The greatest of faults is to be conscious of none. - Thomas Carlyle

  • NI-6602 VI for simultaneous buffer measures of two channels

    Need a VI example for NI6602 counter/timer that will do simultanous buffered mesurements of two channels. The two separate signal sources must be synchronized in time.

    Bob,
    Below, I have included a link to an example that performs simultaneous, buffered event counting with all eight counters of an NI 6602. You should be able to easily modify this for use with two counters.
    Simultaneous Buffered-Event Counting on All Eight Counters of the 6602 or 6608 Devices
    Good luck with your application.
    Spencer S.

  • Hello, I use photoshop cc 10 days and I did a lot of files with layers and channels. For two days in two different locations that only happens in some documents when you reopen the job done no more .. Example 6 channels on the facts I see only one .. Than

    Hello, I use photoshop cc 10 days and I did a lot of files with layers and channels.
    For two days in two different locations that only happens in some documents when you reopen the job done no more .. Example 6 channels on the facts I see only one ..
    Thank you for your attention.
    Annalisa 

    Don't understand what you writing here.  Screen shoots would be most helpful.
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • Trying to use the same ground for more than two channels (RSE configuration) with usb 6000

    Hello,
    I'm currently trying to set up a LabView code in order to get readings of voltage using 5 different locations simultaneously. I want to only use the first location as ground and obtain 4 voltage measurements between the ground and each one of the other 4 channels. I'm using a usb 6000 which for now allows me to use the same ground for only two channels. Is there a way to use the same ground for 4 channels?
    Thank you,
    Maria

    You're right it is confusing the way I describe it so I ahve attached some pictures of the set up. The first figure is the cell filled with soil and the 5 probes inserted in it. The anode is placed at the left end of the cell and the cathode at the right end but they do not appear in the figure. I'm trying to use location 1 as gournd and take measurements of voltage from the following pairs: 1-2, 1-3, 1-4, and 1-5. The second figure is the DAQ I'm using. When I was trying to set up the RSE configuration, it was ussing ground A for the channels 6 & 7 (locations 2 and 3 in figure 1) but ground B for channels 4 & 5 (locations 4 and 5 in figure 1). What I am asking is which is the best way to use the signal from location 1 as the ground for all 4 channels. Is this more clear?
    Thank you for your time!
    Maria

  • Pci 6602: configuring a frequency-divider with daqmx using labview7.1

    i´m using labview 7.1 and the pci6602 counter-board. i want to configure a counter as an frequency-divider with varaibale division-rate, witch is a easy thing to do with the classic "old" daq-driver.
    it´s recommended to use the "new" daqmx-driver, and i want to do so, cause i´m using also other ni-devices and want to use the same driver for all of them, but i can´t find any possibility in the daqmx-vi´s to configure such a frequency-divider.
    i also couldn´t find any example-code for this problem.
    please help me!!

    hi, thanks for the answer, but unfortunatly it´s not what i ment.
    i need to configure a counter on the pci6602 wich divides down the frequency "f_in" of the square pulses connected to it´s "source" pin by "divisor" and puts out square pulses with frequency f_out=f_in/divisor at another pin. That process should take place only on the 6602-board without using the cpu.
    i´ve found the solution already, how to configure a counter on the pci6602 with daqmx like described above. see attachment.
    servus
    markus
    Attachments:
    Divider_Config_mw.vi ‏40 KB

  • Two channels needed with pulse delay. Do you know of a VI for this?

    I want two channels, one with a given number of pulses of controlable length. On a second channel I want a controlable frequency during time the first channel pulse. I want to control the time after the pulse on the first channel goes high that the frequency on the second channel goes on.

    I'm a little confused as to exactly what you want. First, I'm going to assume that you are talking about TTL level signals, so the counters will be used. I'm also assuming that you have a DAQ card available to you. You can control output pulses on one counter, and set up a frequency on the other counter, but I'm unclear as to the relationship between the two.
    Are my assumptions correct, and what is the relationship (in clearer terms)?
    Mark

  • What needs to be done in order to bring in a signal to a SCB-68 and have the SCB-68 caculate the frequency, etc. using a PCI-6052E board in LabView?

    I am using a basic function generator to create a signal to channels ach0,ach1,& ach2, using resistors as a way to change the signal a bit. I have built a VI to see these three waveforms, but I'd like to be able to use the internal counter of the SCB-68 to measure the pulse width and be able to convert it into a frequency measurement that can be displayed on the front panel. I've looked in the NI 6052E manual, but it is very vauge. Any help would be useful. Thanks
    SQ

    Hello;
    First of all, you need to make sure the three waveforms are TTL leveled, since the counters only support that data type.
    After you clear that out, you will need three counter to do frequency measurements on the three waveforms, and the board you have there has only two counter available.
    In case you have the thre counters, you can connect the pulse trains on the gate input of the counters, and use one of the two timebases to be the source input. You need to configure the counter to do buffered event counting. Then, the number you catch in the buffer will be the number of pulses that elapsed in between two active edges of your pulse train. Since you will know which time base you chose, you can do a simple math to calculate the total time.
    Hope this
    helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • How to acquire data through multiple channels in parallel using PXI 6070 E, PXI 4071 and LabVIEW?

    Hi,
    I am using NI LabVIEW, NI PXI 4071, and NI PXI 6070E to measure current through a variable resistance. Now, I am using one channel from SCB-68, but I want to add another channel in parallel so that I can have two resistors instead of one that I cam measure current through them.
    I have attached a Pdf file showing the setup for hardware in use and LabVIEW code also.
    Can anyone look at these files and give me guide lines or ideas that can help me resolving this issue, please.
    Thanks in advance.
    Best Regards,
    Shaheen.
    Solved!
    Go to Solution.
    Attachments:
    IV copy for HS.vi ‏55 KB
    Layout of NI Cards.pdf ‏248 KB

    Your 4071 can only do one measurement at a time. Your DAQ cannot measure resistance either nor has it got any analogue inputs.
    However, you could use a multiplexer and multiplex your 4071 DMM. This wont give you simultaneous measurements but can acquire data one after the other, the speed is obviously dependent on the multiplexer you choose!
    Hope this helps.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

Maybe you are looking for

  • I can only get some of my iPhone 4S pictures to show up in photo stream on any of my devices?  How do I get them all to show up?

    I can only get some of my pictures to show up in photo stream on any of my devices. How do I get them all to show? 

  • E90 Horizontal Black Line in LCD Cover Display

    Recently noticed a small black horizontal line in E90 cover LCD display. Line was getting longer and shorter througout the day. Sometimes stretching across the entire width of the display. Updated the phone's software but no use. Nokia Careline advis

  • How to handle Drop Down Box on Interactive Adobe Form

    Hi, On my adobe form there are some drop down boxes like company code, cost centre etc, actually i need F4 help on those fields,  but what i found is it's not possible to have F4 help on adobe form so i have choosen alternative as webdynpro acitvex d

  • IPhone Scare.

    This morning I went to back up my iPhone (haven't in a couple weeks.) It just hung up in "Updating Contacts" Yesterday, waiting on girlfriend, I did go through my contacts (deleting some, editing others, etc.)--but still it seemed like it was stuck i

  • Mac, jcsp and classpath

    Hi! I have a Mac and I have to make a project for the college about concurrent programming in java, for the project I have to use the jcsp package but I have a problem to set the CLASSPATH. I do what the Readme says, I put the jcsp.jar in my folder,