Single Pulse Width with External Clock

I am trying to setup a 6602 counter for a single (non-buffered) pulse width measurement with an external clock. Under normal testing, the unit under test will provide the pulses, I need to measure the number of pulses during different time periods (1, 60, and 300 seconds). I want to do a pulse width measurement and I'll supply the gate signal pulse to the counter for the specific time needed.
Under normal operation, the unit under test is wired into the counter's source and the pulse is wired into the gate.  For testing purposes I am using a BNC-2121. I have the counter's source wired to the Adjustable Square Wave Output and the gate wired to the Trigger output.
Here is my C++ code. I am getting a timeout error on the read and I don't know why. Any help would be appreciated.
   //Create Task
   DAQmxCreateTask( "task1", taskHandle );
   //Create Pulse Width Channel
   DAQmxCreateCIPulseWidthChan( taskHandle,              // TaskHandle
                                                  ​  szCtrName.c_str(),     // Counter Name
                                                  ​  "",                             // Channel Name
                                                  dMin,                          // Min Value
                                                  dMax,                         // Max Value
                                                  DAQmx_Val_Ticks,     // Units
                                                  DAQmx_Val_Rising,    // Gate Edge
                                                  "" );                            // Scale Name
   //Set the Pulse Width Terminal to the gate signal
   DAQmxSetCIPulseWidthTerm( taskHandle,          // TaskHandle
                                                 "",                       // Channel
                                                 "/CTR2/PFI38" );  // Terminal
   //Set the Timebase Src to the counter's source
   DAQmxSetCICtrTimebaseSrc( taskHandle,         // TaskHandle
                                                "",                       // Channel
                                                "/CTR2/PFI39" );   // Terminal
   //Start Task
   DAQmxStartTask( taskHandle );
  //***Send pulse to gate counter***
   //Read Counter
   DAQmxReadCounterU32( taskHandle,                      // Task Handle
                                          DAQmx_Val_Auto,           // Num Samps to Read
                                          10,                                  // Timeout
                                          ulBuffer,                           // Read Buffer
                                          1000,                               // Buffer Size
                                          &lSampsRead,                 // Num Samps Read
                                          NULL );                            // Reserved

I've setup a pulse width task in NI-MAX using the onboard clock and everything worked fine, so I know the hardware is working.
My unit under test is providing the pulses (from gyros) I need to measure. The pulses indicate the position of the unit so there are X, Y and Z axis gyros. I need to measure these pulses for specific periods of time (1, 60, and 300 seconds). For example during the 1 second measurement, the X and Y gyros should measure zero pulses and the Z axis should measure 515 gyros. During a 300 second measurement the X and Y gyros should measure < 60 and the Z axis should measure 30800.
So the gyro pulses are wired to the counter input and I am using a DIO channel from NI-6508 to provide the gate pulse. The gate signal will be high for either 1, 60, or 300 seconds depending on the test. The gyro pulses are essentially the external clock to the counter. I want to count the gyro pulses during the pulse of the gate (DIO).
To simplify the setup, I connected to BNC-2121 directly to the card. I have the adjustable clock output going to the counter input of ctr0 and the trigger signal going to the gate of ctr0. Once the task has been started and before the read ( I had a breakpoint set in the code), I would press the trigger button on the BNC-2121 and hold for approx. 1 second. I then execute the Read statement, and I always get a timeout. From my experience working with NI, I'm guessing I don't have a channel property set correctly, but its not obvious to me and I can't find an example to do exactly what I'm trying to do.
The CTR2 designation in the code was the object name of the card. I have two 6602 cards in my chassis. I was using ctr0 of the second counter card, so PFI38/39 was correct.
Again, any help would be appreciated.

