Measuring Velocity with Digital Input

I am not very familiar with digital inputs and so am having trouble picturing this system. I will be starting from scratch but will have PXI chassis' available. I will have about 381 events. Event 1 will trigger acquisition, and over the next 10 - 20 ms, I need to capture the next 380 events. I don't need to know how long each event stays high, only the time in relation to the first event. I would like to catch any event that stays high for at least 1 microsecond.
Since it will require multiple chassis, I think I will just wire Event 1 to each chassis and so shouldn't have to worry about any syncing problems? A colleague has been looking at PXIe-6544 and 6545, but I'm not sure this is the right tool, and hoping there is a less costly alternative.
Hopefully someone can give me a kickstart in the right direction.

Hi Deskpilot,
If you're looking at separate lines, then my previous idea would not scale so well (each X Series card only has 4 counters).  I like the idea of using an R Series board to do this and would suggest posting over at the Real Time Measurement and Control forum to double-check the feasibility. 
If you had to do this with M/X Series boards, then the more efficient solution would be to use the Digital Inputs instead of counters.  The R Series should be more elegant but I thought I would type up the suggestion for M/X Series anyway:
We have a few M/X Series Boards that have 32 clocked digital lines (48 digital lines total, but only 32 support HW timing).  Depending on the board selection, you could sample the digital lines at 1 MHz (PXI 6224,  PXIe 6323) or 10 MHz (PXI 6254, PXIe 6353).  Then, in software you could determine which sample the rising edge occurs on and use this to timestamp when the event occurs.  The two options would respectively give you 1us or 100 ns resolution.  
The X Series (623x) cards have built-in timing and triggering for the digital lines.  The M Series cards (622x) need to take in the clock from another source (you can use a Counter Output to create a 1 MHz or 10 MHz clock which can be triggered by your first event).
At 381 lines you'd require 12 boards.  Each board requires 2 terminal blocks for access to all of the lines.
Again, I recommend looking into the R Series board for your task, I just wanted to post another solution in case somebody comes along with a similar issue but with a few less lines.
Best Regards,
John Passiak

