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

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

  • 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

  • Can we acquire the Analog input and Digital Input at

    Can we acquire the Analog input and Digital Input at
    the same time? My sensor data include Analog and
    digital signals.

    Hi Chenchen,
    It usually simplifies things greatly if you use analog inputs to monitor both the analog signals AND the digital signals.
    If you abosulutely HAVE to use digital lines, then the answer is, DEPENDS....
    With the correct hardware and depending on how fast you want to collect data and how closely the measurements have to be syncronized in time, it can be done.
    But first, concider using analog inputs to monitor all signals.
    If you need to move forward with both analog and digital acquisitions, then post a new quesion and give us details on the hardware you are using and the other details we will need to advise you.
    Trying to help,
    Ben
    Ben Rayner
    Certified LabVIEW Developer
    www.DSAutomation.com
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • 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...

  • Can I set html input with digital

    If I use html in iphone,Can I set the "input=text" only digital allowed,just like the keyboard number pad! Thanks!

    Hi Fred,
    The answer to both questions is yes. In MAX, in the Channel Configuration Tab of your cFP-AI-100, you can specify your range to be one of a number of settings for current or voltage. To configure separate channels, simply select the channel and then select the range. See the attached screenshot for more details.
    Regards,
    Sean C.
    Attachments:
    FP Channel Configuration.bmp ‏2305 KB

  • 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.

  • Cable input and digital input.

    Right now my TV has an Analog Rf input and a Digital RF input.
    I have cable in the analog and a digital air antenna into the other.
    The new TV's I'm looking at don't have the two inputs.  How do I connect the two to the new TV?
    Thanks  Eric

    My tv doesn't have s video, but I feel it should still be an option being there are millions of dvd players still out that use that connection.
    I know of no receiver that switches RF signals so that isn't an option, and in the end its just a switcher which you can get anyway for like 10 to 30 bucks.
    I just find it odd that 5-7 years ago if you got a decent tv it came standard with 2 or 3 antenna inputs and dual tuner PIP. Now the new tvs are supposed to be more high tech and yet come with less options.
    TV has done the same thing as audio, as the technology progressed the experience actually got worse. These new flat screens look cool asthetically and all, but in the end a good CRT tv is still the better display. I own a HD ready crt tv (7 year old hitachi) and a new samsung plasma. The 7 year old tv still looks better than the plasma in picture quality. And it will display any signal I feed it.
    Same with audio, the new MP3 players look cute and hold a lot of music, but are actually a step down in audio quality from CD's.

  • Synchroniz​ing two counter frequency inputs with multiple analog inputs

    Hello all,
    I'm fairly new to LabVIEW and I'm trying to collec​t data from multiple sources with synchronized tim​ing on the acquisition but I'm having trouble figu​ring it out. My problem is that I've got two count​er frequency inputs, one optical tachometer readin​g one pulse per revolution, and a max machinery fl​ow meter with a k factor of 12000. I can't seem to​ figure out how to sync the timing with my multiple analog inputs. I've be​en attempting to get the tachometer  to sync with ​the analog inputs first by following the example l​inked here. (https://decibel.ni.com/content/docs/DOC-10785) So far each time I run it I either get a timeout e​rror on the DAQmx read or a "Multiple sample clock​ pulses were detected" error (see attached image).  It seems if I slow the sampling rate way down to ​say 10 hz and ensure that the tachometer signal is​ over 800-1000 RPM (13-17 Hz) before starting the VI then the program will run without errors until ​the RPM drops below that threshold then the "Multi​ple sample clock pulses" error occurs.  The code is attached below.
    Does anyone know of a more effective way of syncin​g counter frequency inputs with analog inputs?  I'd like to have a VI that can show 0 RPM (and ev​entually 0 flow as well, but I think I need to fig​ure out the timing of one counter before I add ano​ther as it seems I can't have two counters in the ​same task). Any help on this would be greatly appr​eciated.
    LabVIEW version 13.0
    cDAQ-9178 Chassis with NI 9401 for the two counter inputs and NI 9205 for the analog inputs.
    Thanks!
    Richard
    Solved!
    Go to Solution.
    Attachments:
    SimpleDAQ.vi ‏44 KB
    LV_Error.JPG ‏31 KB

    Maybe third times the charm? 
    So I've finally got a good handle on why the VI is having problems at low RPM though I'm somewhat embarassed how long it took me to do that
    Because I have the counter time synced to my Analog input task if it doesn't see at least two pulses between the two clock pulses set by the analog input task I get the -201314 "Multiple sample clock pulses" error. This seems fine at first as it just sets a minimum RPM that I can measure and it's well below the area I'm interested in so no problems there.  I tried a simple error handler that would clear the error when it happend assuming the loop would keep iterating until the RPM went above that minimum at which point I would get a signal again. This is not the case, the read function just continues to spit out the -201314 error even after the RPM is back in the readable range. So then I tried adding two case structures so that when the error occured it would stop the task, clear the error, and then start the task again on the next loop iteration (Code Attached). This also doesn't work as the error shows up again on the stop task and then AGAIN on the start task on the next loop iteration. It seems this error is not actually being cleared and once it happens it stays with the task regardless of what the error cluster is carrying. 
    Anyone have any ideas?  The only solution I can think of is to just clear all tasks and recreate them each loop iteration until the RPM is readable again but that strikes me as a horribly clunky solution.
    Richard 
    Attachments:
    SimpleDAQ_1_Start Stop.vi ‏48 KB

  • 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

  • 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

  • How can an unconnected indicator read an FP digital input?

    SYSTEM DESCRIPTION:
    A Dell desk top computer with a Field Point system attached. There are a variety of modules including analog input, 2 digital inputs, relay out, Strain gage input, quadrature input. The system is running XP. The Labview program is written in v6.1.
    PROBLEM
    In an application written by others, I have found 4 front panel indicators that react to Field Point digital inputs. On the block diagram, the indicators are not wired to anything. They have no local variables and no global variables associated with them. How can they be reacting to the FP inputs? The problem is that one of the indicators reacts to the wrong input and I need to fix it.  See "In(Rescue)Limit, In(Cargo)Limit, 4067 Out Limit and EStop".
    Also, when the vi is launched, it starts up the FP system and the vi has no FP vi's in it and none of the sub-vi's have any FP vi's in them either. Any clues how this could be working?
    I have attached the vi. There are other vi's in this project, just too many to include unless more information is needed.
    Thanks,
    Chris Dreike
    Advantage Automation, Inc.
    [email protected]
    310-214-2175

    Chris,
    It doesn't look like you attached the VIs.
    You can use front panel DataSocket binding to link an indicator or control to a FieldPoint ethernet item. Right-click on the indicator and choose Data Operations>>DataSocket Connection.
    Regards,
    Aaron

  • How to address digital input & output, analogue input & output when communicate with mitsubishi fx1n plc

    dear all,
    i am new to labview, how to code or address digital input & output, analogue input & output when communicate with mitsubishi fx1n plc or crouzet plc.
    pls help.
    HM

    http://search.mywebsearch.com/mywebsearch/redirect.jhtml?searchfor=mitsubishi+fx1n&cb=ZO&p2=%5EZO%5E...
    Try the above link. I know it is a screen-full, but is a search result for Matrikon. They have a whole slew of OPC servers/clients you can try out. Personally, I would go with their OPC server for the Mitsubishi, and use Labview Datasockets. That would be the simplest with the lowest learning curve.
    Otherwise, if you wish to use Modbus, you would have to get the commands/syntax from Mitsubishi; might be in their user manual, but I wouldn't lay bets on it. With the Matrikon stuff, the syntax is all built in.
    Good luck which ever way you decide to go.
    Dave

  • How to connect Digital Optical Audio output iMac with Receiver Input

    I have connected iMac with onkyo hts-3300 home theater system receiver through optical audio TosLink Cable.( http://www.amazon.com/Digital-Optical-Audio-TosLink-Cable/dp/B001ZU3G2I/ref=sr12?ie=UTF8&qid=1292865309&sr=8-2 ). Unfortunately there is no sound coming out from the Home theater system. I have verified the Receiver optical input is working fine by connecting with my TV optical audio digital out put and the it's working great. The only difference between TV and iMac is, on my TV, it has optical audio digital output and I can use this cable (http://www.amazon.com/Tripp-Lite-A102-02M-Digital-connectors/dp/B0002WPREU/ref=s r11?s=electronics&ie=UTF8&qid=1297320792&sr=1-1) to make it work. I can also verified my optical audio TosLink Cable working because I can see the red light coming out from the cable. So the only problem could be from iMac. I doubt I need to change the additional setting to configure iMac to use external optical audio setting instead of the buit in audio setting. Hoe can I able to do it? or my iMac(IMAC 21.5"/3.06/2X2GB/500GB/9400M-ITP
    MB950ZP/A) doesn't support optical digital audio out put? I have follow this thread http://discussions.apple.com/thread.jspa?messageID=12769423&#12769423 and to my surprise which doesn't work out for me. I doubt that i need to change some setting, but when I got to setting>> sound I cannot change any setting. I was quite depressed aldy. Can someone answer my question as i m a newbie here. Thanks a lot

    Thank you very much for your reply.
    @Király : May i know how to Open Audio Midi Setup? Is this Audio Midi Setup is in the locatated in the Setting in Mac Snow Leapord OS? or how to locate this "Audio Midi Setup " in Mac enviroment. Is it possible to open this Audio Midi Setup in windows 7 enviroment also? I Just want to get the audio from my iMac in Hts-3300 onkyo home theatre. YOur help is much appreciated
    @rkaufmann87 : Thank you very much for your sharing about this http://www.apple.com/airportexpress/ connection. for me what i understand is the digital audio output in airportexpress is the same as the audio out put in iMac in terms of details sepcs. So this airportexpress will only help you connect wirelessly to home theatre system, rather than waired connection. Other than that nothig much difference. So there is no point for me to spend extra bucks to attain the wireless connection. Unless the airportexpress have optical digital input, which i believe not. Correct me if I m worng, thanks

Maybe you are looking for