Measurement period < 392ns (ability to measure minimum period)

I'm trying to measure a period less 392ns and I get the error:

Error-200141 occurred to wait until what Don.vi:3580001 DAQmx

Possible reasons:

Data has been replaced before it can be read by the system.

Mechanism of data transfer is interrupted, try to use DMA or USB in bulk.  Otherwise, divide the input signal before taking the action.

Task name: _unnamedTask

I've attached a screenshot of my VI

Hi ADI_Tony,

On the screenshot in your original post, looks like you are using only 1 counter, which is very good for low frequencies. Have you tried to use a two meter method that works better for the measures high frequency? An example that can be found below.

Measure permanently times digital (high frequency, 2 meter Method)

https://decibel.NI.com/content/docs/doc-11424

I would like to know if it works!

Tags: NI Hardware

Similar Questions

  • The performance of the processor and memory performance by the Date and time range

    Hi Expert,

    I'm not that good in script and even learn how to write one, but for the moment that I need help get script that could generate as below output.

    Example query:

    Retrieve logs performance for vmname1, vmname2, vmname3 from 07:00 to 10:00 on 25/05/2012.

    CPU MHZ, and MEM in MB.

    VMNameDateTimeMemMaxMemAvgMemMinCPUMaxCPUAvgCPUMin
    vmname125/05/201206:0055,4948.3044,5518.3410.567.43
    vmname225/05/201207:0052,8247,8144,3528.149.804.23
    vmname325/05/201208:0048.6246.0442.1922.5112.928.80
    vmname425/05/201209:0049.1147.6641,4515.828 h 454.36

    I appreciate really all advice in this area. Thank you.

    You can try something like this

    $vms = Get-VM vmname1,vmname2,vmname3  $metrics = "cpu.usagemhz.average","mem.usage.average","cpu.usagemhz.minimum",          "mem.usage.minimum","cpu.usagemhz.maximum","mem.usage.maximum" $start = Get-Date -Hour 7 -Minute 0 -Second 0 -Day 25 -Month 5 -Year 2012$finish = Get-Date -Hour 10 -Minute 0 -Second 0 -Day 25 -Month 5 -Year 2012
    Get-Stat -Entity $vms -Stat $metrics -Start $start -Finish $finish |Group-Object -Property EntityId,Timestamp | %{
      New-Object PSObject -Property @{
        VMName = $_.Group[0].Entity.Name    Date = $_.Group[0].Timestamp.ToLongDateString()
        Time = $_.Group[0].Timestamp.ToLongTimeString()
        MemMax = $_.Group | where {$_.MetricId -eq "mem.usage.maximum"} | Select -ExpandProperty Value    MemAvg = $_.Group | where {$_.MetricId -eq "mem.usage.average"} | Select -ExpandProperty Value    MemMin = $_.Group | where {$_.MetricId -eq "mem.usage.minimum"} | Select -ExpandProperty Value    CpuMax = $_.Group | where {$_.MetricId -eq "cpu.usagemhz.maximum"} | Select -ExpandProperty Value    CpuMin = $_.Group | where {$_.MetricId -eq "cpu.usagemhz.minimum"} | Select -ExpandProperty Value    CpuAvg = $_.Group | where {$_.MetricId -eq "cpu.usagemhz.average"} | Select -ExpandProperty Value  }
    }
    

    Note that this will depend on the statistical level that you set for the chosen time interval, if the measures minimum and maximum will be available.

  • what need parameter should be ignored for creating table in LMT

    Hi all

    I have locally managed tablespace (LMT) with the type of ventilation SYSTEM and segment_space_management is AUTOMATIC. My database is Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi.

    I have for example:

    create table (ID)
    PCTFREE 5
    INITTRANS 2
    STORAGE (Initial...).


    Oracle documnetation, I found that it is recommended to omit the storage clause when you use LMT.

    I want to know, I do also omit PCTFREE 5, INITTRANS 2 of the create table statement?

    Thanks for any advice.

    Dear spur230,

    Yes, you can omit these parameters either.

    Here's the answer to your question;

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/tspaces.htm#sthref1153

    +"+
    * + Creating a locally managed Tablespace + *.

    + Create a locally managed tablespace by specifying IN clause of the CREATE TABLESPACE statement SCOPE MANAGEMENT. This is the default value for new permanent storage space, but you must specify the EXTENT MANAGEMENT LOCAL clause if you want to specify the AUTOALLOCATE or the UNIFORM clause. You can have the database to manage extensions for you automatically with the clause AUTOALLOCATE (default), or you can specify that the tablespace is managed with uniform extents of a specific size (UNIFORM). +

    + If you plan the tablespace contains objects of various sizes, requiring many scopes with different sizes, then AUTOALLOCATE is the best choice. AUTOALLOCATE is also a good choice if it is not important for you to have a lot of control over the allocation of space and the deallocation, because it simplifies the management of the table space. A space may be wasted with this parameter, but the advantage of having the Oracle database manage your space probably outweigh this disadvantage. +

    + If you want exact control on unused space, and you can predict exactly the space to allocate for an object or objects and the number and size of extensions, and then UNIFORM is a good choice. This setting ensures that you will never have the unusable space in your tablespace. +

    * + When you do not explicitly specify the type of management, database Oracle determines management extended as follows: + *.

    + * _If the CREATE TABLESPACE statement omits the DEFAULT storage clause, then the database creates a locally managed tablespace autoallocated. _ +
    + * _If the CREATE TABLESPACE statement includes a default storage clause, then the database considers the following: _ +.
    + O _If you specified AS MINIMUM clause, the database evaluates if MEASURE MINIMUM values, INITIAL, FOLLOWING are equal, and the value for PCTINCREASE is 0. If so, the database creates a locally managed tablespace uniform with size = INITIAL measurement. If the parameters to MEASURE MINIMUM INITIAL and NEXT are not equal, otherwise PCTINCREASE is not 0, the database ignores storage extent parameters you specify and creates a locally managed tablespace autoallocated. _ +
    + o _If you have not specified a MEASURE MINIMUM clause, the database evaluates only if the values of storage are the same INITIAL and NEXT and PCTINCREASE is 0. If so, the tablespace is locally managed and uniform. Otherwise, the tablespace is locally managed and autoallocated. _ +

    + The following statement creates a managed tablespace locally named lmtbsb and specifies AUTOALLOCATE: +.

    + CREATE TABLESPACE lmtbsb DATAFILE ' / u02/oracle/data/lmtbsb01.dbf' SIZE 50 +.
    + EXTENT MANAGEMENT LOCAL AUTOALLOCATE; +

    + AUTOALLOCATE causes tablespace system managed with a volume of minimum extent of 64K. +

    + The alternative to AUTOALLOCATE is UNIFORM. who says that the tablespace is managed with uniform size extents. You can specify the size of the uniform SIZE clause. If you omit the SIZE, the default size is 1 M. +

    + The following example creates a tablespace with uniform extents of 128 K. (In a database with 2 K blocks, each would amount to 64 blocks of data). Each measure 128K is represented by a bit in the bitmap extent for this file. +

    + CREATE TABLESPACE lmtbsb DATAFILE ' / u02/oracle/data/lmtbsb01.dbf' SIZE 50 +.
    + EXTENT MANAGEMENT LOCAL UNIFORM SIZE 128K; +

    + You can not specify the storage, TEMPORARY or MEASURE MINIMUM clause by DEFAULT when you explicitly specify EXTENT MANAGEMENT LOCAL. If you want to create a locally managed temporary tablespace, use the statement to CREATE a TEMPORARY TABLESPACE. +
    +"+

    Hope that helps.

    Ogan

  • Security Oracle implementation

    Hi master,

    I would like to know from you great guyes who aer "Who's who" of oracle, to implement oracle security existing level of the database if the database is the database of production.

    I don't want to buy any new software utility or oracle, rather I can't afford to do the same.

    What is the maximum level of security, I can apply on my production database? is there documentation that will provide a few easy steps to do this?

    I know that I can implement the transparent data encryption, etc., but then I have to buy a license from oracle, and I can't afford to do.

    so please let me know steps and commands with which I can implement tight oracle database 10g securityalthough I know I want some followed basic security measures, minimum, and other privileges more


    Thanks and greetings
    VD

    Hello.

    It depends on what kind of security you want at the database level. If you want to secure the password, card_numbers etc. and you want them to be encypted form that you can pick up the package dbms_crypto. You can go with TDE, if you want the data stored in the data files are encrypted and can be considered as clear text when a select statement is made about it. You can pick the level of network security. Security is a broad topic, and you first need to analyze what kind of security is necessary for your database.

    Anand

  • Measure the period and the peak value at crest of a sine wave

    Hello

    I am new to Veristand and Labview and I was wondering if there is the possibility to do the following:

    I would like to measure the period of a sine wave that I capture from analog input of my data acquisition (SMU-6363). Apart from that, I also want to measure the value of crete to crete (Vpp) of the sine wave.

    I hope you can help out me.

    Thank you.

    If the sine wave is of significantly higher frequency than the primary control loop can run... The best way to do it would be to put the DAQ hardware in waveform input mode and use a custom device to read the waveform and perform analyses.

    an example is here: requires some labview skills

    \examples\NI VeriStand\Custom analysis Devices\waveform

  • Measurement period semi PWM input: requires a custom device?

    Hello

    I need to read a pwm on my X-series card entry in the VS2011 environment.  In LV, this would be by a half measure. Now how can I do this in VS2011? It seems that I must take this vi LV making periods of semi and "decent" soul in a device custom vs. Is this true?

    THX.

    L.

    myself... Yes it certainly looks like him.

  • Period measurement error 20308

    I'm trying to measure the period of a very slow rate (Hz 0,083) to come to my DAQ (6009).

    However, it comes with "error-20309 occurred at the" NI_MAPro.lvlibulse measures 1 chan.vi:2 "when it is called of" NI_MAPro.lvlibulse measures N chan.vi:1 "(waveform index 0 1)". "

    DQA captures method is set on "on demand" however I also tried various (frequency + buffer) such as 10 k by 2 k.

    but it always comes up with the error.

    I know why it comes up with this error but do not know how to fix it.

    I have attached the vi (the signal to simulate reply my DAQ)

    Because you'll probably want at least 2 cycles whole to your measurements, and each cycle lasts approximately 12 seconds, I would get 25 seconds of data at 50 Hz (1250 samples)

  • multi meter PCI-6602 daqmx semi period measurement

    Hi all, currently I am working on 20 channels PWM. I have a problem on my labview code. Would anyone give some advice on my vi? I packed for 2 channels labview code, for now. I do measure period semi. I want to measure the cycle frequency and the duty of the PWM signals. But when I run it, it has error. Please give some tips where I did wrong on my vi. Thanks, Johnny

    Marconi salvation,

    This error you are getting is a buffer overflow error and is probably due to the value that you used as an input for "number of samples" on the reading DAQmx VI. You set it to 4 but according to how fast the PWM you read is, you can acquire values in the buffer on board much faster that you collect with the reading DAQmx VI. Then when you call the DAQmx Read VI, who reads from a pointer to read the data you plan to read the buffer has already been replaced. One way to get around this is to increase the number of samples to read whenever you call the DAQmx Read VI. I tried your VI and managed to do work with a slight change to the trigger start (using the PFI0 instead of the time base of 20 MHz) and added a loop condition to stop making a buffer overflow error as well. Take a look and see if that helps. In addition, why you fire off the coast of the time base of 20 MHz? is there a particular reason? It is essentially similar to using no trigger starting since you should get the first front of this almost immediately after the start DAQmx VI is called. I'm just curious, since using this trigger from the beginning has not actually worked for me (although I look into why).

    Chris W

  • Period with external clock measurement

    Hello

    I have the USB-6210 and I'm using Labview 8.0.

    I use the 6210 for period measurement of a signal. I have another card (not OR) I want to synchronize with the 6210. The other card has a clock of 10 MHz with a TTL output.

    I am trying to use the 10 MHz TTL of the other card as an external clock for my measurements (this would essentially be synchronize both). The measure of the time does not support external clocks. I can't make the edges of the county if not work. Any suggestions? Is it possible to sync the 2 cards? If this is not the case, what are my options?

    Thank you very much

    Eyal

    Hi Eyal,

    How did you get your task configured?  It should look like this:

    Best regards

  • Triggered acquisition of finishes and measurement period

    Hello

    My problem is this: I don't know about how Labview peripheral access and impact of the implementation of the multiple tasks in a loop iteration speed.

    The vi which I enclose uses a rotary encoder to generate a trigger for acquiring pulse. I noticed that trying to enforce a measure of the time on this impulse causes the double iteration time. For this reason, I've included the case structure then the program reads once all 50 iterations.

    I use the PCI-6250 (dev2) and PCI 6220 (dev1) which are connected by a RTSI cable. The 6220 and 6250 are connected to CB-68LP and TBX - 68 t terminals respectively. The latter, which causes a few problems because of the incompatibility.

    Any help on two reasons you for the slower time per iteration and how solve it would be most appreciated.

    Thank you

    Ingram

    Hi Ingram,

    Thanks for your message, the code looks like certainly more compact and this method allows you permanently newspapers which is adventageous to the application.

    Regarding the doubling in speed of loop you encounter when measurement period meter, out of curiosity, how much time (depending on time) is the Digital pulse length you measure? If the period is large this could explain play long time.

    I also recommend placing a 'DAQmx start task VI' on each line DAQmx entering the loop (just after the configuration steps), which will allow the task of counter start running before entering the while loop, which can improve performance.

    If the pulse duration you measure is large, it may well be useful to separate the task of counter in a separate producer loop or introduce a time-out on the counter 'DAQmx Read VI' to see if that improves the speed of execution.

    Thank you very much

  • Analog period measures

    Hello

    I need measure the frequency of the signal sinuoidal that is developed by using LabVIEW FPGA. I tried to use the block analog measurement period.
    The value that I used are: 0 threshold, hysteresis 0.5.
    However, no matter what the frequency, the period is always zero.

    I also tried different threshold and hysteresis values, but it was in vain.

    I would be grateful if you could be of any help.

    Best regards, Keshav

    Hi keshasvew,

    This function has a valid output signal that becomes true once per period, so it is likely that you are actually getting a good result, but never see. You will need to add a bit of code to output that uses the valid output signal to lock the result of the last valid measurements. You should also monitor the timeout output, which will remain if you get no results at all generally true.

  • period measurement Semi USB 6221

    Hi guys,.

    I have a problem measuring the period of semi of a digital signal. I'm gernerating a pulse with my USB 6221 DAQ board and I use the counter 0 (9 PFI) for the period of semi. But I don't get all the values. Also, I tried to generate a signal of pluse using the 1 meter and measured the period using counter 0 and it worked perfectly fine. Take a look at the code can be I am doing something wrong.

    found the problem. I was reading more samples then I sent.

  • How to retrieve the value of a measure over a period determined using VROPS 6.1?

    Hello!

    Is it possible to extract a metric, using supermetrics for example or any other means, the value of a measure over a period of time?

    For example, I will pick up average CPU usage of my VMs during the last hour with VROPS 6.1?

    How could I do that please?


    Concerning

    Unfortunately, you are just such a feature (apply the calculation over a period of time) is not supported.

  • Measure the time between the ridges of the periodic input signal

    We have built a circuit which is supposed to mimic an Exercycle.  We have an IR switch and a spinning wheel, the rccb meets a comparator circuit and the output of the element of comparison, we have running in LabView.  We successfully were able to measure the number of rotations of the wheel and the total distance travelled by the wheel, but are struggling to measure speed.  We cannot find a way to measure the time between picks in real time, which we could then divide the wheel circumference and calculate the speed in real time.  The VI I posted has a square wave simulated rather than the signal we receive on our circuit.  Thanks in advance for the help.

    Jon and David

    I think you're overloading the things trying to get the time between two pulses.  Instead, you can use the VI Express your measures and select frequency for her custom. Then, you can multiply the circumference of the wheel of the frequency to get the speed.

    I hope this helps.

    -Christina

  • measurement of phase shift between two periodic signals acquired

    Hello

    I don't know how to explain my problem, but I'll give it my best shot. I'm two signals from sensors in tension. Two periodic signals have the same frequency, but a different amplitude. Normally they have a difference of phase of 0 or 180 degrees. The thing I have to let labview to check is if the signals are completely in phase or out of phase (180 degrees) completely. I am acquiring the wizard scene DAQ in a while loop. Does anyone have an idea how I can do this?

    To summarize: are the two things I need to know

    -l'amplitude (maybe just pick max max min distance)

    -If both signals are moving in the same direction (when the two signals are in phase) or if they move in the opposite direction (counter phase) - the exact phase angle value is not so important

    THX

    Thanks for the reply. After a night to think about the problem, I came up with a home-made solution. I used the point by point max and min vi to calculate the distance from crest to crest of my signals. Then, I used the time derivative of point by point to calculate the variation of the signal of the two signals. If the signals are in phase (both are increasing or decreasing at the same time with the other), then the two derivatives have the same sign (accept on the summits, of which I have excluded from the comparison). If the signals are out of phase (when one increases, the other is decreases and vice versa) then the two derivatives are opposite in sign. According to this, I can get all information that I need. If anybody should know a better way to achieve the same result, please say, but to know that it seems to work.

Maybe you are looking for

  • Lost bootcamp partition

    As he tried to resize my partition bootcamp (and then removal of partition of the said) my worked before Windows partition will be is no longer visible on the startup disk selection screen. I read through some forums for similar problems, but none of

  • bar graph conspire

    Hi I have this table 2 d and I need to move to a xy graph and he discovers a bar plot... x will b the date and time and there will b data, please urgent help

  • The readers navigation problem. Search opens instead of OPEN it

    When I try to browse a disk, SEARCH opens instead of OPEN it.

  • Blue crash screen on Resume from S3, 0x7A (kernel data Inpage Error), probably faulty HARD drive

    I have a laptop HP dv7 (AMD 780 G chipset), who has a problem with the release of the standby mode.  The system hangs on a blue screen 100% of the time when the recovery from the sleep mode.  I suspect that the problem is related to hard disks turn d

  • Select the query - Oracle

    HI Experts,I know that the question I ask is a simple. But wait a few contributions of the experts who are all present here.(Q) I have a table called account INFORMATION size 97 GB (with partitions) and my DBBC (Database Buffer Cache) is 2 GB in size