Problem in edge separation measurement by using NI PCI 6251 card

I am trying to measure time delay between two TTL pulses (rising edge of the first signal and falling edge of 2nd signal) generated by two Photo detectors (APD) . These pulses are random pulses. Pulse width is 20ns and height is 2.5 volt at 50 ohm termination. I am using NI PCI 6251 card (M series card) for this job. I have attached my program and DAQ assist settings using for this job to this mail. Problem is   6251 card couldn't detect the pulses from APD. Exactly error shown is
                                                         "Error 200474: specified operation did not complete because the specified timeout expired".
I have tried by increasing the waiting time but it didn't solve the problem.  I have tested my program with 20ns pulse width TTL pulses which are generated by a function generator, in this case my program worked well and given expected result.[both the signals are from same  function generator and they are synchronized so edge separation measurement gives width of the pulse ] The height (voltage) of the TTL pulse generated by the function generator is 4v at 50 ohm termination. Is this height difference creating the problem? What can be the reason ? Can anyone suggest a better way to do this job.
                                                                                 Thanks in advance
                                                                                                                                                                                                                      Regards
                                                                                                                                                                                                                       surya
Research student
Attachments:
daqassist.jpg ‏71 KB
edgeseparatio.jpg ‏26 KB

Hey JmBone,
It's possible that you are just suppose to send a 32-bit integer to control the 32 valves. The 'byte offset' is probably just there to allow grouping of 8 valves (8 bits as 1 byte). So instead of sending an 8-bit number with some offset, you just send a 32-bit number and only change the bits corresponding to the valves you want to change. It would be easiest to just have a 32-bit binary array in your code for changine the individual valves and then cast that to a U32 integer before sending it to the Set Attributes VI. Maybe I am misunderstanding the manual, but I don't think 'byte offset' is a parameter you are suppose to specify, and is just there to indicate how the valves can be bundled into a single 32-bit value.
Regards,
Ryan

