Possible bug-> CompactDAQ synchronization between HAVE and counter - sync error depends on the sampling frequency (exactly).

I have a system with a map of the 9234 compactDAQ 4 Groove and a 9401 in slot 5.

I use a function generator to create a 5V square wave frequency sweep.

The frequency of scans from 1 Hz to 10 Hz in 3 seconds.

I have this tee in my door to counter 0 (PFI1 - 16 Pin) and an analog input channel 0.

In LabView, I do a period measure counter that has a trigger defined on the trigger to start ArmStart HAVE.

Piecemeal the signal into two channels, I see the time counter correspond to zero-level positive slope crossings in the data to HAVE it.

By the presence of a square with a mutation frequency wave, I know for sure that the time is not out of a period.

I noticed the downturn to take samples, the greatest moment of the synchronization error.

Here is the data that I have saved:

sampling rate 1 / (sync error times)

51200 1250

25600 625

10240 256

2048 51.8

1651 37

It worked of Y = 0,0244 X + 1.1262 with R ^ 2 = 1.0

So it could be, I have a programming error, or that there is a bug in the hardware or the base software.

Thanks for any help to understand this question.

BTW, I use this system to make an analysis program in the stopped vehicle with direct sequence over time - of course analysis based on the revolutions.  I found that order analytical tools was not flexible enough for what I had done, so I started from the ground upward.

Hi Greg,.

Looks like you see the entry delay the NI 9234 (Group delay).   As specified in the instructions for use NI 9234, entry delay is equal to 38.4 / fs + 3.2us.  This is because of how the sigma delta ADC works - after the start, it must acquire a certain number of samples before returning the first valid sample.  This delay is expected.

Here is a knowledge base on the subject.  There are a lot more, just do a search of the knowledge base for "group delay.

Tags: NI Hardware

