Separation of the two edge triggered measurement

I try to use a USB-6259 device to measure the time of separation between two signals. I need to measure the time only after another trigger signal was raised. I tried to configure the task of separation of measurement with a trigger to start on a rising and also with a break so that the task will stop if the trigger signal is low. However, I get errors that it is not supported. Is there anyway to trigger this type of measure?

I thought about it - beginning of arm relaxation.

Tags: NI Hardware

Similar Questions

  • How to read a counter value for the separation of the two edge before meter is stopped by the second edge (6602 Council)?

    I use a timer/counter with DAQmx 6602. I use the separation of two - available via DAQmx cash edge. Count between the two edges works properly, however I do not know how to read the value of the counter during the counting operation (i.e. after the first edge triggered the beginning of the count, but before the second edge triggered the end of the counting). I'll have to wait for the second goes off the edge of the end of the countdown until I can get a counter value. I need to be able to access the current value of the County during the count operation. This was possible in traditional DAQ. How can it be accomplished using DAQmx?

    Ah shoot - I was afraid that this might be the case (for what it's worth, my series of X returned intermediate values, but the material and the underlying driver are quite different)...

    You just need to take one measure at a time or you are buffer several measures of separation of the two edges at the same time?  So just to take one measure at a time, you can set a task of edges of count using the database internal time as the source using an arm start trigger (first edge) and a sample of clock (second Board) to work around the problem.

    Best regards

  • How to determine when my separation of the two edge counter starts counting

    I looked through a ton of Daqmx properties, the web and the forum OR to find answers to the question "How do I determine when my meter of separation of two shows actually starts to count.

    So I've set up my meter of separation of two edge on two channels known PFI two trigger when they detect a positive benefit.  Now, because I use an accelerometer to my first impulse, my concern is that it could possibly be triggered until the test is run.  So I would like to have labview (if possible) be able to question whether or not the first trigger was triggered and the meter started to count.  If this information is not known, I could run my sample and get a value that is incorrect.  Knowing whether or not the meter started cash before running the test, prevents the operator running a test, effectively consuming a test item.

    Thanks for any information.

    -John

    I would like to poll the CI. Count property.

    Once the first edge is saw that the count will begin incrementing.

    Best regards

  • Separation of the two edge!

    Hi all

    Maybe a newbie question, but I haven't found an exact answer so far.

    I have two signals.

    A slow which I want to use as a trigger of power and a quick where I want to count the edges.

    I want to measure the number of edges of the fast signal occurring between two rising edges of the slow trigger signal.

    I read the help of separation of two edges and examples and always found three signals.

    So my question.

    Is it possibel to use two separation of edge with only two signals and connect the a slow (trigger)

    both DOOR and to THE?

    Or maybe someone can tell me how do to best accomplish this measuring task.

    Many thanks for any help,

    Ralf

    Since a picture is worth thousand words, here, try something like this:

    Here's the idea:

    1 counter is set up for the period measurement with units on the ticks.  Normally this would record the number of edges of a base clock of internal time between consecutive edges of the pulse train whose period is measured.  Here we are substituting the normal behavior a little bit.

    2. Notes the DAQmx Channel property node.  Let's say the task of counting your pulse train faster * rather * count of a database internal time clock.

    3. in the time mode, the counter will be reset to 0 in each cycle of the signal period.  So you will get a buffer zone to tell you how many more fast pulse occurred between the values * each * consecutive pair of slower pulse.

    4. we will ignore element 0 of the array because its value will be quite random, representing the start time of the task until the edge 1st period.  It is very often not explicit.

    -Kevin P

  • Align the two signals and measure the Phase Shift

    Hello

    I do an experiment in which I use the NI USB-6221 DAQ card. The jury is able to make 250 k samples/second. I want to measure two voltages in a circuit and find the phase shift between them at frequencies between 1 and 10000. First I ouputted a wave sinusoidal frequency variable through the Commission and applied to a test circuit. Then I used the Board to measure the two tensions consecutively (thus reducing the maximum sampling frequency at 125 k). I used the signals align VI and measured the two phases and then calculates the phase shift (VI attached in Phase 1). It worked well for the test circuit I built in which the phase shift went way logarithmique.20 degrees ~84.5 degrees and then stabilized. At frequencies above 5 000 Hz phase shift must have remained constant, but it varies more or less 1 degree. When the phase shift is 84.5 degrees, present a degree of variability is not particularly explicit. When I asked my program on the circuit that I really wanted to measure, the phase shift went from-. 5 degrees up to about 1.2 degrees. The change in the values of phase shift at high frequencies (> 3000) was environ.2 degrees. Given the small phase shift, this variation is unacceptable. Now I tried to use a sequence to each blood individually (increase the maximum sampling frequency to 250 k) and then align the two signals and measure the phase of each shift. When I use align it and re - sample Express VI to realign the two signals, I get the message "error 20333 analysis: cannot align two waveforms with dt even if their samples are not clocked in phase." Is it possible to align two signals I describe here? I enclose the new VI as Phase 2

    Matthew,

    I think I have an idea for at least part of the problem.

    I took your program data and deleted stuff DAQ.  I have converted the Signal on the chart control and looked then what was going on with the signal analysis.

    The output of the Waveforms.vi line has two waveforms, like the entry.  However, arrays of Y in the two waveforms are empty!  It does not generate an error. After some head scratching, reading the help files and try things out, that's what I think is happening: the time t0 two input signals are 1,031 seconds apart. Since the wavefoms contains 1,000 seconds of data, there is no overlap and may not align them.

    I changed the t0 on two waveforms are the same, and it lines up.  The number of items in the tables is reduced by one. Then I increased the t0 of 0.1 seconds on the first element. The output had both greater than the entry by dt t0 t0 and the size of the arrays was 224998.  Reversing the t0 two elements shifts the phase in the opposite direction.

    What that tells me, is that you can not reliably align two waveforms which do not overlap.

    I suggest that you go to 2-channel data acquisition and that it accept the reduced sample rate.  You won't get the resolution you want, but you should be able to tell if something important happens.

    You may be able to improve the equivalent resolution by taking multiple steps with a slight phase shift. This is similar to the way that old oscilloscopes of sampling (analog) worked. Take a series of measures with the signal you are currently using.  The make enough average to minimize changes due to noise. Then pass the phase of the signal of excitement to an amount that is smaller than the resolution of phase of sampling rate and repeat the measurements.  Recall that I calculated that for a 5 kHz signal sampled at 125kHz, you get a sample every 14.4 degrees. If shift you the phase of 1 degree (to the point/mathematical simulation), you get a different set of samples for excitement.  They are always separated by 14.4 degrees.  Take another series of measures. Transfer phase another degree and repeat.  As long as your sampling clocks are stable enough so that frequency does not drift significantly (and it shouldn't with your equipment), you should be able to get near resolution of what you need.  The trade-off is that you need to perform more measurements and may need to keep track of the phase shifts between the various measures.

    Lynn

  • Time scale does not properly after separation of the two signals of virtual channel

    Hi all

    I have a problem when I use a virtual channel with two analog inputs. I'm cutting the two signals into two separate tables of waveform, as shown in the attachment. The two signals seem to be reading very well, the problem is that the time scale (x-axis) begins to act on the strange. Seconds displayed time seems to keep jumping up and down at a high frequency, resulting in the two signals of displayed does not correctly in the table of waveform. Could someone please try to help me? Any help would be greatly appreciated!

    Thanks in advance.

    Try to acquire a signal with first time information. You can replace the DBL 2D with a data type of 1 d wave. You don't need this code extra silly - just a function of Board Index to get the separate channels.

  • How can I measure the time between the two edges of successive increase, using digital input...

    Hello

    I'm trying to measure the time in seconds between each two successive rising edges on a digital input.

    So far I managed to detect the rising edge, increment a counter at each rising edge and take the time during which the increase is edge

    all I need now is subtract edge currently rising from the previous era of edge rising to calculate (T), which can be 1/frequency and display in real time for the user.

    but I do not know how to do this

    Can someone help me please!

    Note: while I am in a position varies between 200 ms - 2 seconds


  • Left join of the two tables and multiple values into a single value separated by commas

    Hello

    I have following tables with their structures and their data as below.

    CREATE TABLE 'BETODI '. "" BETINFO ".

    (

    VARCHAR2 (8 BYTE) "CURRENTPRESS."

    ENABLE 'TYPEIDCONTAINER' VARCHAR2 (30 BYTE) NOT NULL

    )

    INSERT INTO Betinfo (Currentpress, typeidcontainer) VALUES ('A24G', 'PMC');

    INSERT INTO Betinfo (Currentpress, typeidcontainer) VALUES ('A24D', 'Pensky-MARTENS');

    INSERT INTO Betinfo (Currentpress, typeidcontainer) VALUES ("A25D", "CMP");

    INSERT INTO Betinfo (Currentpress, typeidcontainer) VALUES ('A25G', 'PMC');

    INSERT INTO Betinfo (Currentpress, typeidcontainer) VALUES ('A26D', 'PMC');

    INSERT INTO Betinfo (Currentpress, typeidcontainer) VALUES ('A26G', 'PMC');

    INSERT INTO Betinfo (Currentpress, typeidcontainer) VALUES ("A32G", "V-BFC3");

    INSERT INTO Betinfo (Currentpress, typeidcontainer) VALUES ('A32D', "V-BFC2");

    CREATE TABLE 'BETODI '. "" BETMASTER ".

    (

    ACTIVATE THE "CUREPRESS" TANK (5 BYTES) NOT NULL,

    ACTIVATE THE "TYPE" VARCHAR2 (5 BYTE) NOT NULL,

    NUMBER (5.0) "LASTPCIRIM".

    )

    INSERT INTO BetMaster (Curepress, type, lastpcirim) VALUES ('A24', '45 M 8', 15);

    INSERT INTO BetMaster (Curepress, type, lastpcirim) VALUES ('A25', 42 16', 15);

    INSERT INTO BetMaster (Curepress, type, lastpcirim) VALUES ("A26", 16' 45, 15);

    INSERT INTO BetMaster (Curepress, type, lastpcirim) VALUES ("A27", '45 M 34', 16);

    INSERT INTO BetMaster (Curepress, type, lastpcirim) VALUES ('A28', '45 M 34', 16);

    INSERT INTO BetMaster (Curepress, type, lastpcirim) VALUES ('A29', '45 M 34', 16);

    INSERT INTO BetMaster (Curepress, type, lastpcirim) VALUES ('A30', '45MCH', 15);

    INSERT INTO BetMaster (Curepress, type, lastpcirim) VALUES ("A31", "45MCH", 16);

    INSERT INTO BetMaster (Curepress, type, lastpcirim) VALUES ('A32', '45MCH', 16);

    INSERT INTO BetMaster (Curepress, type, lastpcirim) VALUES ('A33', '45MCH', 16);

    INSERT INTO BetMaster (Curepress, type, lastpcirim) VALUES ("A34", "45MCH", 16);

    These two tables have left join as

    BETMASTER. CUREPRESS = substr (BETINFO. CURRENTPRESS, 1, 3)

    now I want to have the data in the two tables with fields Curepress, Lastpcirim, typeidcontainer.

    Also something like

    Make a group of typeidcontainer if this value is greater than 1 by press separated the values of semicolon (;)

    So, for example above, we should be given as

    A24 PMC 15; PENSKY-MARTENS

    A25 15 PMC

    A26 15 PMC

    A27 16 (NULL)

    A28 16 (NULL)

    A30 15 (NULL)

    A31 16 (NULL)

    A32 16 BFC2-V; V BFC3

    A33 16 (NULL)

    A34 16 (NULL)

    How could do?

    My current request is as

    Select distinct Curepress, lastpcirim, typeidcontainer

    BETMASTER STD left join INF BETINFO

    on the trim (STD. CUREPRESS) = substr (trim (INF. CURRENTPRESS), 1, 3)

    but I am unable to get the values separated by commas.

    Any help would be appreciated.

    Thank you

    Mahesh.

    Hi, Mahesh,

    If you want to only 1 row of output for each distinct combination of currentpress and lastpcirim?  This sounds like a job for GROUP BY.

    And you want the row to contain a list of all different typidcontainers-delimited?  This sounds like a job for the aggregate LISTAGG function.

    WITH joined_data AS

    (

    SELECT DISTINCT

    MST.curepress, mst.lastpcirim, inf.typeidcontainer

    OF betmaster STD

    LEFT JOIN betinfo ON TRIM (mst.curepress) inf = SUBSTR (TRIM (inf.currentpress)

    1

    3

    )

    )

    SELECT curepress, lastpcirim

    LISTAGG (typeidcontainer, ',')

    THE Group (ORDER BY typeidcontainer) AS container_list

    OF joined_data

    Curepress GROUP, lastpcirim

    ;

    Unfortunately, you can't say LISTAGG (DISTINCT ...), so you should always get the separate containers how you already are.  (Note that the subquery is just what you posted).

    Thanks for posting the CREATE TABLE and INSERT statements; It is very useful.  Don't forget to tell what version of Oracle you are using.  LISTAGG was new in Oracle 11.2.

    Why not add CHECK constraints (and perhaps triggers) to your tables, so that curepress and currentpress are not stored with the head or trailing spaces?  Then you wouldn't need to use the PAD in queries like this, and your code would be simpler and more effective.

  • Separator for set two sets of headphones to the port single external microphone on iMac

    We want two people appear on the screen even when talking to anyone else on Skype. Is there a splitter available that would allow me to set the two sets of headphones to the port single external mic so that we can use the headset mic and get good sound quality?

    All divisor inexpensive listener should be able to do, for example that I found on Amazon:

    https://www.Amazon.com/Belkin-speaker-and-headphone-splitter/DP/B000067RC4/ref=s r_1_2? ie = UTF8 & qid = 1473882646 & sr = 8-2 & keywords = earpiece + separator

  • IMessage Apple Watch has two interviews separated with the same person?

    My new Apple Watch has a problem with iMessage and I know how to fix this on my iPhone but not watch?

    On my iPhone, that my ID apple is connected to more than 10 devices and sometimes when a new device is added, it adds the addresses on my apple for iMessage and FaceTime ID and I always fix by unchecking the addresses that I don't want in the application settings under "Messages" and "FaceTime." However, this isn't the same thing to watch because there is no option in the settings on the Apple Watch and the watch App on my iPhone.

    I would like to help please?

    Hello

    Apple Watch uses the same parameters (for how you can be reached and how new conversations are started) for Messages as your iPhone.

    If you have two interviews separated with the same person, the following steps may help:

    • On your iPhone, check if there is more than one contact form in Contacts of this person (if so, remove duplicates).
    • Delete old Messages conversations with this contact on each of your iPhone and watch:
      • iPhone: app Messages > swipe to the left on a message thread > delete.
      • View: Open the Messages app (from the home screen, which is accessible by pressing the digital Crown) > swipe to the left on a message thread > tap on Trash / delete.
    • On your iPhone in the app Watch: Watch My > general > reset > press reset sync data:
      • You won't see anything happen after pressing it (the process runs in the background, invisible to the user).
      • Leave a minute or two to allow the course ends.
    • Restart your iPhone and your watch (turn the two together off the coast, then restart your iPhone first):
  • generate the event user triggers two events structure

    Hello

    I would like to generate a while a user event that triggers events in two or more loops loop event.

    I have attached a non-fonctionnel project VI, so easier to show what I would understand.

    My experience is that user generated event cause that a case of Structure of the event, not both. Why? What if I want the two loops of the event that will be raised? How can you make with the user event?

    Maybe someone could explain this a bit deeper?

    Thank you very much!

    Kind regards

    PS. : new problem with forum upload file...

    So here's the VI in my dropbox:

    https://DL.dropboxusercontent.com/u/8148153/draft_to_show.VI

    Classic mistake.

    You need TWO 'register for events', the output of each class to a separate structure of the event.  Then it won't work.

  • Update separately the two regions of report

    Hi all

    I have two regions report on a page. I can add a button to submit the page by clicking on, which will update the two reports. Is there a way to update each report on application region separately?

    Denis

    then its simple, create two dynamic actions for each button

    Choose the option in advance on the "click" event
    Selection type: button
    Click on the respective button (this button model should be ' substitution #BUTTON_ID string # ')
    and in action select "Refresh" then in select element assigned the respective region.

    Concerning
    ANI

  • View two files separately with the size of photo camera raw + jpeg in photo

    When I import my pictures from my camera, the format raw + jpeg in photo Apple, I see only the jpeg file, and the raw file is hidden. How can I see the two files? Thank you.

    Duplicate photo (command-d) and double click to enlarge, click on edit, and then in the image menu, select use RAW original title - giving you two - one with a J and the other with a badge of R

    LN

  • To access the two analog inputs of two executable screws separated?

    Hello world

    I have two separate executable screws that need simultaneous access to different channels of the same card PCI-6229.  However, it seems that this is not possible with the DAQ Assistant due to a conflict of resources?  Does anyone know if it will work with the lower level DAQmx blocks?  And if so, how?

    If this is not possible, so if I set up a single executable to make all data capture, how would I transfer data quickly between two executables?

    Thank you for your time!

    -Yohan

    The advantage of using the SMP library is that it works on different or local computers. In normal operation, you have two PCs each running an executable-> messaging via TCP/IP. If a single PC dies, you can just start the two executables on the same PC and it works in the same way. The only thing you have to change is of course the IP address used for communication of SMP and the map DAQ which must be in the PC running.

    I don't know what HW you use, but most of the DAQ cards with 'only' a timimng engine, which means that all channels are sampled at the same pace. This could be a problem for the part of your control.

    An easy option to solve all these problems (without knowing what you mean with "not many entries analog": buy a second DAQ card!)  :-

    Yes, it costs you more money for the DJ, but it saves development time, which, in my area, much more expensive usually then a DAQ board 1 k $.

  • Bug. Can not put two edge animations animate on the same page

    Alrighty. Just thanked Adobe for fixation sensitive question scaling. Now, it seems to be a new. When I put two animations dashboard run on the same page, they both disappear completely from the view! Both in mode live view (or which saw fluid grid) and trying to get a glimpse into any browser. The responsive design works fine but if I put two animations on the same page that the two just disappear! GONE!

    Perhaps there is a code that I can use to prevent this. I did a number of tests during the last hour. My smile (from the reactive solution) is now again a frown. I can't keep working like that. Please let me know if there is something I am doing wrong. I have two animations on a page without worries prior to this version, but the delicate design did not work properly. The responsive design work NOW, but I can't have MORE than ONE ANIMATION on the same page. Thanks for your time. Best regards, Julian.

    The use, I did the modification required:

    
    
    
      
    
    
    
    
      

Maybe you are looking for