Similar Messages

  • Brushless DC motor control using NI PCI 6251

    am doing my project Speed control of a sensored Brushless DC motor. am using NI pCI 6251 daq. now my motor is running.but i dont know how to calculate the speed. in BLDC motor, hall sensor is attached. can you send me the sample program for calculating the speed and to give as a feedbackk

    Will you please sent me VI model of BLDC ?
    my mail id: [email protected]

  • I can not use two PCI-1407 cards together.W​hy?

    When I installed two PCI-1407 cards on the same computer, I can find one card in the M&A Explorer,and that card can work well.But another card is invisible in the M&A Explorer.I can find the card in the source manager of windows 2000.I can't find the reason.Give me a hand,please.

    If either of the PCI-1407 cards is rev E or higher, then you need to have NI-IMAQ 2.5.1 or higher installed. You can find the revision by looking at the assembly number on the card, 184895x-01, where x is the revision. Otherwise, I would troubleshoot this like any other NI PCI card. Make sure you have the latest version of the NI-IMAQ driver. Try the cards in multiple slots and in multiple computers if feasible. Does each card work fine when installed by itself? Is there anything unusual about this computer (industrial PC, unusual chipset, etc)? Narrow down the problem to one particular card, slot, or computer. You can also try updatin
    g to the latest win2k service pack.
    Regards,
    Brent R.
    Applications Engineer
    National Instruments

  • Aquiring a signal using a PCI 6251

    Hello,
         I am trying to write a program that aquires a signal from a device connected to a PCI 6251. The device attached to the PCI is an esophageal lead and it is suppose to read a sine wave being sent through the body. Then I want to filter the signal and send it to a buffer. I do not have a good programming background, and I do not know if I can use LabView Signal Express or a function with in LabView 8.2 to aquire the signal. Any suggestions as to what I should do? Thank you.

    Hi yed1920,
    There are a few ways to acquire the sine wave. You can use a single DAQmx Acquire Step in LabVIEW SignalExpress and this will allow you to configure the acquistion and view the incoming data. You can check out some examples using DAQmx in LabVIEW SignalExpress which are found at C:\Program Files\National Instruments\SignalExpress\Examples\DAQmx on a Windows system. The LabVIEW SignalExpress Help and the LabVIEW SignalExpress Getting Started Guide which are installed with the program may also give you some direction.
    If you choose to use LabVIEW, there are examples which can help you get started. The Example Finder can be accessed through the Help menu. The DAQmx examples can be found browsing by task under Hardware Input and Output » DAQmx. You can check out the NI-DAQmx Help file or the articles found on this page to learn more about certain functions in detail.
    Regards,
    Kent
    Applications Engineer
    Digital Multimeter Home

  • Anyone Using the PCI-424e Card Yet?

    Just wondering if anyone's using the MOTU PCI-424e card in their systems, and if it's "smooth sailing" or "rough seas ahead".
    Thanks.

    Justin.
    Sometimes when we e-chat, I imagine you doing something like this:
    http://www.ifilm.com/player/mac.jsp?ifilmId=2679426&pg=default&skin=default&refs ite=default&mediaSize=default&context=product&launchVal=1&data=null
    Especially when ILUVYERMOM is on the forum!

  • Anybody using MOTU PCI 424e card for 2408 with new MacPro Cylinder?

    I upgraded my older Mac PRO tower which accepted multiple PCI 424e cards for the new Mac Pro cylinder.  I purchased from Magma their Express card cage with Thunderbold output in anticipation.  Computer arrived and I removed the card and inserted into the card cage,  directed audio to the card but no go.  iTunes, for example freezes when the card is selected.  My MOTU Digital Performer also does not allow Analog in or out with the card.
      I have contacted MOTU,  they do not have a solution.  Magma,  the card cage manufacturer has not come back with a solution.  Apple suggested visiting these forums for possible ideas.
      My studio is dead in the water until I solve this OR I need to go back to the slower old MacPro.
    Thanks in advance.

    Did you install the FCS suite onto the new computer by using the original disks?
    You should. Don't forget to run all updates, repair permissions and restart.
    Or did you migrate the applications from the older Mac? You should not do this.
    http://discussions.apple.com/thread.jspa?threadID=2113535

  • How to use external timebase for Two Edge Separation measurement with PCIe 6351

    Hi
    I am working with PCIe 6351 x series DAQ card.
    counter measurements.
    Here i need to measure the time/no edges between two edges. Falling to Raising of two signals.
    I got the measurement with internal time base.
    here i need to synchronize the measurements with external clock from the external setup.
    so i need to use that external clock,timebase for the counters.
    Any solution please..
    Regards,
    Hari

    First, the VI you mention is NOT for STC timer/counters. Therefore, it won't work.
    If you want to get the time interval between two edges, you want to use the Functions -> Data Acquisition -> Counter -> Count Events or Time VI. This will do the function you are looking for.
    Mark

  • Measure frequency of Z pulse of an accu coder shaft encoder to measure speed using an 6034 E card

    Hi,
    I would like to measure the speed of a engine which has an accu coder encoder hooked onto it. It provides 3 pulses A, B, and Z. I am using a 6034 E PXI card. I wanted to know if there are any examples/ideas that could help me with this (I am new to the digital programming in Labview). I have moved to NI Daqmx 9.8 recently from the older version which supported legacy codes and hence in process of updating the code. I also want to know if an external clock source is required to do this. this. 
    Solved!
    Go to Solution.

    Hello,
    There are several examples in the NI Example finder (you can get here by going to Help >> Find Examples in a LabVIEW window). You can browse to the encoder examples by going to Hardware Input and Output >> DAQmx >> Counter Input. You should be able to find a few examples that will be helpful. 
    Also, this link is a good resources for getting started using DAQmx: http://www.ni.com/white-paper/5438/en
    Thanks!
    Stephanie S.
    Application Engineer
    National Instruments

  • Using a PCI-6534 card, how does one write and read from the board simultaneously after being triggered on the StartTrig input ?

    I've copied two NI-developed VI's into a single VI. The first VI is the LV 'Buffered Pattern Input-Trig VI' under examples/daq/digital/653x. Using an external data generator, I send it a pulse on StartTrig, a clock on REQ1 and data on DIOA0. The start pulse is negative going so I set the front panel input to trigger on "falling edge" with clock set to 'external'. This VI is configured as Port 0 and Group 0. Once this VI is triggered I need to then start another VI which is simply the Buffered Pattern Output VI that also ships with LV. This VI is configured on Port 2, Group 1. This VI is used to simply send out a previously d
    efined array of data on DIO C0, C1 and C2.
    So, I receive a Start Trig, then clock in data, and then immediatly want to send out data. My problem is that I can't figure out when my receiving VI gets triggered on the StartTrig input. If I know when the trigger occurs, then I can wire this condition to a case statement and activate the second, or write VI. Without having the Trigger condition be met to enable the output VI, the problem is that it always outputs without even be triggered. So, where or how do I tap to find out when the StartTrig happens ? In other words, how do I know when the receiving VI has received a StartTrig pulse. There's got to be a way to do this, and I need to run in continious mode, so I can keep receiving and sending out data over and over again. Any ideas ? If your answer is to look at the examples, please tell me exact and specific examples, because I have not been able to find any examples directly related to my goal. thanks.
    Kirk

    Nestor-
    I tried your first suggestion of connecting ACK1 to ACK2. But, I get Error 10010 at Digital Buffer Control when I run the VI. I've added an array of 32 ones and zeros to the output VI so that I have some data to write. What's really interesting is when I have a scope probe on ACK1 and ACK2 which are now common, the voltage level is less than 5 volts, around 4.7, but there is something wrong with the signal, a few spikes, I've seen this before, like 2 signals are trying to drive the same output or something. When I remove the connection between ACK1 and ACK2 the signal looks perfect since ACK1 is being driven by my data generator. This leads me to believe that you can't connect ACK1 to ACK2, or atleast you can't do it with the way I have the VI'
    s configured. Also, I have a scope probe monitoring DIOC0 (since I'm writing to Port 2,which is Port C) and I don't see any data coming out, which makes sense since I get the error mentioned above.
    In terms of my configuration, I have 2 VI's on the block diagram. I have Buffered Pattern Input-Trig.VI with the following settings:
    Group: 0
    Device: 1
    Port List: 0
    Buffer Size: 1000
    Clk Soruce: External
    Trigger Type: Start Trigger
    Trigger Condition: Trigger off Falling Edge
    # of pretrigger points: 0
    For the 'writing VI' I copied the Buffered Pattern output-Trig.VI with the following setup:
    Device: 1
    Group: 1
    Port List: 2
    #of updates: 1000
    Clock Source: Internal
    Trigger Condition: Trigger on falling edge
    So, do you have any ideas on what might be wrong ? Just realized that I can attach files, so my VI is attached.
    thanks.
    Kirk
    Attachments:
    input_output_at_the_same_time.vi ‏164 KB

  • Which DAQ Driver I need to use for PCIe 6321 card

    I tried to install DAQ 9.2.1mx downloaded from net, but then I was unable to use DAQmx related sub VI's.... Then I tried DAQ 9.0mx but same happened with that also... Please suggest the solution.
    Any help from your side will be appreciated... Thanks
    Solved!
    Go to Solution.

    LabVIEW 7.1 is too old, 8.5, 8.6, 2009 may be better. At the same you should choose the corresponding DAQ driver. 
    Colin
    LV7.1/8.2/8.2.1/8.5/8.6/9.0/2010/2013; testing system development
    Please Mark the solution as accepted if your problem is solved and donate kudoes
    Home--www.colinzhang.net

  • Look for visual basic 6.0 code for measuring audio signal in PCI 6052E card,such as THD(total harmonic distortion),signal-to-noise etc.

    Hope receive NI measurement studio with visual basic engineer's favor in a early date!

    This is just the nature of the while loop in the VB code. The processor is going to execute this loop as fast as possible. The DoEvents in the loop allows the processor to perform other operations if needed. Try opening MAX or some other program and drag windows around at the same time the code is executing. You will notice that the processor load will shift away from the VB6 program to other processes.
    If you want to avoid this try adding a function similar to sleep in the while loop. However, this will slow the speed of your program and I would not recommend it, because the program is designed to run as fast as possible, but still allow other programs to execute.
    I hope this helps.
    Joshua

  • Trying to use 3 PCI express cards on P6N Diamond

    On the diamond I have 4 PCI express slots.  I use a dual monitor setup and currently have 2 nvidia 6800XT video cards that I use for them.  It works fine if these are the only two cards installed, but I wanted to use the cards in SLI mode for my main monitor and use a spare nvidia 6600LT card for my second monitor.  I read that the chipset supports PCIx16x16x8.
    I leave the 6800XTs in the white slots and i try putting the 6600LT in either yellow slot.  When I boot up, I get no video until i remove the 3rd card.  Is there a bios setting I am overlooking or something?  I cannot find any documentation on the 3rd and 4th PCI express slot and have not seen any jumpers either. 
    I also flashed the bios to 1.10

    The physics setup should work through drivers only. It is intended to plug in a bunch of cards and the drivers do the rest...
    However, neither nVidia nor ATI support the AGEIA PhysX engine, so it all doesn't apply to games that use that engine (GRAW I & II, etc.). You will need an AGEIA PPU for those games. Both nVidia and ATI have agreements with Havok to use their Havok FX physics engine in the future, but to this date there are no developments there.
    So, your hardware can do it, but the software can't...for the time being.

  • Using PC PCI-E cards

    Hello everyone
    I'm thinking about adding an internal TV tuner to my Mac Pro to use it in Windows XP MCE (dual boot with Bootcamp).Although MCE is not officially supported, but i used the upgrade path to install it. Anyways since Mac Pro has no PCI slot, I was wondering is it possible to use the PowerColor Theatrer 550 PCI-E 1x card? The reason i'm asking is If i dual boot between Mac OS and Windows, Will Mac OS boot properly since it will not recognize the card?
    Your help is greatly appreciated

    Anyone? Perhaps a little more info would help...
    *Fibre Channel* (Domain 0 and 1):
    Vendor: LSILogic
    Product: LSI7204EP
    Revision: Firmware 1.3.14.0
    *PCI Cards*:
    pci-bridge PCI-to-PCI Bridge Slot-2
    pci-bridge PCI-to-PCI Bridge Slot-3
    pci-bridge PCI-to-PCI Bridge Slot-3
    pci-bridge PCI-to-PCI Bridge Slot-2
    pci10000,646 Fibre Channel Slot-4
    pci10000,646 Fibre Channel Slot-4
    scsi SCSi Bus Controler Slot-3@5,4,0
    scsi SCSi Bus Controler Slot-2@14,4,0
    scsi SCSi Bus Controler Slot-3@5,4,1
    Can anyone tell me where I can find any more info on these card? And what exactly are they used for?
    Pre-thanks!
    SparklyArt

  • Can I use the pci-6259 card with SCXI?

    I need to know if the new M style daq cards will still work with the SCXI devices. If so, is there any additional hardware ie. cable adapters that I need?

    Craig,
    M-Series devices should work just fine with SCXI. You will need a new cable, as the connectors on M-Series devices are different from those on E-Series devices. I believe the following cable should work just fine for your application: SHC68-68-EP.
    Dan

  • Synchronizing the read of two timer tasks (Period and Two Edge Separation)

    Hello,
    I am using labview 2011 and need to latch the data from two timer tasks of a 6602 board at the same time and then perform the read. One task is a period measurement the other is a two edge speration.  It sounds pretty simple and I am sure it is, I just haven't located the correct information yet,  If someone would point point me in the correct direction.
    Thanks,
    Mike

    While it's true that a digital edge arm start trigger can help to sync the tasks to begin together, the nature of the measurements you're making also have a big impact on whether you can depend on the buffered data remaining "synced."   Both measurement types will latch measurement data at times determined by the signal(s) being characterized.  You cannot configure either task type to sample at a known constant rate.  You can only accept samples at the rate dictated by the signals' own edges.
    Ok, so having said all that, here are some implications:
    1. a cumulative sum of all your period data will effectively give you timestamps for all the active edges, with t=0 set by the arm start trigger edge.
    2. there is no information inherent in a two edge separation measurement that can identify the time relative to the arm start trigger.  You'll get a bunch of measured interval times with completely unknown times between those intervals
    3. caveat: if you are somehow using the same signal edge for both measurements AND getting one measurement of two-edge separation for each and every period measurement, ONLY then would you be able to reconstruct the timestamps relative to the arm start trigger edge.
    So I'd caution you that the idea of latching readings in sync or reconstructing relative edge times between the measurements is pretty unlikely to work except under some very specific circumstances.
    -Kevin P

Maybe you are looking for

  • HP LaserJet M1120n MFP latest drivers for 64-bit Windows 7

    I can't get my HP LaserJet M1120n MFP to work with  64-bit Windows 7. I downloaded and installed the drivers from HP site, file named ljM1120-hb-pnp-win64-el.exe and scan doesn't work, can only print Word documents. Downloaded and run check with the

  • Oracle Hosted Instance of APEX is down Again.. :(

    Just to let folks know, I was looking at a demo from one the APEX blogs, when I tried to run the demo app, the site was showing the Oracle Corp Website Unavailable message. Can I offer a suggestion here.. The posted links that are on this web page ar

  • Problem in the Columns Display

    Hi all, I am using sql developer 1.1.0.23. I am facing some weird problem: 1. Execute the following query. select * from all_objects where object_name like UPPER('%&object_name%') and object_type in ('TABLE','VIEW'); 2. Fetch the records and note the

  • Audition does not playback

    Hello, Suddenly audition (5.5 CS built 1815) does not play any tracks anymore. I treid my best but can not find the problem. I removed it and reinstalled the whole product again. I can load an mp3, and the waveform is showing up in the editor. When I

  • Connection of BI to Multiple SRM clients

    Hi, I am working on SRM/BW implementation. Now, in our project we are implementing multiple clients in SRM QA environment to support Testing and Training.  My question is, Can this be done ? If yes, What has to be done in BW system to extract data fr