Considerations of sample calendar high rates (~1MS/s)

Hi all

My experience with Labview is quite limited, and so far I have mostly editing and debugging code which was bequeathed to me. I use USB DAQ to taste to 10 samples/second card and were not too concerned with the precise timing. I am interested in a new application of hardware and software of NOR and identified the USB-6343 map like the one to use (900 ksps / s 500kS/s and input, output). The plan is to generate an accurate output signal (amplitude and timing accuracy) which is a bit facings on the input signal. I don't plan to write the log data to a file at that rate, just to capture, process and output.

It is relatively simple to be sampled and transmission of analog signals at these high frequencies of sampling? Currently I use just loops timed precisely to the millisecond, but that would require a precision microsecond timing. Is this something that is pretty standard to achieve or are these frequencies of sampling carried out a totally different way? Can anyone provide links to point me in the right dirrection?

I'm sorry if this question has already been asked, but I hope that it is generic enough to not be a burden. It is a project that I take in my spare time, so I am just in the things of plan which includes determine how difficult side things software is going to be.

Thank you.

-A

The acquisition DAQ clocks will give you the best time you can get. If recover you the data in the form of wave, t0 represents the start time and dt, the time interval between samples. If you've read continuously, all samples of data are synchronized compared to t0. The accuracy of dt is equal to the precision of the oscillator of time base on the DAQ hardware, usually +/-100 ppm.

I don't remember the clock on the USB-6343 frequency, but many devices use 80 MHz. You won't get exactly 900 kHz to 80 MHz source, because this isn't a full report. 80 MHz / 900 kHz = 88.888...

The use of millisecond clock is called avoiding the and is fast enough, nor free from jitter to do something like what you have in mind.

Lynn

Tags: NI Software

