Different output meter with a different number of samples

I m using a calendar 6602 i/o Board or a MIO 6281. For controlling the distribution of our measures, I use different counters of two boards that have been triggered by a Digital Out for synchronization. The counters are made CO Pulse Time, implicit, digital synchronization triggered and the sample mode finished.

Suppose I use two Ctr´s to map 6602. My problem is when you set the number of samples of only CTR for another value, then the second I m getting an error. The rest works perfectly, I can use different delays in starting, low or high times, only samples different amounts Don t work. It s without worrying if I use the Timing of e/s or Multi i/o Board.

For example:

_ _       _ _

CTR 0 / 6602 _ |     |_ _|     |--> _ _ 2 samples

_ _

CTR 1 / 6602 _ |     |_ _

Someone an idea or a tip?

Hello

two counters are used for a generation of fenite impulses. Please see the link below.

Link:
http://digital.NI.com/public.nsf/allkb/9D1780F448D10F4686257590007B15A8?OpenDocument

For example, you can use Ctr0 and Ctr2.

Concerning

Rüdiger

Tags: NI Hardware

Similar Questions

  • Triggers of analog input output meter with delay

    Hello!

    I am currently using a PCI-6251 DAQ card with a block of connection BNC-2120.  I have a VI (one that is attached to this topic) that will essentially be an analog input signal and produce digital impulses from the output of the meter to each instant trigger.  I am also able to define a series of delay values such that the delay will update automatically each at intervals specified by the user or when you press the stop button.  I wonder if there is anyway to change this program as the time-out value will change every instant release.  So, for example, in the first trigger a pulse is produced 0 second delay, then immediately when the next instant relaxation is reached, a push will occur with a 0.1 second delay, etc...  And I want that the series of the time-out values to keep looping.  I tried to use my current VI, with time to stop at each iteration to be less than half of the period, so theoretically it should go to the next delay value in the next instant trigger.  Then I tried to put a certain time-loop around it to keep the job going, but it doesn't seem to work.  I've attached a screenshot of my attempt, please let me know if this is possible, thank you!  To see what each part of the VI in the screenshot, please see the screws attached, thank you!

    P.S. for the VI that is attached, the analog input signal is 281Hz, the pulse width is 2.5% of the period and the delay is in the stages of T/20.

    No worries,

    Please see the attached block diagram image.  It is important to wire terminal on the Read.VI DAQmx acquire in a constant to the number ofsamples.  This will force this function to wait until many samples are available in the buffer.  In my example, you will get 1000 samples per second (because my rate is 1 kHz).  and these 1000 were submitted directly to the FFT.  What happened for example of you, it is only because you have not specified the number of samples to read, it is by default (-1), which means that the DAQmx Read.vi will pull all the data that is available in the buffer at the time.  So if you had only 2 samples in the buffer that your FFT will have only two samples on average and as a result it will fail. Try this and it should help!

  • Producer-consumer - acquire and analyze different number of samples

    Hello

    I do some application which allows to acquire data with DAQmx with sample rate 50000 samples/s loops producer-consumer.

    In the loop of the producer I have DAQmx Read function that reads 2500 samples in each loop literation. I send these data to the loop of consumers through queues.

    The consumer loop I need to analyze the data, but to do what I need a second data part od (50000 samples). Unfortunately the queue gives only 2500 samples in a loop of producer literation, and the next literation queue fills with another 2500 samples.

    I want to read only 2500 samples of data acquisition, because in the loop of the producer I graph which shows me real signal acquisition, and I have a quick refresh of graph (50000/2500 = 20 times per second). But in the loop of consumer I need of 50000 samples to analyze. I can't lose all the data, everything must be analyzed.

    What should I do?

    Concerning

    Kacper

    Do not stop the loop based on 50 000 samples.  Only stop it when the program is supposed to stop.

    Use a case structure in the loop based on the question if the 50 000 samples were acquired to determine whether to add to the table, or add the new information to the table and remove the oldest data in the table.

  • 6602 synchronized with a different number of pulses per channel pulse generation

    Hello

    I try to use counters NI 6602 to generate 4 pulse trains that begin together but then proceed with each counter producing its own number of pulses (over mode) with its own frequency.

    It seems that each of the 4 channels of wiring at the same special teams each channel to produce the same number of pulses based, apparently, on which channel was recently with the specified NumPulses value so that it is the (implicit) VI DAQMx Timing.

    I tried to use separate tasks for each channel, but it seems that the there is much more uncertainty in the initial start of the train of impulses on each channel: unique task ~ 13us (coherent) delay between channels, a task for each channel (variable)... Although I'm not entirely confident in these temporal measures (estimates of the oscilloscope) +-15us. So it seems I'm sacrificing some synchronization to produce a different number of impulses for each channel?

    Is it true, or is there another way to match the beginning of the independent pulse trains.

    Vadim

    You should be able to synchronize the start of 4 separate meter output tasks by having all the

    looking for a common startup trigger signal.  You can easily do yourself the trigger signal on

    (for example) PFI_0 using a digital task rocking DIO_0.

    -Kevin P

  • 'For' loop with a different number of iterations. Second, the auto-indexation of the tables with different sizes is done. It can affect the performance of the Vi?

    Hello

    I have a loop 'for' which can take different number of iterations according to the number of measures that the user wants to do.

    Inside this loop, I'm auto-indexation four different 1 d arrays. This means that the size of the tables will be different in the different phases of the execution of the program (the size will equal the number of measures).

    My question is: the auto-indexation of the tables with different sizes will affect the performance of the program? I think it slows down my Vi...

    Thank you very much.

    My first thought is that the compiler to the LabVIEW actually removes the Matlab node because the outputs are not used.  Once you son upward, LabVIEW must then call Matlab and wait for it to run.  I know from experience, the call of Matlab to run the script is SLOW.  I also recommend to do the math in native LabVIEW.

  • I want to buy an iBook. There are 2 different books with the same name, author, and the book cover. They are different number of pages with different prices. Specifically, all the light that we do not see. " How do you know that we purchase?

    I want to buy an iBook. There are 2 different books with the same name, author, and the book cover. They are different number of pages with different prices. Specifically, all the light that we do not see. " How do you know that we purchase?

    I would get one that has 4700 comments already.

  • When I rename my image (F2), I don't want to start with 1, but with a different number.

    When I rename my image (F2), I don't want to start with 1, but with a different number. I chose "number of images (0001)", concatenated with other data.

    I found a help of ambient light that says to change the "bib" but I can't find this setting. Where is it?

    Thanks for your help

    Hi carcala,

    When you go to Photo rename (F2), you must choose the Custom name - sequence in the menu drop-down

    You can enter the starting number according to your choice.

    Kind regards

    Claes

  • ESXi with a different number of CPUs

    Hello

    I was wondering if we can have more in a vmware cluster managed by vcenter 4.1:

    2 or more servers esxi 4.1 with a different number of cpu

    for example an esxi has 2 cpu and there are 4 cpu

    Or it is advisable to have the same number of CPUs on all esxi hosts in a cluster.

    Note: All are same active VCA processor family

    Thank you

    Without doubt, it is recommended, but I don't see a reason to not do so, especially because it's too easy to add 4, 6 or 8 processors... addition of mix n match cpu / cores can become a standard with all this different configuration of the CPU.

    You should not have problems.

  • Hosts in cluster with a different number of physical processors

    Hello

    Don't think it would be a problem but just validate...

    Can I have a cluster where the hosts have a different number of physical processors. All processors will be the same make\model\speed. Also, it will be only a temporary configuration.

    Thank you

    Hello.

    This configuration is very good.

    Good luck!

  • Buffer the output AO, refresh rate is different from the sample clock frequency

    Hello

    I am an AO output in the buffer using a single channel. I have a stamp with a ripple of 200000 points with a triangular waves of a 1000pts each repeated 200 times. If I want a frequency of 1 Hz, I simply update this waveform 1000pts and if I wanted to 5 Hz, then 5000pts and so on. But there is some frequency that I won't be able to use like the refresh rate (the number of samples that I ask to update) is different from the sample clock frequency, which makes synchronization with the other difficult to trigger (incomplete cycle).  Frequency 3 Hz (update 3000pts), as (update 7000pts) 7, 6 Hz (update 6000pts), 9 (update 9000pts)... 11Hz at 15 Hz and is not valid in the sense that the refresh rate is different from the sample clock frequency. That makes a whole lot of inaccessible CONFIGURED!  Can someone tell me what determines the banned frequency?  Is this something to do with the material?

    concerning

    One thing you can try is to change the number of samples per cycle. This cannot give the precise frequency accurately, but can reduce the average error.

    120 Hz, the error is currently about 400 parts per million (ppm). The accuracy of the time base is 50 ppm, then this error is less than 10 times the inherent error due to the time base.

    Consider this configuration: the closest nominal sampling you rate, you can get is 120048 Hz (1000 samples per cycle at 120 Hz). If your buffer contains 1200 samples per cycle, 100 copies of it would produce 1 second of data to 120,048 Hz. But if the buffer contained an average of 1200,48 useful Samper by cycle, you get the exact frequency.  Of course getting 0.48 of a sample is delicate. But the kind of feasible. If you use 48 cycles in the 1201 samples per cycle and the cycles of 52 to 1,200 samples per cycle, the total number of samples per second = 120048. Average frequency will be exactly what you want. Instantly, the frequency is slightly higher or lower than the exact value.  By an alternation of 1200, 1201, 1200, 1201... 1201, 1200 100 cycles that the Jig is fast.  If you group all 1200s whole and all 1201 s frequency hopping may be more sensitive.  If this kind of jitter is acceptable depends strongly on what you do with the release.

    This technique is used in some systems of frequency synthesizer.

    Lynn

  • EqualLogic GroupManager displays a different number of replicas, 2 outgoing and incoming 1.

    GroupManager displays a different number of replicas, 2 outgoing and incoming 1.  Is this a normal behavior?

    I raise this question to technical assistance from Dell.  They checked with their lab environment and confirmed the same behavior.  There is no functional cause whose status is displayed like this.  Two points, they said:

    (1) the number of the line leaving includes the history of replication.   It will show you an extra line in addition to the number configured in the replica set. (in my case, it's 1 (configured) + 1 (extra), so 2 total)

    (2) the number of the replica by entering the real number of replica set used for the function of data redundancy.

  • Order a different number of prints for each image

    If there is a way to order prints of different images different number?

    Say I want to order a print of all my images in a collection of 4 x 6, simple enough.

    Then, I want to order some of them also in format 8 x 10, also quite simple.

    But what I can't find out how to order say;  3 copies of the #4 8 x 10 image, 2 copies of the #5 8 x 10 image and 10 copies of the image #14 in 8 x 10.

    Something I m missing?

    Any help is appreciated.

    Thanks in advance.

    • The options button lets you change the number of prints for each selected photo.
    • The 'add pictures and change print sizes' button allows you to add additional formats and you can even select different amounts for each size.

    See this help page: https://help.apple.com/photos/mac/1.0/?lang=en#/pht6e15ea68

  • I use an IPhone 5. My screen is empty. White color. Calls from if composed of a different number, but cannot respond. What can I do to fix this?

    I use an IPhone 5. My screen is empty. White color. Calls from if composed of a different number, but cannot respond. What can I do to fix this?

    Have you tried to reset the device? Keep holding the home and power buttons at the same time and continue to hold until the Apple appears (compared to 30 seconds - really). If you see the Apple, the reset is progressing and the Slide to Unlock screen will display shortly.

    See you soon,.

    GB

  • generate two different number

    How can I generate two different number? The first should always be greater than the second.

    Only itegers or also fractional/decimal numbers?  Any real range of values that you can use?

    I just generates two numbers (based on the settings you can have) and then use Max & Min to sort them.

  • Definition of different number of REB for each key

    Hello

    Assuming I have the following tables and sample data:

    create table test_tbl_aa
    (aa number(2));
    
    insert all into test_tbl_aa(aa) values(aa)
    select level aa
       from dual
       connect by level<=4;
       
    create table test_tbl_aa_n
    (aa number(2), n number(1));
    
    insert all into test_tbl_aa_n(aa, n)
      select aa, lv
        from test_tbl_aa
        cross join (select level lv
                    from dual
                    connect by level<= trunc(dbms_random.value(1,3))
                    ) v;
    

    For example, running the stmt insert in the table test_tbl_n the inserted rows are:

    AA    N
    --------
    1     1
    1     2
    2     1
    2     2
    3     1
    3     2
    4     1
    4     2
    

    In the example above defined result a stable set of records for each aa (for each series).

    Is it possible to generate different number or records in the table for each data value test_tbl_n

    column aa?

    For example for:

    AA    N
    --------
    1     1
    1     2
    2     1
    3     1
    4     1
    4     2
    

    Note: Oracle db 11g. v2

    Thank you very much

    SIM

    Do you mean like this?

    SQL > insert while test_tbl_aa_n (aa, n)
    2 Select aa, level
    test_tbl_aa 3
    4. connect by level<=>
    5 and aa = aa prior
    sys_guid() 6 and prior is not null
    7.

    6 rows created.

    SQL > select * from test_tbl_aa_n;
    AA N
    ---------- ----------
    1          1
    1          2
    2          1
    2          2
    3          1
    4          1

    6 selected lines.

Maybe you are looking for