Similar Messages

  • Monitors with Digital Inputs

    What monitors are available that accept the Toslink input directly? Do the keyboard and on-screen volume controls still work with this arrangement?

    I believe Tannoy make a set of the Elipse range of speaker with digital inputs as well. I have no idea why you would want to do this though. I suspect the gains in quality would be tiny if anything at all. You'd be better to spend more money on something less techy and get something that really sounds great!

  • Bluetooth adapter with digital input

    I'm interested to purchase a bose solo tv speaker together with a bluetooth adapter so that i can play music from my laptop using the bose speakers. Do you have any bluetooth adapters that I can plug into the digital input of the bose speakers instead of the RCA input so that I can enjoy better sound quality?

    kelvinlim82 wrote:
    If i were still like to look for a blue tooth adapter with digital input, are there any out there?
    Rocketfish makes one with digital but there are issues with it's range, Belkin and Harmon Kardon make them, but they're analog only.All of them are in the same $50.00 price range.
    But the connectivity doesn't matter, you will not be able to tell the difference in audio fidelity between analog or digital using bluetooth.
    Bluetooth simply doesn't have the bandwidth to carry any type of audio that needs a higher bandwidth digital connection. Digital Stereo maxes out at 1.41 Mbps, Bluetooth A2DP which is the best option for audio right now, maxes out at 768kbps.
    There's a nice and consice article here that briefly goes over the technical details:
    http://soundexpert.org/news/-/blogs/bluetooth-audio-quality-a2dp

  • Synchronize analogue inputs with digital inputs

    Dear fellows
    I am using NI-DAQ, PCI-MIO-16E-4 (new name is 6040-E, I guess) with LabView 7.0. I am working on neuro-physiological signal acquisition. I have 16 analogue input channels and one digital input channel. Digital input is acquiring a TTL level signal that is a reference to the onset of a particular event. I want to synchronise both analogue and digital signals.
    Any suggestion?
    Nabeel

    Nabeel,
    have a look on following KB:
    http://digital.ni.com/public.nsf/websearch/851A80A7AB2885E086256F4D000610E6?OpenDocument
    (it's similar with DI)
    regards,
    ThSa
    http://www.newgistics.com

  • Recommend a stereo with digital input

    Hi All,
    I recently received an Airport Express for Christmas and now I want to upgrade my stereo with something that has a digital input. Is there something that you can recommend that has exceptional sound and is a good value for under $300 (including speakers)
    Thanks!

    I find that all you need is a "Mini-plug audio input cable" (thanks Duane), and you can just plug your iTunes directly into your current stereo system via your Airport Express. Have you tried that? If so, have you experienced any loss in sound quality? Even though I love sound quality, I don't credit myself as an audiophile...

  • Measuring voltage of digital input

    hi.
    i'm developing a software for a testbench.
    (the hardware was developed in the past by another person, and i have to use this hardware now)
    i have to read some digital data with a ni usb 6501.
    i've measured the voltage levels on the pins and realized that for logical 1 I get about 4,7V, for logical 0 about 3,5V (which after converting into digital is still 1).
    Do you have any idea how could I solve this problem?
    I was thinking that if I could get somehow the analog voltage value on the pin, the problem would be solved, but I don' know if that's possible.
    Thanks in advance.
    Katona
    Solved!
    Go to Solution.

    Hi,
    on 6501 input low voltage (logical  false) is up to 0.8V and input high voltag is in the range of 2.0V to 5.8V. You have to use a electrical circuit in or a device with a analog input order to solve this issue.
    What do you think about a "Schmitt Trigger"
    http://en.wikipedia.org/wiki/Schmitt_trigger
    Regards
    Rüdiger 

  • What Speakers with digital input?

    Hi all, since with the nForce soundcard we now have decent drivers with proper support of 5.1, what set of speakers should i buy which use SPDIF ?

    Quote
    Originally posted by djmorgan
    And whilst this is not a forum for 'audio' I believe the 'modern' day intergrated systems have as good if not better specs than seperate systems, also with intergrated the componants are matched, by that, I mean you can have problems with an amplifyer from Sony and a receiver from Pioneer - you get the idea.
    The 'purists' buy seperate systems because it 'looks' like you have a system.
    Bollocks. You buy component Hi-Fi to be able to match each component to your exact tastes and requirements and be able to upgrade one component at a time.
    If you want to 'look' like you have a system (whatever that means) it would seem to me that the integrated boxen you propose are the prime choice.
    I don't want to diss all-in-one systems, they have their place in the market, but to suggest that they are by definition better than seperate component systems is nonsense. I can match a Pioneer DVD player to a Rotel amplifier and hook up ASW Cantius speakers, cause I know Pioneer is good at optical players, Rotel makes excellent amps and ASW makes top-notch speakers. Try that when buying integrated. On the downside, I'll end up paying significantly more money and having components that differ 10mm in width and use different color leds 'n stuff- it's up to me to decide whether that's worth it.
    Quote
    I mean you can have problems with an amplifyer from Sony and a receiver from Pioneer - you get the idea.
    Elaborate. Last time I checked, all cinch plugs were the same size.

  • Measuring PWM duty cycle with Analog Input

    Hello folks,
    I have a NI 9205 module and was wondering if there was a way to measure the duty cycle of a PWM signal that I am generating with a separate microcontroller?  I have found a lot of examples with Digital inputs but not analog.. Is this possible?
    Thank you,
    Bob

    Hi Robert,
    I'm not sure what that error is, try searching for it.
    If you want to measure a PWM signal you would usually use a counter input.  A counter is a dedicated piece of hardware that is used to measure digital signals.  Since the NI 9205 is an analogue device and it doesn't have any counters onboard, you will not be able to select counter input.
    I would recommend you get the right tools for the job and buy a digital acquisition device with an onboard counter.  It will make reading PWM much easier for you.  The NI 6008 has a counter onboard and is only £99.  It will also offload processing from software to hardware since you don't have to calculate duty cycle.
    If you still want to use analogue post back and we can look into why its not working for you.  Tips to start you off: Voltage is the correct setting and  Look in the manual and make sure you have connected it like you have configured it (differential, RSE, NRSE page 14)
    Lewis Gear CLD
    Check out my LabVIEW UAV

  • How to measure RPM using digital I/O

    Please tell me how to measure RPM using Digital Input or please give me a code for this.

    You probably aren't going to find anyone to just give you code. Especially because you don't specify the hardware you're using. Doing this on FPGA is different than using DAQmx to do it. With FPGA you count pulses over a specified time. Using boolean logic from the digital DI node is a common way but there are others. (if you are using FPGA I can draw up an example, but I believe there is one on NIs website if you search google for it),. Then, if you want, you can run the data through an IIR filter, especially if you have a low resolution or slow moving encoder. Either of these conditions can result in very large difference of RPM even if the actual speed is not varying much (if you need an example why I can provide more detail, but some simple math calculating RPM should explain this. Obviously lower resolution will giv eyou less accurate results).
    If you use DAQmx you can set up a frequency task and it will return the number of pulses in a specified time frame; then you can convert this to RPM based on your encoder resolution and take the same steps of running it through a filter to smooth it out if need be.
    CLA, LabVIEW Versions 2010-2013

  • VI Logger: digital input?

    Does the VI Logger software work with digital input, or only analog input?

    Hi Zack, you can only measure analog channels, but you can use digital lines as triggers for analog lines
    http://digital.ni.com/public.nsf/websearch/86256F0E001DA9FD86256F660071FD6F?OpenDocument
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD

  • Convert digital input to a velocity graph

    I've set up a hall-effect sensor to measure the velocity of a bicycle wheel as I rotate it.  It provides a digital input into labview, from where I can calculate the veloicty based on the rpms.  I've managed to find a way to work out the velocity of the wheel after the fact, but is there anyway that I can program labview to show me the velocity in realtime?

    Do you have an example of a rolling average?  I have used the Passive digital realization filter  at http://en.wikipedia.org/wiki/Low-pass_filter .  Is this considered a rolling average?
    yn = αx + (1 − α)yn − 1
    where:
    yn is the current output value
    yn − 1 is the previous output value
    x input value
    Δt is the time interval between samples
    RC is the time constant
    This works pretty good but I would like to use a rolling average with n data points where the n data points are averaged and the array is updated with new measurement value.

  • How to acquire serial data on a digital input line with good performance?

    Hello,
    we have a performance problem with our realtime controller. Our objective is, to read a 24-bit long digital waveform from a digital input line. To do this, we supply a clock signal (236 KHz)  to the PFI1 Line of our DAQ Board. On each rising edge of the clock, a new bit is set on the digital input DI0.
    Our hardware which transmits the data, is triggered through a digital output from our realtime controller. On each edge on this output, the hardware starts a serial transmission of 24-Bits.
    Everything works fine except the bad performance of our realtime controller. We want to acquire the 24-Bits in a 1ms timed loop. To measure performance we wrote a test program. In that, we only triggered the hardware and transfered the data to the realtime controller. The task which is doing this job, has a approx. CPU-Load of 30%, which is, in my humble opinion, very high. The task is not waiting for data or anything else! We have earlier implemented a control which is also using a 1ms timed loop. This control is sampling 2 analog input signals, 2 counters. Futhermore it's sending telegrams with CAN and doing many calculations. The strange thing is, this much huger program has a CPU-Load of 25%. Does anybody know where the problem is?
    For the better understandig I attached our test-program to this text.
    We're using:
    PXI-8175 realtime controler
    PXI-6221 Multifunction DAQ
    Thanks!
    Regards, 
       Crest!
    Attachments:
    dig_test.zip ‏51 KB

    Hello,
    First of all 30% CPU-Load is normal because the DAQmx-driver needs a lot of resources.
    In your programm you should place a wait (for example with 1ms) into the while-loop which causes
    lower CPU-Load.
    If this is not enough you should build your vi like in the following example.
    Regards,
    Christian
    Attachments:
    Read Dig Port.vi ‏51 KB

  • Measuring frequency with counter or analog input?

    I have some frequencies which I need to measure. Some signals are digital and some are analog.
    I have a PXI-6040E DAQ which has both counters and analog inputs. 
    I heard that you can measure higher frequencies with the counters than with analog inputs.
    What is the range of frequencies an analog input can determine versus a digital counter? 
    Where is the cutoff that you must absolutely use a digital counter to determine the frequency?
    Is the cutoff different for different DAQ cards? Or is generally the same.

    Have you looked at the specs for the device? The max sample rate and the max counter input will be listed there. The max frequency for an analog input is based on nyquist sampling theory. Are you at all familiar with? It states your sampling frequency has to be at least twice the frequency you are measuring.
    Since each device might have a different max sample rate, your last question is answered.

  • Measure rpm and PWM signals using digital input of NI9401 module

    Hi, is there a simple way how measure rpm (to 5000 rpm) and PWM (about f=3kHz) signals using digital input of NI9401 (ultrahigh-speed digital I/O)  module plugged in NI 9172 ?  I will wellcome any suggestions and VI examples (bether still). I'm begginer using LView 8.2. I apologize for my poor English. Many thanks.

    Hi CUA,
    Since you have already the right tools, you just need to get started with the software. The NI-9401 will give you access to the counters that are inside the cDAQ chassis 9172.
    You need to place the module in slots 5 or 6. You can read in how they work and how to configure them in the counters section of the user guide found here.
    Now to measure rpm, you can either measure the period of the signal (seconds) and multiply by 60 to have minutes and the number of ticks per revolution. You can find a shipped example to read period called “Meas Dig Freq-Buffered-Cont-Large Range 2 Ctr.vi” found under Hardware Input and Output » DAQmx » Counter Mesurements
    To measure PWM, it is similar procedure and you can read the semiperiod (high time or low time). There is also a shipped example called “Meas Semi-Period.vi” found under the same location.
    There is great information for these kind of task at this page or just post back if you need to.
    Hope this helps.
    Gerardo O.
    RF Systems Engineering
    National Instruments

  • I want to measure rpm using 100 ppr incremental encoder via digital input

    i want to measure rpm using 100 ppr incremental encoder  via digital input max speed (4000 rpm)
    am using 9178 c-DAQ chassis and 9426 digital input module
    pl provide me example code for this

    Hi asaccullo.
    The recommended settings for encoders are using the counters in the daq cards. Using digital I/O’s is not recommended, the encoders send digital signals but one of the main differences between using digital IO vs counters is that counters are designed to handle these type of events.
    Here I found several examples in ni.com/code that you might check:
    Imitation Quadrature Encoder with DAQmx Counter Tasks
    Use Counter Frequency to obtain an Encoder Rotational Speed
    An Elvis is a daq device, so this should work for you.
    I also found an example for myDAQ, it uses the DIO but with a counter task in the set up.
    Regards,
    steve.bm
    AE | NI

Maybe you are looking for

  • IPOD DOESN'T SHOW MUSIC! PLEASE HELP!

    I have no idea what happened. At first I saw a white screen and then I reset it. Finally the menu showed up as normal, but when I go to music, it does not list anything even though I listened to it just yesterday afternoon and it was fine. It's fully

  • Selling an Imac to a family member and want to delete the user

    So I'm selling my 2008 iMac to my mom because I just bought a new macbook pro. I've transferred everything to my new computer and now want to delete my user account on my old one (which is the only user on the computer). I want my mom to be able to m

  • Data1.cab is Corrupt

    Trying to install Adobe 8.0 Professional. I get an error message Data1.cab is corrupt or missing. Any clue on how to repair this?

  • Shared Folder Not Showing Up In Remote Finder

    I'm trying to share a folder on a removable hard drive. While other shared folders appear in finder on remote machines this one does not. It appears as shared on the local machine, both in finder and in system preferences and as far as I know the per

  • Open Browser Window - Can't control Fx3 window size

    http://pacificwindshield.com/auto_windshield_replacement.html The Contact/Inquire button (upper right) opens a small form using DW's Open Browser Window behavior. I have set the window size to 400 X 340. It works perfectly in IE6, but not in Fx3. The