Similar Questions

  • Whenever I try to update my iPhone 6 for the ios10 it is said it is impossible and that an error occurred during the installation? I ' have enough free space, so I'm not real why he keeps now.

    Whenever I try to update my iPhone 6 for the ios10 it is said it is impossible and that an error occurred during the installation? I ' have enough free space, so I'm not real why he keeps now.

    Try to update via iTunes.

    See you soon,.

    GB

  • square pulse time rather than the sampling frequency and size dependent frequency

    Anyone know if it is possible to create a pulse square with its dependent on the frequency at the time rather than the sampling frequency and size?

    for example if I set the frequency to 10. That means 10 pulses per second.

    rather than having to set the sampling rate and use the equation

    frequency = [(# of cycles) * (sampling frequency)] / sample size

    Thanks in advance. a photo of the block diagram would be grateful if possible

    NVM, that I solved it

  • My XP PC clock does not have to be updated; error report is: "the RPC server is unavailable."

    Hi there u clvr g33ks. Wu can help me slve ths prblm? My XP PC clock does not have to be updated; error report is: "the RPC server is unavailable"? I have tried pretty much everything hv what is allocated to me.

    Hello

    You can view these steps

    a. Click Start, type CMD. EXE and press ENTER.
    b. run the following commands one by one. (Press ENTER after typing each command.)

    NET STOP W32TIME

    W32tm /Register

    NET START W32TIME

  • I tried to run Check Disk and get an error message on the completion of the phase 2

    I tried to run Check Disk and get an error message on the completion of the phase 2. If I try to run a defrag without having completed verification of the disc it comes up with error message Disk Defragmenter has detected Chkdsk is scheduled to run on the Volume: c. Please run f / dskchk. I tried to run it and nothing seems to happen. I checked that I have no other programs running and she thinks that this is the case.

    * original title - I check disk / defrag problems *.

    Kevin.

    How old is the hard drive? It is still under warranty? The easiest way forward is to replace the drive.

  • How to enable and disable a button depending on the value of a field

    Hello experts,

    I enable and disable a button depending on the value of a field.

    I did the following:

    in a trigger of on_new_form_instrance I put the following
    begin
         
    go_block('OE_HEADER');
    execute_query;
    IF :oe_header.status = 'BOOKED' THEN        
          SET_ITEM_PROPERTY('CONTROL.ACTION',ENABLED,PROPERTY_FALSE);
    else
         SET_ITEM_PROPERTY('CONTROL.ACTION',ENABLED,PROPERTY_TRUE);
    end if;
    
    
    end;
    the problem is that it works but does not change when my header_status value is changed.

    You have to put the same code in when-validate-item trigger of: oe_header.status...

    and I think that this code should be trigger after query

    IF: oe_header.status = 'RESERVED' THEN
    SET_ITEM_PROPERTY('CONTROL.) ACTION', ENABLED, PROPERTY_FALSE);
    on the other
    SET_ITEM_PROPERTY('CONTROL.) ACTION', ENABLED, PROPERTY_TRUE);
    end if;

  • Questions about the synchronization between output and analog input

    Hi all

    I now have a simple task which head a signal voltage (from PXI ao0) on a circuit and then your comments a voltage at the terminals of a component, for example, that one of the resistors in the circuit, through ai0 on PXI. So in this case, the synchronization between analog input and analog output must be made to avoid error of phase shift.

    I tried to build my VI by learning this example: https://decibel.ni.com/content/docs/DOC-3882

    However I have a few questions.

    1. I noticed that there is a merged error fed the "start task" sub VI for the analog output.  What is the point of fusion to mistake?

    2. I enclose my VI (also shown below) for the output voltage. I put my writing of DAQmx Subvi in the while loop so that I can change the voltage while the VI is running.

    However, in the example, the author has been reading outside of the loop and before even the start task. What difference will it make?

    3. I have also attached my synchronized VI. I always put the wavegeneration and the DAQmxwrite in the loop. A bulging guard error saying about samples is not available and needs to a higher sampling rate or a longer wait time. What causes this?

    I appreciate that these problems can be solved. Thanks to you all.

    (1) first you need start the task of acquiring, he'll wait for trigger here. And then you start the build task that provides this trigger. If acquisition could trigger and never start.

    (3) you must first write something in the buffer (writing DAQmx), then only you can generate it (Daqmx Start).

    Check Cont Gen tension Wfm - Int Clk - no Regeneration.vi in the help-> examples for example.

  • Data impossible classic BlackBerry PIM synchronization between Outlook and classic

    I have problems to synchronize contacts and calendars between Outlook and my phone. I tried to uninstall and reinstall BB link but it doesn't give any help.

    As you use Microsoft Outlook 2016, I believe that Blackberry link has a compatibility issue with this version on the synchronization of contacts and calendars.

    System requirements: BlackBerry link for Windows

  • I can't synchronize between Android and the Office

    I configured the synchronization of my office. I have an Android device. As near as I can understand, I must now go for the Droid and perform the routine of Sync. This will give me a code I have then (I think) put on the desk. The problem is that aid tells me to run the Sync routine since the start page of the Droid. Well, there was one when I started, now it disappeared. I can't understand how to recover this Sync routine on the droid. The help file says it must be on the start page. But when I launch Droid of Firefox, it gives me a search bar, the 'Top Sites' I visited and - downstairs - Add-ons completely useless for your section of Firefox. How can I get the Sync routine appears on the Droid so I can actually run?

    I'll post my response. Basically, the option to set up sync on my Android never reappeared and I could never find. So I uninstalled Firefox since the Droid, re-installed and the option is back. I ran the routine, got the code, put it in my office and voila!, they have been synchronized. It seemed pretty much my only option.

  • Role of synchronization between OIA and IOM

    I am new to OIA and try to integrate OIA and IOM. My requirement is "role of OIA to the IOM of provision. My two IOM and OIA is at version 11.1.1.5.

    I am following the steps mentioned in http://docs.oracle.com/cd/E24179_01/ doc.1111 /e23377/integratingwithoimpreferred.htm #BABEFAAI. Step 3 (section 1.4.3) is very confused. It is said:-

    Connect to the Oracle Identity Manager Design Console.
    Open the form designer.
    For each resource, the following properties must be added to certain foods identified for import of accounts, policies and clearances:
    AccountName - identifies the single account in the target system
    ITResource - identifies the field of unique resource for the target system
    Payment - identifies the account reserved for the privileges attribute
    OIAParentAttribute - this property identifies the parent or the attributes of compulsory payment.

    Now what form it comes? I have only OID associated with forms like UD_OID_USR, UD_OID_RL, UD_OID_ROLE etc. It's because I have the autodeploiement to resource OID. In this integration, I should treat only IOM (xellerate) - user and IOM-role not to the resource of the DIO, right?
    I do not see the corresponding USR xellerate form available in the list of "Forms Designer".

    Help, please...
    Thank you!
    Kabi

    That's right, if you're not dealing with all resources like user OID just skip this section, in any case not required.

    I do not see the corresponding USR xellerate form available in the list of "Forms Designer".

    Do not map the details of identity using a form so there is no form. When you say that you have completed the document I believe you already have section * 1.4.2 step 2: modify the Oracle identity analytics Configuration files *. Thanks to the integration, synchronization would automatically create identities to OIA of IOM with some default attributes. In the same section of the instruction 3 * 3. (Optional) * talks about adding some custom attributes for IOM UDF etc.

    So if you come to skip step 3 with all the things in place and try to run the synchronization via step 6 you should be able to synchronize identity information and the role (links below)

    * 1.4.6.6 import roles *.
    * 1.4.6.7 import users * +, accounts, group memberships of user roles and rights.

  • Synchronization between desktop and mobile Outlook

    I would like a place to work from and synchronize with my laptops and desktop.   It was a challenge that I travel a lot.  There are 2 of us who would use a calendar and tasks, maybe 3.   We want to use Outlook and share contacts and calendar as well.  We do not use Microsoft Windows Live Hotmail or Microsoft Office Live Mail accounts.  Please let know us if your service is suitable for it and what the costs are.  We are looking for the most cost-effective method and checking in MS Exchange server, the costs were astronomical.
    Thank you for the support.
     

    Outlook:

     

    http://www.Microsoft.com/Office/Community/en-us/flyoutoverview.mspx

    Office newsgroups

    http://www.Microsoft.com/Office/Community/en-us/default.mspx?DG=Microsoft.public.Outlook.General&lang=en&CR=us

    Discussions of general issues of Outlook.

    They will help you with your Outlook questions when repost you in the Office discussion groups above.

    See you soon.

    Mick Murphy - Microsoft partner

  • Amnesty International and counter sync + USB signal stream (USB-6210 vs USB-6341)

    Hi all

    I'm at a stage of identification of a material suitable for the following tasks:

    • 5 analog inputs (AIs) of reading at the same time, tensions at a rate of kSps (at least) 10,
    • application captures 2 inputs using timers (detection of contours with timestamps), square wave entry with duty ratio of 50 percent and about 1.5 kHz frequency and variable pulse width / frequency (from 2 sensors hall, representative of the DC motor rotation speed and direction, quadrature signals), resolution of timestamps should be (at least) 50 ns,
    • AIs and counters should behave in a deterministic way, and must be synchronized in a way,
    • data to be transferred via the USB port of a host computer with Matlab Data Acquisition Toolbox (unfortunately not LabVIEW).

    I've identified the long USB-6210 USB-6341 and potential candidates of material to accomplish the above tasks, but after reviewing several documentation and the topics of the forum, I'm still a bit confused, if both are fully working and my approach described below is not working properly.

    Counters: I intend to use the internal time base available 20 MHz as being the source of meter to get into account the resolution of timestamp 50 ns. External impulses hall are used as sample clock (about 1.5 kHz, see above). As the pulse width varies, the sample clock is not constant.

    AIs: Using a 10 kHz internal clock signal derived from the time base of 20 MHz for timing and analog inputs (trigger) start-up and counters simultaneously material should translate into the required synchronization and deterministic behavior.

    It work? Other recommendations?

    Next is the USB data transfer: all HAVE 5 and 2 data entry of the meter must be correctly transferred to the host computer (the corresponding rates are shown above). USB-6210 is capable of 4 USB signal flow, device USB X range (6341) offers 8 of them. Unfortunately, I could not understand the exact meaning of the expression "signal flow" still. Do I need 1 flow of input signals (would be 7 for my application described) or 1 stream for all analog inputs and 1 for counter inputs (lead 2 streams for my request). Is there no further details on this approach (more than Streaming of signals of NOR) USB signal flow?

    Any challenge to the described application that I might have forgotten? 6210 USB seems to a very limited number of entry PFI, maybe even too low for my meter participate application?

    Looking forward to your comments and advice.

    Concerning

    jAwA

    1. I recommend the X-6341 series on the M-series 6210 sake of counters/timers.  It is more of them, and each of them is more capable.   It can also have a great FIFO embarked for meters that may be important in certain tasks, although I don't think that you currently deal with one of them.

    2. your general concepts on timing & sync are satisfactory.  You will be able to share and to route signals that help ensure synchronization and determinism between the timestamps for your various tasks.  Note that for meter entry tasks, you need set up the trigger 'Arm Start' rather than the regular start trigger.

    3 is not authoritarian, but I believe that the flow of signal # will correspond to the tasks #.  For you, it would be 1 task of HAVE and tasks CI 1 or 2.  (Not clear if you have 1 Encoder with 2-channel quad that would require 1 task of CI, or if you have 2 encoders with 4-way quad).

    4. pay attention to the hall effect signals that are not virgins.  Digital filtering is available and probably better on the X-series, the series M.

    5. strictly speaking, edge detection is a type of digital input task that produces samples but no timestamps.  Ideally, I would like to parallel wires on the two digital inputs for the entries of detection and counter change to position quadrature decoding.   Then I would sample the counters Encoder 1 or 2 using the internal pulse 'event of detection of change '.  I would create another counter timestamp change detects pulses as well.

    -Kevin P

  • Switching between Br and Lr; Why not Lr 'Refresh' the files imported?

    Maybe I'm looking for something that is not possible; After a few days of research on the internet and asking to Lr - pro I still not answering my question, so now I'm a fall here... hope someone can help me :

    As a bridge-addict, I'm learning to work in Lightroom, as I discovered that Lr is very useful to treat a large number of photo's in no time.

    But once an addict, always an addict, then I start my Bridge workflow > full screen I inspect all the photo and classify those I want to develop with a star.

    Then, I go to Lr and import the card with photo, including non-classified.

    Once the work is finished, I went back to the bridge and selected again (the new selection had a different purpose, so I filed with a different number of stars).

    Back to Lr, I wanted to "Refresh" the imported card, so I could filter on the new classified photo.

    And here's my problem: this is not possible.

    I'm bored of mode 'Refresh '.

    Synchronization performed my first selection cancelled.

    Am I in train/wanting something that Adobe has not yet invented?

    There is no automatic refresh of the kind you're talking about in Lightroom.

    You can cause manually the update happen by using the menu command Lightroom metadata-> read metadata files

    Tips: the idea of doing some things/metadata in Bridge and some things/organization of metadata in Lightroom is a bad idea, because of the issue that you saw... programs don't talk to each other, except by a manual step in Lightroom, and if you forget to do this, all of a sudden you have two different sets of metadata for the concerned photos. If you use Lightroom, then use Lightroom for ALL (Yes, JUST like 100%) management tasks and photo metadata.

  • Is it possible to create a custom panel and docking station / integrate it into the application?

    Hi all

    I would like to create a custom panel and docking station / embed it in first Pro CC.

    What's possible?

    Basically, the plugin will talk to some web services, recover some data and display them in this special group.

    Any idea?

    Yes, it is quite possible. lwg3000, please write to me directly, and I will give you all the relevant information.

  • Reading and samples the sampling frequency using a fast external clock

    Hello

    I use an NI USB-6212 box to launch a search engine for combustion. I have a pressure sensor in the head and a wheel on the crankshaft. I use the beats A Quad channel of the rotary encoder as a sample external to the pressure with the sample clock. The idea is that I want almost the same number of points in each trace of pressure so that it is easy to average together. I seem to be able to do this at low speed, but I'm having issues at high speed.

    Can someone tell me what I should have my sampling rate and samples to read together and how it effects my sampling when using an external clock? Samples per channel will affect the size of buffer and that matters? When I was high (10-100 kHz and about 1/10 * rate for samples to read) it barely read but as I put the lowest and lowest he read faster. Play with the settings a bit seem to affect how well it samples at different speeds. The engine is running at 3600 rpm and my encoder puts out 2500 pulses per turn on one channel, I'm looking at a frequency of 150 kHz effective sampling. However I didn't sample program with the engine operating at full throttle. I hung on the output of the encoder up to a scope and reads very well.

    Are there opportunities the filter counter that I see in the manual of 621 x is enabled inadvertently?

    Thank you

    Xander

    Xander18,

    I suggest you move your screws initialization outside the while loop, as well as your narrow DAQmx VI.  On my side, it looks like a new task is performed for each loop, which takes time.  That a try and let me know how it goes.

Maybe you are looking for

  • The fires of speaker on Satellite P100-429

    Is it possible to turn off the blue lights under the harman kardon speakers on this laptop? It seems silly that a multimedia notebook designed to play DVDs has these lights distract when you want to watch a DVD in the night, and the battery life is (

  • Can not find the driver for Satellite A300D - Windows XP SATA

    cannot find driver for toshiba satellite a300d windows xp raid scsi controller Please help me

  • HP envy 13-d003na: brand new gel randomly laptop

    I got my new laptop for only 10 days so far and it froze on me at least once every day since I got it. When it freezes, absolutely nothing works, I have to perform a hard shutdown by pressing the power button. All drivers are confirmed to date. I mad

  • Octagon

    Hey,. I always use Ultiboard 11.0, does anyone know how to change the clearance of the Octagon to round? Thank you! Qi

  • How to detect the relay ON / OFF state with PCI 6221 analog input card

    In order to test if a relay is ON / OFF using my card PCI 6221 DAQ devices and ports of HAVE it.  I conect of the relay contacts to an AO giving 5 v and the other contact to an AI in order to detect the corrent.  In addition to a bridge is necessary