Similar Messages

  • DIO Pattern with external clock

    I use Pattern Input with external clock, I only wire external clock to REQ pin, I see how frecuency vary, but I do not receive data but the one that was latched last time, Do I need to wire something else in order to receive correct and continuos data? I think I just need a singnal to get data latched every time I require trought external clock. What do I have to do to get my application running?

    It sounds as though you are using a NI-653X data acquisition board to perform Pattern Input. When performing Pattern Input, data is transferred upon the rising or falling edge (user configurable) of each clock pulse. This clock signal can be externally provided or internally generated. To use an external clock signal of up to 20MHz, simply connect the signal to the REQ pin as you are doing.
    I recommend trying a LabVIEW shipping example already set up to do pattern input. The particular example I am thinking of gives you the option to try either an internal clock or provide an external clock. I would recommend trying each option. I do not know which version of LabVIEW you have but will provide the path to the example in LabVIEW 7; the path is very simi
    lar in earlier versions of LabVIEW:
    Help >> Find Examples >> Hardware Input and Output >> DAQ >> Digital Input and Output >> 653x >> Cont Pattern Input.vi
    I hope this helps!
    Sonya

  • Measure pulse width with 4 counter simultaneously

    Hello,
    I am using NI PCI-6601 measure the pulse width with 4 counter simultaneously, due to only a DMA channel on this card so I selected interrupt data transfer mode to read data from PCI bus for 4 counters, but it working only for few seconds then a error message prompted:
    Error -200141 occurred at DAQmx Read (Counter 1D DBL 1Chan NSamp).vi
    Measurements: Data was overwritten before it could be read by the system.......(See attached picture: TestUI and Error MSG.bmp)
    I know the problem caused due to system is unable to read back data from PCI6601's memory as fast as they card countered. My quesition is:
    1. The timebase is 20Mhz(Sample rate), how to change the sample rate slower (like 100Khz) ?
    2. Any good solutions can meet my requrement?
    Attached is my source code, Test.vi is the main VI.
    Thanks for your help.
    Steven
    Attachments:
    Test.zip ‏557 KB

    What's more, you could include four channels in one task, so you don't need to build four task!
    Attachments:
    4 counters in one task.png ‏719 KB

  • Discussion on Blog: Single Sign On with External ID implemented in Ruby

    Hello,
    please use this Topic to discuss questions regarding the Blog <a href="/people/gregor.wolf3/blog/2006/09/30/single-sign-on-with-external-id-implemented-in-ruby">Single Sign On with External ID implemented in Ruby</a>.
    Regards
    Gregor

    Hi Gregor:
    As per your request, I am reposting my question in this forum..
    Your excellent blog Single Sign on with External ID Implemented in Ruby shows how you can generate a sso cookie with the external ID mapping with the X.509 certficate.
    In my scenario, the user has already logged into R/3 via SAPGUI (so no need for SNC here) and run an iView on the Portal - if I map an external ID in the table  VUSREXTID (type NT)  for each of my users then can I call the rfc SUSR_CHECK_LOGON_DATA by passing Auth_method = E and Auth_data = External ID and will this rfc return a SSO cookie?
    Thanks
    Venkat

  • Driving DO lines with external clock wired to PFI lines

    Hi all,
    I have few issues understanding how to use hardware timing resources in M series USB6229, with particular focus on DO. I have read last couple of day all google offered on the subject but I am still straggling with some basic tasks. To cut the story short, the 1e6 dollar question:  can I set up 7 independent DO lines where (different tasks or virtual channels) where lines use same hardware timing source (eg, freqout or CO0 set to ~10kHz sampling time routed to PFI0).
    Note: the reason I need 7 independent lines and not a port output (which would be obvious solution) is because I need to have (vastly) different number of samples and for each line.
    Follow up question regarding timing: As I understood, any of PFI ports could be used and a input to the external clock which could be used to drive DO line(s) samples. I have tried to generate one DO, eg. P0\line4 by using CO0 to generate 10kHz sample rate.  The signal on the line4 is pulse with frequency of few Hz which I routed to PF6 (with actual wire) in hope to use this signal as a clock for line5. I tried this but I am receiving errors about "resources in use"
    Possible reason(s):
    Specified route cannot be satisfied, because it requires resources that are currently in use by another route.
    Property: SampClk.Src
    Property: SampClk.ActiveEdge
    Source Device: USB-6229
    Source Terminal: PFI6
    Required Resources in Use by
    Task Name: _unnamedTask<7B>
    Source Device: USB-6229
    Source Terminal: PFI4
    Destination Device: USB-6229
    Destination Terminal: do/SampleClock
    Task Name: _unnamedTask<79>
     Apparently, many of internal clocks are routed internally to different PFI lines which mean the lines are occupied resource, and I do not know how to solve this.
    I wanted to ask you does this principle sound as something that should work and if you know about some examples that would be excellent.   
    Any help would be greatly appreciated.
    Cheers, Nenad

    > To cut the story short, the 1e6 dollar question:  can I set up 7 independent DO lines where (different tasks or virtual channels) where lines use same hardware timing source (eg, freqout or CO0 set to ~10kHz sampling time routed to PFI0).
    No, you can't. The USB-6229 has a single digital output FIFO which can only be used by one task at a time.
    > Note: the reason I need 7 independent lines and not a port output (which would be obvious solution) is because I need to have (vastly) different number of samples and for each line.
    It should be possible to generate all seven signals with a single task by generating a waveform that includes all seven signals. If the signals repeat at different rates or you need to start/stop them independently, you will have to disable regeneration and continuously generate new waveform segments on the fly. Continuous Write Digital Port - External Clock - Non Regeneration should be a good starting point for the DAQmx programming, but actually generating the data is likely to be the challenging part.
    Brad
    Brad Keryan
    NI R&D

  • Measure a single pulse width using usb 5133

    hi im trying to measure the width of a single pulseoutpout from NI SCOPE express
    however pulse measurements.vi seems to expect more than a single pulse.
    any ideas?
    ta

    Hi Slugger,
    Can you first try this with the SCOPE Soft Front Panel (SFP) located in Start >> Programs >> National Instruments >> NI-SCOPE >> NI-SCOPE Soft Front Panel.
    This should give you the screen below:
    Please set the items as seen in the red boxes. Make sure your trigger channel is correct Mode is set to SGL and press the measure button.
    This will give you a Scope measurement screen. Please press the Add button. Select the correct Channel and then in the measurement type choose "Period".
    On the main SFP window press the run button. Does the measurement give you the reading you expect?
    I do not have a Scope card to test this yet, so I have been using a simulated device.
    Regards
    JamesC
    NIUK and Ireland
    It only takes a second to rate an answer

  • Triggered single pulse width measurement

    I am trying to measure the width of a single pulse, but would like to use the pulse itself as the trigger for a counter input pulse width read using a PXI-6608.  I would like to do this since the pulse can come at any time (much longer than any practical timeout)  and I would like to avoid having to place a DAQmx read in a while loop waiting for the pulse to appear.  Also, while the pulse is high, I would like to produce front panel feedback (light a boolean indicator).  I seem to be able to achieve that by using a digital input line, but again requires a DAQmx read in a while loop.  I haven't had much experience with triggers and my attempts so far appear to seem like triggers are not compatible with counter input pulse width measurement.  Is it possible to set up a trigger for a pulse width measurement?

    Hello kayotik,
    I think the best thing to do here is to use separate while loops. You can put most of your code in a main while loop, and then put your DAQmx read in a separate while loop. Both loops can run in parallel (just don't wire any outputs of one while loop to the other while loop, because then one will become dependant on the other). In order to pass data between the two loops, you will need to use a local variable. The DAQmx read can write to a local variable, and the main loop can read from that local variable. 
    You will also need to stop both loops with a single stop button. This article shows how (and also demonstrates the use of local variables to pass data between independent while loops):
    http://digital.ni.com/public.nsf/allkb/267704CDE91156D186256F6D00711AAE
    Colden

  • Single pulse width measurement

    Hello,
    I am trying to measure the time of a single pulse using ctr0 on a PXIe-6361.
    The input signal seen in attachment Capture7.jpg, is going to PFI 9, the gate of ctr0.
    The problem is that the counter see' s the rising edge and stops. The pulse width is not given as can be seen in the output (Capture8.jpg).
    I get the same results using Meas_Pulse_Width.vi example.
    Is something wrong with my PXIe-6361?
    Solved!
    Go to Solution.
    Attachments:
    Capture7.JPG ‏107 KB
    Capture8.JPG ‏145 KB
    Striker velocity blk_dia.JPG ‏35 KB

    Hi,
    I did pretty much the same and ran the example as well and they do work. You can try to explicitly specify the PFI line using a DAQmx Channel Property Node with a Counter Input Pulse Time Terminal property to verify if the problem is only with PFI 9 (if you use the property, you can use any PFI line even if is not the default gate for the specified counter), and even try with the other counters.
    The VI is on the 2014 version, so I included a screenshot in case you have a previous one. If you need the VI in a specific version let me know and I'll downconvert it for you.
    Camilo V.
    Applications Engineer
    National Instruments
    www.ni.com/support
    Attachments:
    Counter - Read Pulse Time (On Demand).vi ‏39 KB
    Screenshot.jpg ‏208 KB

  • Ni5640R sync with external clock

    Hi,
    I have a highly stable 10MHz sine source, and I need to phase-lock NI5640R's internal 200MHz generator to it.
    I don't really understand half of the parameters in "Config Timebase". Any advice on how to do this?

    As I understand it, in:
    CDC Clock Source tab:
    * Clock Source = VCXO, since I need not external clock, but internal oscillator locked on external signal
    VCXO tab:
    * VCXO Control = PLL, since VCXO frequency will be controlled by external clock via PLL
    * VCXO Enable = ON, obviously
    Reference tab:
    * RTSI Ext Ref Enable = OFF
    * SMB Ext Ref Enable = ON, since this is the external signal source
    * Clk100 Ref Enable = OFF
    * RTSI(7) Direction = OFF, don't know what it is, but doesn't seem relevant
    PLL tab:
    * Ref Delay = 0ps, I only care about phase stability at the moment, so delay is not relevant
    * VCXO Delay = 0ps, same here
    * Ref Divider = 10, this divides 10MHz external reference to get 1MHz
    * VCXO Divider = 200, this divides 200MHz internal generator to get 1MHz, then both 1MHz freq's are synchronized
    * CP Current = 2.5mA, but I have no idea what this does
    * CP Enable = NO, no idea
    * CP Invert = NO, no idea
    * PFD Pulse Width = 1500ps, (CDC7005 datasheet states, that PFD pulse is something that improves spurious suppression) I have no idea how wide the PFD pulse should be, I guess it depends on external source quality
    * Lock Detect Window = 1.2ns, as I understand it, PLL is considered locked when rising edge of controlled signal of is in this window, so smaller window means less jitter
    Routing tab:
    * PLL Feedback Channel = Y2, this is by default, I don't know if this should be touched. This is also a bit confusing, since the choice is between [Y0, Y1, Y2, Y3, Y4, Y3, Y3, Y3]. I wonder how these Y3's are different?
    * Y0 (ADC0) Division = divide by 2, Y0 Enable = YES, I see no need to modify this
    * Y1 (ADC1) Division = divide by 2, Y1 Enable = YES, same here
    * Y2 (DAC0) Division = divide by 2, Y2 Enable = YES, same here
    * Y3 (DAC1) Division = divide by 2, Y3 Enable = YES, same here
    * Y4 (RTSI Ref) Division = divide by 2, Y4 Enable = YES, same here
    Misc tab:
    * OPA Enable = FALSE, OPA is a enable/disable control for amplifier. I'm not really sure about what it does and if this is even connected in NI5640R, default is off
    * Enable Ext Ref R = FALSE, may be something related to what I need, by default it is off
    * Hold = FALSE, as I understand, when this is enabled, PLL tries to maintain lock when missing reference cycle, probably may be used for clock extraction from serial data stream. for this application it's not necessary
    * NPD = TRUE, according to CDC7005 datasheet, NPD is asynchronous power down, and should be held high
    * NRESET = TRUE, asynchronous reset signal, should be held high
    * Bandgap Enable = TRUE, not sure what bandgap is, and I don't think it's relevant
    External tab:
    * HW NPD = TRUE, should be hardware power down
    * HW NRESET = TRUE, hardware reset

  • Jitter of output digital waveform with external clock

    Hi,
    I need to generate digital waveform with 20 bits pattern * 1000 times. Digital waveform must be sync with 1 MHz external clock.
    It is not big deal.
    But there is additional requirement that digital waveform has jitter < 200 ps. It can be delayed for couple ns but it must be very stable.
    Can anyone point me on that parameter? Or share your expirience?
    Thanks!

    Hi Andrei,
    Tph on figure 3 is defined as tp - 2.2ns as we discussed earlier. The data jitter, along with channel to channel skew, is already taken into account. We don't specifically spec the data jitter since we have made this calculate for you. It is safe to say that the data jitter involved in tph is less than 200 ps however this is not a standard spec we provide.
    As for additional board recommendations, what is your application? The 6562 is designed for LVDS applications. The 655x series is highly recommended for high speed TTL based applications. If you reference the 655x manual you will notice similar or better specifications in regards to setup and hold times, which again already take into account data jitter and skew.
    I am curious as to why you would like the specific values documented. We provide the current specifications so that you do not have to use the individual statistics to calculate numerics such as the setup and hold times. Is there something specific you are trying to do here? You mentioned a simple example earlier, what is your actual application?
    Regards,
    Chris Behnke
    Sr. RF Engineer
    High Frequency Measurements

  • Reading digital port with external clock at maximum speed

    I have a PCI-6509. I am programming a fast loop to read 32 bits values from the digital input using an external clock ( injected into one of the card pin inputs )
    The environment is Windows2000 + Visual C++ .
    basically I am doing
     DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
     DAQmxErrChk (DAQmxCreateDIChan(taskHandle,"Dev1/port0:3","",DAQmx_Val_ChanForAllLines));
     DAQmxErrChk (DAQmxSetSampTimingType(taskHandle,DAQmx_Val_ChangeDetection));
     DAQmxErrChk (DAQmxCfgChangeDetectionTiming (taskHandle,"/Dev1/port5/line4:4", NULL, DAQmx_Val_FiniteSamps  , sampsRequested));
     DAQmxErrChk (DAQmxStartTask(taskHandle));
     getSystemTime...
     DAQmxErrChk (DAQmxReadDigitalU32(taskHandle,-1,-1,DAQmx_Val_GroupByChannel,data,sampsRequested,&sampsRead,NULL));
     getSystemTime...
    I pass a data buffer big enought to hold the number of samples I am requesting ( for example 10000 of uInt32 ).
    It works fine. I get my values but the speed I get is only around 10 KHz.
    I print the system time before and after the call to DAQmxReadDigitalU32 as you can see from the above code. 
    This makes no sense because my external clock in ,"/Dev1/port5/line4:4" (as selected on the ChangeDetectionTiming call) runs at 2.0 MHz.
    Could someone tell me what parameters I have to pass to this sequence of NI DAQ functions calls in order to really read at the speed of my external clock?
    many thanks in advance,
    Roberto AButer.
    Note :
    I am going desperate with the web pages, documentation , online helps and the pletora of products and so on.
    I did pay to NI a considerable amount of money for the card , the labview software etc and I just want to do the simplest 20 lines C program to read my digital signal at the speed is being injected. Should that be that difficult????

    Hello caca,
    the board you are using is specified as a static IO board. That means it was not constructed to do highspeed DIO operations.
    You cannot use a hardware clock to time your input and output
    operations, so you have to use a software timing or, as you chose, the
    change detection interrupt. But the maximum speed you can archieve
    doing this, is somewhat limited of course.
    Check this thread for some more information.
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany

  • External sample clock with pulse width measurement

    Dear all,
    I am using a NI 6220 board (programming with ANSI C) and would like to perform a "single pulse-width measurement" using an external gate signal and an external signal as source.
    Using the  "DAQmxCreateCIPulseWidthChan" command the program and card works only partly as intended. Namely, the external gate did work, but the card uses the internal 80 MHz time base signal instead of the external source connected to the default source pin (PFI 8).
    I tried to route another PFI pin to the default source pin using the "DAQmxConnectTerms" command but this did not help either.
    Obviously, I am missing something...
    Best, Uli
    Solved!
    Go to Solution.

    Hi Uli,
    I posted to your thread here.
    Best Regards,
    John Passiak

  • Processor 2.6 Bus 800 shows at XP with 200 External Clock

    Hi ,
    I have a Pentium4 2.6MHZBus 800, 256MB DDR Bus 400, MotherBoard MSI 865PE Neo2,HD MAXTOR 80G ,VGA GeoForce 4 8X G.Ward 128MB DDR
    I upgrade the bios version to the latest 1.9 the i run "LOAD HIGHST PREFORMANCE
    But : at the windows XP with SP1 i found the software with read the system configuration ..reading my processor with External clock "200"
    Does it show the right ?
    OR should it be shown As "800"
    By the way the OverClocking on the setup is disabled
    Can i use overclocking here? to what range?
    Advice please
    Thanks in Advace

    Hi Wonkanoby,
        Im little bit confuse , how can I get the optimum performace of FSB 800 of my processor ? Below is my CPU-Z report and my Computer Specs
    Intel P4 2.6Ghz HT  @ 2.9Ghz
    MSI 865PE Neo2
    Geforce FX5200 128MB DDR
    80Gig Seagate 7200RPM and 40 Gig Seagate 5400RPM see-through (modified)
    GENERIC 256MB DDR400 memory
    Pixel View TV tuner
    D-Link Internal Modem
    Cooler Master AERO CPU Cooler running at 3900RPM
    5 X Cooler Master Fan Casing
    HEC Power Supply 350Watts
           3.3V = 28Amps / 5.0V = 33Amps / 12.0V = 15Amps
    MSI CD-RW 52x32x52
    ASUS 16X DVD
    Win2000 SP3
    CPU-Z Report
    CPU-Z version 1.20a.
    CPU(s)  
    Number of CPUs 2 (1 Physical)
    CPU#1 APIC ID = 0
    CPU Name Intel Pentium 4
    Code Name Northwood
    Specification Intel(R) Pentium(R) 4 CPU 2.60GHz
    Family / Model / Stepping F 2 9
    Extended Family / Model 0 0
    Brand ID 9
    Technology 0.13 µ
    Supported Instructions Sets MMX, SSE, SSE2
    CPU Clock Speed 2925.0 MHz
    Clock multiplier x 13.0
    Front Side Bus Frequency 225.0 MHz
    Bus Speed 900.0 MHz
    L1 Data Cache 8 KBytes, 4-way set associative, 64 Bytes line size
    L1 Trace Cache 12 Kµops, 8-way set associative
    L2 Cache 512 KBytes, 8-way set associative, 64 Bytes line size
    L2 Speed 2925.0 MHz (Full)
    L2 Location On Chip
    L2 Data Prefetch Logic yes
    L2 Bus Width 256 bits
    CPU#2 APIC ID = 1
    CPU Name Intel Pentium 4 (logical unit)
    Mainboard and chipset  
    Motherboard manufacturer MICRO-STAR INC.
    Motherboard model MS-6728, 100
    BIOS vendor American Megatrends Inc.
    BIOS revision V1.7
    BIOS release date 10/06/2003
    Chipset Intel i865P/PE/G/i848P rev. A2
    Southbridge Intel 82801EB (ICH5) rev. 2
    Sensor chip Winbond W83627HF
    FSB Select 533 MHz
    Performance Mode enabled
    AGP Status enabled, rev. 3.0
    AGP Data Transfert Rate 8x
    AGP Side Band Addressing supported, enabled
    AGP Aperture Size 128 MBytes
    Memory  
    DRAM Type DDR-SDRAM
    DRAM Size 256 MBytes
    DRAM Frequency 225.0 MHz
    FSB:DRAM 1:1
    CAS# Latency 2.5 clocks
    RAS# to CAS# 3 clocks
    RAS# Precharge 3 clocks
    Cycle Time (TRAS) 6 clocks
    # of memory modules 1
    Module 0 DDR-SDRAM PC3200 - 256 MBytes
    Software  
    Windows version Microsoft Windows 2000 Workstation Service Pack 3 (Build 2195)

  • External clocking proble with NI-DAQ 6534 after driver upgrade

    Hello newsgroup,
    I've got a Problem with a pattern generation using the NI-DAQ 6534.
    I'm using it in 32 Bit Output mode with external clocking.
    After changing the PC and the OS from a P II 333 Mhz running Win98
    to a P 4 1,8 GHz running WinXP Pro the use of new drivers was nessasary,
    because the old driver doesen't work at all. The following problem occurs
    by using actual driver: Using my old programm external clocking doesen't
    work anymore, but internal clocking works fine. I'm using C++ not Labview.
    I'm not shure if this is the right newsgroup for my problem. If not please
    give me a hint were it belongs to.
    Regards
    Michael

    Michael:
    What version of NI DAQ did you have? What version did you upgrade to? Is your 6534 a PCI board or is it an AT/ISA based device? Have you changed your code at all? You code should be fully compatible with a new version of NI-DAQ... Please provide more exact details of the problem so I can help futher. Are you getting errors or is it just not working?
    Sincerely,
    Brooks B
    Applications Engineer
    National Instruments

  • NI 5772, using clk_in as an external clock

    Hi. 
    I'm using NI 5772R with NI PXIe-7966R NI FlexRIO FPGA Module.
    I'm trying to sample the signal with external clock (CLK_IN). An example file 'Clock Select (FPGA).vi' is successfully compiled. However when running 'Clock Select (host).vi', the data doesn't seem to be sampled with CLK_IN signal even if I choose the clock source as 'External Clock'. Actually externally clocked data is the same as internally clocked data.
    So I wonder if this is because the signal plugged into 'CLK_IN' has wrong range. The frequency range of my CLK_IN signal is 80~160MHz, while the specification of NI5772 says the CLK_IN input range is 400-800MHz. Would it be a problem? 
    Also, My clock signal is sinusoidal, rather than TTL. Does the CLK_IN need to be TTL?
    Thanks for your help.

    Yes the output impedance of the amplifer is designed 50 ohms, so that is not an issue ...
    We have hooked it up to a function generator, and gotten it to work at 500 MHz even at the lower voltages.
    After unplugging the function generator, then plugging in our external clock, it will run, by the signal is corrupted at several points.
    The long period duty cycle of the clock is only about 60% (i.e. there is a log period where no clock signal is sent)
    I think the issue may also have to do with the clock phase, which is not unform.   The NI 5772 uses a Texas Instruments ADC . Reading the manual for tha part, it seems like the clock requirements are pretty tight, as it is expecting a very low jitter clock signal
    Another group we work with has a digitizer made by another company that apparently solves this issue by routing the clock though a VCO, which somehow stablizes the clock.   However, after some consultation we are not convinced that is the real solution either, because the clock is supposed to be somewhat unstable in the first place, which is the issue we are trying to correct for (we are trying to avoid having to resample the data in software)

Maybe you are looking for

  • The VersionEntity table does not exist in the LiveCycle database. Please bootstrap LiveCycle db

    I am using Livecycle 8.2 running on JBOSS. I get this error in server log 2013-07-25 13:48:33,809 ERROR [com.adobe.idp.config.AdobePreferenceFactory] UserM:GENERIC_ERROR: [Thread Hashcode: 5001776] Problem with system root| [com.adobe.idp.storeprovid

  • Doubt in internal table record count

    Hi, i have an internal table with 5 fields. Last field is flag. In my internal table lot many records are there. i want to count only the records with flag 'E'. How to count the total records with 'E'. Mohana

  • Dates Determination in Rebate

    Hi ERP gurus, I'm getting troubles with rebate management. Here below an example I created a rebate agreement starting from first of january and ending at the end of September. Let's assume that today 5th of october  i create a credit memo request th

  • Lc amount appearing zero in po history of assets  why

    Dear gurus, when i saw po history for assets the lc amount field is zero always why?

  • Photoshop Elements 10 - trial version - uninstall

    I have downloaded a trial version of Photoshop Elements 10 in order to see if there are things I could not do with my CS3. After see the program I saw I was not interested on it so I try to uninstall but I have not found any uninstall file. I have go