Similar Questions

  • That means "a high rate of 13 split I/O per second?

    I have generated a system health report and he gave me this warning: "the high rate of 13 split I/O per second has been detected. This represents 54% of the total I/O process. Look at the size of the I/O process compared to the size of the disc format and defragment or reformat the disks with a high I/O split. »

    He also gave me: "investigate why 22% (5 416) events were lost during data collection. Settings for maximum buffers for Windows event trace (ETW, Event Tracing for Windows) and the size of the buffer is perhaps not optimal depending on which data sets are collected. »

    And yet the drive check to see all the "success." Certainly, gravity is only a 'warning', but what is the average thing split IO? This means reformat my hard drive of the system? I've defragmented yesterday evening and have a lot of space on the disk.

    This means my CPU or motherboard goes wrong? Lately, when loading of ABIT EQ, the alert sounds the HyperTransport, until I have click on default (to reset the range, which has the characters corrupt in there - but not for the current actual rate of HyperTransport). I apply, and the beep goes away; but I find myself having to keep doing. Possibly associated with (and the only other thing I'm really proven recently, as I had posted in another section of the forum), is every time I watch a video online (YouTube, etc.) or a DVD, if I leave the mouse alone for a minute or more, the screen becomes the password | Quick screen and I have to re-enter the password (unless I catch it and move the mouse before the end). In the Saver screen and re - apply '(none)' fixed this - but I have to do after never watched video.

    Any ideas on what could be going on here?

    Hi EyeAmSMF,

    Split IO/sec indicates the rate at which the disk I/o requests were divided into several applications. A split i/o may result from demand for data in a format that is too large to fit into a single i/o or that the disk is fragmented on single disk systems.

    Access the link below to find more information about the error of e/s/s Split.

    http://msdn.Microsoft.com/en-us/library/ms804035.aspx

    However, it seems that the problem is not persists after reinstalling Windows Vista.

    Regarding the installation of Service pack 2 for Windows Vista, I suggest to download the standalone version of Service pack 2 from the link below and try to install it and check if it works very well.

    http://www.Microsoft.com/downloads/details.aspx?FamilyId=a4dd31d5-F907-4406-9012-a5c3199ea2b3&displaylang=en

    You can also navigate to the link below and follow the steps on how to install Service pack 2 on your computer.

    http://Windows.Microsoft.com/en-us/Windows-Vista/learn-how-to-install-Windows-Vista-Service-Pack-2-SP2

    I hope this helps. Let us know the results.

    Thank you and best regards,

     

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I still have to pay the 29.99 as I am an instructor and cannot afford the higher rate.  I see the rate for students and instructor is 19.99 per month, which is easier to handle.

    I still have to pay the 29.99 as I am an instructor and cannot afford the higher rate.  I see the rate for students and instructor is 19.99 per month, which is easier to handle.

    Adobe in education... Start here https://creative.adobe.com/join/edu

    Educational https://creative.adobe.com/plans?plan=edu

    When you purchase a subscription to education, the terms you "click to accept" should be clear about the first/last years

    -Intro price http://forums.adobe.com/thread/1448933?tstart=0 one can help

    http://www.Adobe.com/products/creativecloud/students.edu.html

    http://www.Adobe.com/education/students/student-eligibility-Guide.edu.html

    Redemption Code https://creative.adobe.com/educard

    Proof of ID http://www.adobe.com/store/au_edu/academic_id.html

  • Sample of high acquisition rate of data using data acquisition and continuous data backup. Also I would chunck data into a new file in each 32 M

    Hello:

    I'm very new to LabView, so I need help to find an idea that can help me to record data continuously in real time. I don't want the file is too big, so I would like a new file in Crete in each 32 mega bytes and clear the previous buffer. Now I have this code can save data of voltage in the TDMS files and the sampling frequency is 2 m Hz, so the amount of data very fast increase and my computer have more ram 2 G, then the computer hangs after 10 seconds, I'm starting to collect data. I need some advice you briliant people.

    Thank you very much I appreciate really.

    I'm a big supporter of the architecture of producer/consumer .  But this is the place that I recommend.  The DAQmx Configure Logging does all that for you!

    Note: You will want to use a table instead of a graph here.

  • The higher rate than the PCL one sampling

    Good evening to you all. I am trying to sample a signal at 100 kHz using a FPGA personality in NI Veristand. I would use this samples as input for a simulink model clocked at 500 Hz. I was wondering if there is the possibility to do so.

    Thanks in advance,

    Best regards

    FPGA data are read to VeriStand point by point. Therefore, your model will receive the latest FPGA data, but not all points.

  • Another Question error too high rate data

    Hi all

    I saw a few posts about pgc errors, but most of them deals with slide shows and video not; and I can't find anything with the REF = KApgc error.

    I'm just all my movies on a DVD created, not rocket science.  I use the 'submenu Film' preset with only top 5 movies, things like Easter, birthday, etc.  My transition for each button is a slate (for lack of a better word) which says exactly what it is and when it happened, before each movie plays.

    After I had set everything up, I realized that I didn't have an opportunity to "play all" which would include these slates.  A simple solution, make a 'play together' button that links to a timeline that has everything in it - slate, then the movie, then slate, the next movie and so on.  (When I say movie - they are all .mov files rendered from After Effects, even the slates)

    My transcoding settings are NTSC DV high quality 7 MB VBR 2 pass and the "highest quality" is checked.

    When I run the "check disk" all right.  Listen to samples of the disc, all right.

    Build disk: transcoding hours then the error: data too high to * timecode * REF = KApgc.

    When this film is in itself with a click of a button, it is fine.  It is only in the scenario 'play together' that it produces the error.

    If the flow rate is not too high in one place, why is it too high in another?  It's the same thing, just a longer timetable.

    Help, please!

    Thank you.

    Only a calendar.  But it's just a few clicks away...

    -Jeff

  • Nor-6120 - sample real resolution rate

    Hello.

    I use the card OR-6120 and labview 8.2.

    And I have not found information on the resolution of sampling rate.

    So I wonder if anyone knows what is the resolution?

    And I can get the real value of the sampling frequency of the card once I programmed the sampling frequency that I want.

    Thank you!

    Sincerely,

    Roman

    Hi Roman,.

    Referring to the technical details of the frequency of sampling for a PCI/PXI-6120 is 800 kech. / s with NOR-DAQmx divers.

    If you want to get the actual sampling frequency with LabView and DAQmx drivers use a Calendar property node and select sample clock > rate.

    Kind regards

    Ludovic R.

    Links:

    Data sheet OR-6120

  • Model PWM measurement for continuous samples on higher frequencies (100 kHz) with SemiPeriod(HighTime / LowTime)

    Hi people,

    I have a challenge I'd like to discuss with you and hope to have some ideas and maybe a solution.

    I have a systems acquisition (DAQ) Multifunction National Instruments NOR-PCIe-6353 means X-Series!

    I would like to generate and measure signals pulse width modulation .

    DRIVER:

    OUTPUT:

    FREQ: 0, 1 Hz - 1 MHz

    Duty: 1-99%

    Change the setting on the fly

    (This works very well and is implemented)

    ENTRY:

    FREQ: 0.1 Hz - 40 kHz

    Duty: 1-99%

    Method of measurement: period of semi / ContinuousSamples / AsyncCallback

    Here, I have problems I am running only on an Intel Core 2 Duo CPU E8500 @ 3, 16GHz.

    And I want to run 2 PWM_IN and PWM_OUT 2

    Low frequency work fine!

    0.1 Hz - 20 kHz

    It is a loopback with

    myCounterReader_1.BeginMemoryOptimizedReadMultiSampleDouble (2, myCallback_1, myPWM_IN_1, myPWM_IN_1_Data);

    Data = myCounterReader_1.EndMemoryOptimizedReadMultiSampleDouble (ar, on myPWM_IN_1_Data_actualNumberOfSamplesRead);

    A higher frequency do not work very well!

    20-40 kHz

    I get exception Code of State-200279:

    Attempted to read samples that are no longer available. The requested sample was already available, but has since been replaced.

    Increase in the size of buffer, most frequently the reading of data or by specifying a fixed number of samples to read instead of reading all available samples would correct the problem.

    Property: Value of NationalInstruments.DAQmx.DaqStream.ReadRelativeToRequested:

    NationalInstruments.DAQmx.ReadRelativeTo.CurrentReadPosition

    Property: NationalInstruments.DAQmx.DaqStream.ReadOffsetRequested value: 0

    Task name: NI1_PWM_IN_ctr0

    State code:-200279

    40 kHz, period is 25us = 12, 5 HighTime and 12, 5 LowTime 50% DutyCycle

    This means that each 25us I get a reading of 2 samples the HighTime and the LowTime

    I charge my task of Max, so here's the Setup (sorry its german):

    1 can someboby you explain to me what the MemoryOptimized?

    2 Zu lesende values means that the size of the buffer 10 is not much but increases the size of the buffer to say 10,000 needing help on

       a longer time! 

    3. playback of data more frequently is not possible because the data are under tension, because it is

    4 specify a fixed number of samples I der number is HighTime 2 and LowTime

    5. I have does not start and stop the task! Is it better to start and stop the task each time while I still may have a new buffer?

    I hope someone has an idea for!

    By

    Steven

    Reading with 50 software we period - bad idea, you will jump impulses. Try to use DAQmx Read Overwrite property, set it to "crush the unread samples" - it will overwrite the impulses without error.

  • 9239 number of samples compared to rates

    Hi all

    I'm running a VI for the 9239.

    In it, I updated the sample clcok 2048.

    I then put the number of samples to 20480, IE rotate for 10 seconds.

    However, instead of the final point to be measured to 10s it measure to the 9.82992

    If it is set to 2048 samples the final time is 0.98256

    I realize that say, if I had a rate of 5 samples per second and one took five samples, I'd get the next 0,.2,.4,.6.8

    But if I had to wear it to 10 samples, I'd get

    0,.2,.4,.6,.8, 1, 1.2, 1.3, 1.4, 1.6, 1.8

    The important point here is that the offset remains the same

    In addition 1-1/2048 =.99951171875 pas.98256.

    Anyone know what is happening here?

    Sean

    Add to that,

    You made a very good point about the first sample being taken at t = 0.  Accounting for this, we get:

    20480 samples

    (20480 / 2083.33333) * (1-1/20480) = 9.82992

    2048 samples

    (2048 / 2083.33333) * (1-1/2048) = 0.98256

    What exactly gives the number you reported.

    Best regards

  • Writing of signals with different sampling to file rate

    Hi all.

    I have a somewhat periodic signal, each cycle having his inerference S.A max, min, mean, RMS ect.

    I like to write * ALL * these data to a single file, with a scale of absolute time, where the cycle data will be stamped with the maximum of the cycle time.

    cycle data columns must be empty at the time as the time of the signal peak value.

    Who's asking 2 questions:

    1. can I build a 'waveform' with a not constant sampling rate where I just stamp each data point arbitrarily? This will help me to get the result I want?

    2. is there a better way to convince labview to write data of the cycle next to the signal, with time stamp correct?

    An example is attached.

    Thanks for the tips...

    10 x Heuter, your example is useful - the problem is resolved.

  • Counters of artifacts of high rates of decimation filtering

    Hello

    I have problems with a report filter high decimation of artifacts in my data.

    I use Digital Filter Design NStage MRate filter Design VI to create you a filter step achieve a ratio of decimation of 2000. The first step is a CIC. Both are the TREE. The decimation ratio first step is 500. The other two are 2. My incoming data rate is between 1 and 10 MECH. / s.

    I'm acquiring a few seconds of data in blocks 200 ksps, and I'm filtering their block by block. I get artifacts at the borders between the blocks, as described below in two different zoom levels:

    When you implement this filter, get the best results using the MRate Nstage DFD filtering to block VI with the symmetrical extension type. I think that it is supposed to avoid artifacts at the extremes of field.

    My application is lower. Another loop acquires the data blocks, and stores them in the queue. This loop treats each data block. The reason for the inside of the loop is because data are acquired from two channels simultaneously, make the waveform output a table 2 x 200000. The vi 'IQ Mix' is a mixture a wave of frequency equivalent with the data to convert it to focus on the DC I and Q signals.

    Anyone who deals with this problem before? It strengthens with the highest ratio of decimation and lower bandwidth.

    Cody,

    Thanks for the offer, but I think that I traced this problem down.

    Number 1 has been that if I want to deal with continuous data, my mix waves must be continuous. I mixed a same wave with each block. I did the phase of my wave continuous mixing from block to block, and which removed a lot of artifacts.

    Number 2 was that I need to use the right filter treatment VI. Above, I use the VI for one-piece, non-continuous treatment.

    Number 3 was when using the continuous processing VI, I need to make sure you use a separate VI for each channel instance, I want to deal with. This means that I can't use a loop for looping through the channels. A non-parallelisee loop for use the same instance for all iterations. Paralleled A for loop is not compatible with that iteration uses what instance.

    I'm not completely out of the woods yet, however. I always have problems with the first block of data, that I proceeded. I think it's a quite different problem for a separate thread, though.

  • High rate of error SSL in FxM

    Dear all,

    We have a portal and two probes in our environment. In addition, we use a single SSL certificate for all sites. But, in one of the probes it not there no data collection for some sites, and for some sites the SSL connection rate is very high, while its working fine in another probe. Both probes are the same version.

    FxM version: 5.6.5.2014061601

    Could someone you suggest a possible turn around to solve the problem.

    Thanks adavance.

    If you are sure that you imported on the two probes of the same private key for decryption of the traffic, I would create a case of pension on https://support.software.dell.com

  • To the bottom of the sample unnecessarily high resolution in the book?

    Hello

    I said in the forum Photoshop my workflow is strange and I don't have no need to do any resizing photoshop because there is the option at the bottom of the sample images of a unnecessarily high effective resolution is it in InDesign.

    So if I have a lot about 17.4 inches wide color jpeg photo and I want to put in JPEG 5.4 "black and white in a book of say 15 chapters and then export the book in pdf format, how can I avoid using photoshop? And where is the control at the bottom of the sample at 300 dpi or less?

    Thank you

    Garrett

    (I'm down here too... sniff.)

  • Why my fan runs continuously at a high rate

    10.11.3 operating system (15 d 21)

    My fan runs at high speed.  Don't know why?

    Run Apple Hardware Test or diagnosis, whichever is applicable:

    https://support.Apple.com/en-us/HT201257

    https://support.Apple.com/en-us/HT202731

    It would be useful that you have indicated the EXACT MBP model/year you have.

    Ciao.

  • DaqMX wait the next sample causing slow down Clock.vi

    Hello

    I have a question about the proper use of DaqMX wait for next sample clock.

    I read channels analog voltage on a map or pcie-6259.

    I would like to read as soon as possible make your comments between each of these points of single data points.

    I wish I had an error generated if I miss a data point.

    From reading the forums, I've gathered that the best way to do it is using the Timed Single Point material.

    A simplified program that I use to test this is attached.

    If I remove the DaqMX wait for next sample Clock.vi, my program seems to work.

    I added a counter to check the total time is as expected.

    For example, the program seems to work at the speed appropriate for 120.

    However, without that vi, it seems that the program does not generate a warning if I missed a sample.

    So I thought that the next sample clock waiting vi could be used to determine if a single data point has been missed using the output "is late."

    However, when I add inside as shown in the joint, the program seems to slow down considerably.

    At high rates as 120000, I get the error:-209802

    14kHz is the approximate maximum rate before you start to make mistakes.

    My question is: is this the right way to check a missed sample? I don't understand why the wait next sample Clock.vi is originally a slow down. Without this vi, the program does just what I want except that I do not have strict error control.

    My confusion may be based on a lack of understanding of real-time systems. I don't think I do 'real time' as I run on an ordinary pc, so maybe I use some features that I wouldn't.

    Thank you

    Mike

    Mike,

    You should be able to read to return delays errors and warnings by setting the DAQmx real-time-> ReportMissedSamp property.  I think that if you enable this, you will see errors or warnings (according to the DAQmx real-time-> ConvertLateErrorsToWarnings) in the case where you use read-only.  I'm a little surprised that you have measured your application works at 120 kHz without waiting for next sample clock (WFNSC), although I'm not surprised that it would be significantly faster.  I think if you call read-only, you'll read the last sample available regardless of whether you would of missed samples or not.  When you call WFNSC, DAQmx will always wait for the next, if you are late or not sample clock.  In this case, you will wait an additional sample clock that is not the case in read-only.  Once again, I expect that, in both cases, your loop would not go to 120 kHz.

    Features real-time DAQmx (hardware Timed Single Point - HWTSP) are a set of features that are optimized for a one-time operation, but also a mechanism to provide feedback as to if a request is following the acquisition.  There is nothing inherently wrong with using this feature on a non real-time OS.  However, planner of a non real-time OS is not going to be deterministic.  This means that your app 'real time' may be interrupted for a period not confined while the BONE died in the service of other applications or everything he needs to do.  DAQmx will always tell you if your application is to follow, but can do nothing to guarantee that this will happen.  Thus, your request * must * tolerant bet of this type of interruption.

    There are a few things to consider.  If it is important that you perform the action at a given rate, then you should consider using a real-time operating system, or even with an FPGA based approach.  If it is not essential to your system, you might consider using is HWTSP, where you do not declare lack samples (DAQmx simply give you the most recent example), or you could avoid HW timing all together and just use HAVE request to acquire a sample at a time.  What is appropriate depends on the requirements of your application.

    Hope that helps,

    Dan

Maybe you are looking for

  • Spectrum of HP x 360: creation of Recovery Kit

    Hi all I just bought a spectrum HP x 360 running Windows 8.1, with no recovery DVDs provided. I noticed that the recovery Kit must be created on the USB stick with a capacity less 32 GB (even it the necessary space is 22 GB?) I don't remember the ste

  • Apple music Blank tabs

    When I try to open one of the tabs music Apple, I get a blank page but my music and iTunes Store displays the content. I checked my limitations and I have selected Connect. Any ideas how can I fix?

  • ES1-512-C5YW - black screen

    When I was with this laptop, the screen suddenly really turned very dark. If I looked closely, I could see that the open Web page was still there and everything properly. I turned off the laptop and then on again, but now nothing can be seen even whe

  • Rename the Media folder

    In the menu start, in the right side, above the 'Documents' folder is a more general file containing other folders: 'Videos', 'Games', 'music' etc. This forder is usually named after the name of the PC user, in my case, it was 'George '. About a week

  • Pivot question

    How do after a control table that has automated the process completing daily create table t1_check (check_no number, check_time date, value number); insert into t1_check values (1,sysdate, 1234); insert into t1_check values (1,sysdate -1, 1342); inse