Tracing data from two locations on the block diagram on the same graph

Hello world

I'm trying to plot data from two distinct processes on a chart.  These processes occur in the order.

I have developed several solutions, which none produce the result I want.  What I want is for the data to trace in real time each process is running.

The two processes are functionally identical - one loop "for".  With each iteration of these loops, data is produced and traced.

The data are plotted in real time, which means that each reference appears on the chart as soon as it is produced.

However, I am not able to get the second process data on the same graph in the same way.

The closest I got combines the graphic with a local variable.  This allows the data for the two processes to draw in real time, but the second set of data replaces the first.

I have attached a very simple test VI showing my problem.

Any help with this would be greatly appreciated.

Thank you

You can do something like this. Is the second process just a continuation of the first? If so, it becomes even easier and you can just to keep construction of the table in the second loop.

Tags: NI Software

Similar Questions

  • can I use 2 Mac Pro, the old and the other from different locations with the same apple ID?

    can I use 2 Mac Pro, the old and the other from different locations with the same apple ID?

    Yes. The only problem that I see if Macs were different countries. The method of payment in the account/ID must be associated with the country where the unit is located and you can only buy Apps from the store of the country where the computers are located

  • How can I use notifications to send data from different sources for the same chart?

    Hello

    I use the model of 'Continuous measurement and logging' project comes with LV 2013.

    It is extremenly helpful in understanding the messaging between the acquisition, graphic and loops of newspaper. (Thank you NEITHER!)

    I ran into a snag though.

    I want to change so that my graphic loop receives notifications of data from two sources of acquisition by the declarant.

    I have trouble getting the data from the two sources to display on one graph.

    I've isolated the problem in the attached vi.

    Here's what happens:

    1. I create 2 parallel loops data and send the data to a third parallel loop with the notifiers.

    2. the third loop receives data from one of the loops because one of the authors of just receiving notifications is to expire instead of receive data.

    Can anyone suggest how can I fix?

    Thank you.

    -Matt

    Here's my modification of your VI. I put notes on the block diagram to explain the changes. He uses a queue for data transfer to avoid data loss. It uses a notifier to stop loops. All local variables and value property nodes have been eliminated.

    The way loops are arrested probably let some data in the queue. No more of one or two iterations of each of the loops of data acquisition. If you need ensure that all data has been displayed (or recorded in a real application), then you must stop acquiring loop first and read the queue until you know it's empty and both other loops stopped. Then stop the render loop and release the queue and the notifier.

    Lynn

  • How to find the data in two tables are the same?

    Hi people,

    Suppose we have table emp01, have 10 records and create another emp02 as table

    create the table emp02 in select * from emp01;

    now both the table has the same data.

    How to find a 'data' in the two tables are the same?

    Hello

    SELECT *
    FROM emp01
    MINUS
    SELECT *
    FROM emp02
    UNION
    SELECT *
    FROM emp02
    MINUS
    SELECT *
    FROM emp01
    

    You can also compare resultset hash to select * in emp01 and select * from emp02 by using dbms_sqlhash.

    Best regards
    Nikolai

  • Creating records from two Tables at the same time...

    I would be very grateful if someone could help with the following query.

    I have two Tables, Tbl1 and Tbl2. Tbl1 has the following columns: -.

    Tbl1_Unique_ID, Description

    Tbl1_Unique_ID is of type ' * number *' and ' * PK * ', Description is of type' * Varchar2 *'.

    Tbl2 has the following columns: -.

    Tbl2_Unique_ID, Description, Tbl1_Unique_ID

    Tbl2_Unique_ID is of type ' * number *' and is the ' * PK * ', Description is of type' * Varchar2 *' and Tbl1_Unique_ID is of type ' * number *', is a ' * foreign key *' and is the ' * primary key *' from Tbl1.

    While I can create a page to display and create folders in Tbl1, I'm not course coding required to view and create records Tbl1 and Tbl2 simultaneously, as well as regarding the two together at the same time.

    I know that it involves one ' * INSERT *' statement, but I have problems the correct SQL query.

    Can anyone provide any assistance will be appreciated.

    Have you tried to create a form master / detail page? Because it seems that is what you need...

  • Two indicators for the same graph.

    How to connect the same indicators for the chart even if you have it in different tabs?

    Looks like you want to use the same indicator in two different cases. It is not really possible, unless you want to use a local variable - which I would not recommend it. If you want something wire to the same flag from various cases, you need to place the flag outside the structure of the case, which makes a tunnel through the structure of the case.

    In addition, it seems that you want to the same graph in two different tabs in a tab control. Why use different tabs if you want the same information? Maybe you could redesign your GUI?

    But once again, as everyone said, share your code and it will be much easier for us to help :-)

  • Question about running from two cameras at the same time with MAX

    Hello

    I have two cameras attached to NI PCIe-1430 frame grabber card (Atmel Aviiva M2 CL and Fairchild 2 K LS) IRLS. It's ok when I run two cameras individually, but I can't run them at the same time.

    This is the step that simultaneously run two device:

    1. open MAX, select the port and start image acquisition by pressing the 'Grab' button, I can see the image at this point.

    2. open another MAX session, select the other port and press "enter". I got following error:

    "Error 0xBFF60021".

    Unable to perform request; acquisition in progress'

    Sometimes, I got this error too:

    "Error 0xBFF60022".

    A timeout error occurred while you wait for the specified event. If you expect a picture, check the video data is acquired in the period. If in the meantime the signal, check that the assertion of signal has occurred within the period. »

    I already give enough timeout Fame to the tab settings of Acquisition.

    The MAX version used is 4.5.

    You have an idea on that? Makes simultaneous Imaging MAX support?

    Thank you

    -polarfox

    Thanks for the quick response Bruce.

  • Information from two databases in the same query

    How can I get information from the "of" in addition to a db in a cfquery? for example, say in a db I have their name and in another PB I have their last name..., for example are my DB something like this: name FirstDB db and db I memberNumber, the first name and the name of the comic is SecondDB and in this PB I memberNumber, lastName.
    How can I run a query to collect the name of FirstDB and the name of SecondDB by the memberNumber?

    FirstDB:
    memberNumber 1
    First name Tom
    memberNumber 2
    firstName Patty

    SecondDB:
    memberNumber 1
    lastName Smith
    memberNumber 2
    lastName Dell

    then when I exit the query I could get Tom Smith and Patty Dell

    Thanks in advance for the help...


    SELECT count (*) 2 albums like County, name, city<---city is="" in="" the="" town="">
    Cities of people
    WHERE type = 1
    GROUP BY name

    There are several syntax errors in this example, but I assume that
    It is any example of code written in the message not copied no actual
    running the code. Knowing which becomes a SQL error help know
    where the problem may lie in the actual code.

    You may need to fully qualify your fields in the select clause for that
    the DBMS knows which database table, you want the field to come.

    SELECT page 2 of count (*) County, people.name, towns.city
    People, cities
    WHERE type = 1
    GROUP BY name, city

    OR with aliases:

    SELECT top 2 count (*) AS COUNT, p.name, t.city
    PEOPLE p, t of cities
    WHERE type = 1
    GROUP BY name, city

    You add all the new fields to your GROUP BY clause, correct? He
    It requires that all fields that are not used in aggregate function [such as
    Count()] be included in the GROUP BY clause.

  • I want to loop through the data from two different tables using for loop where the query should be replaced at runtime, please help me

    I have the data into two table with the structure of similar column, I want to loop through the data in these two tables

    based on some condition and runtime that I want to put the query in loop for example, the example is given, please help me

    create table ab (a number, b varchar2 (20));

    Insert into ab

    Select rownum, rownum. "" sample "

    of the double

    connect by level < = 10

    create table bc (a number, b varchar2 (20));

    Insert into BC.

    Select rownum + 1, rownum + 1 | "" sample "

    of the double

    connect by level < = 10

    declare

    l_statement varchar2 (2000);

    Boolean bool;

    Start

    bool: = true;

    If it is true, then

    l_statement: =' select * ab ';

    on the other

    l_statement: =' select * from bc';

    end if

    I'm in execute immediate l_statement - something like that, but I don't know

    loop

    dbms_output.put_line (i.a);

    end loop;

    end;

    Something like that, but this isn't a peace of the code work.

    Try this and adapt according to your needs:

    declare

    l_statement varchar2 (2000);

    c SYS_REFCURSOR;

    l_a number;

    l_b varchar2 (20);

    Boolean bool;

    Start

    bool: = true;

    If it is true, then

    l_statement: = "select a, b, AB;

    on the other

    l_statement: = "select a, b from bc;

    end if;

    --

    Open c for l_statement;

    --

    loop

    extract the c in l_a, l_b;

    When the output c % notfound;

    dbms_output.put_line (l_a |') -' || l_b);

    end loop;

    close c;

    end;

    /

  • Copy the data from two rows together in a new line

    Hello everyone.

    I have a question for copying data from two lines together in a new third line.

    See this short example:

    This is the current situation. The lines STATE_1 and STATE_2 contain different information separate.

    In the past data were recorded at random in one of these lines.

    It's the state table:

    ID Cust_id STATE_1 STATE_2 STATE_3
    188Customer is waiting.Call since yesterday.
    211Mr. Smith, no answer.Wait until December
    311Pls Create PO.Old PO has been cancelled
    45No access to the system.

    Now, everything must be recorded in the STATE_3 void, but I also need than the old entries from the past which must also be copied together in STATE_3

    Like this:

    ID Cust_id STATE_1 STATE_2 STATE_3
    188Customer is waiting.Call since yesterday.Customer is waiting. Call since yesterday
    211Mr. Smith, no answer.Wait until December.Mr. Smith, no answer. Wait until December.
    311Pls Create PO.Old PO has been cancelled.Pls create in. old PO was canceled.
    45No access to the system.No access to the system.

    Y at - it an SQL-easy order?

    Thanks for any help.


    What:

    update set state_3 = state_1 State | » '|| state_2;

    ?

  • How to effectively create a single waveform based on data from two other waveforms?

    I have a table 1 d of waveform with size = 4 which contain data of voltage potentiometer "gross".  I need to handle index 0 & 1 waveform data using the formula below to calculate a single waveform of angle data.   I need to do the same for the 2 & 3 index because it is a redundant circuit.   I was hoping that the formula node can operate on whole berries and even if it may take a table as input, it asks me to the array index in the formula so that it becomes a scalar value.

    As the formula is quite complex, I would like to keep as text, but run automatically on each point of the two input tables.  This math is done online with pulling data from a data acquisition and so I need it to be as effective as possible, so that I do not spend too much time on it and likely to overflow the buffer DAQ.

    The naïve solution would be to wrap nodes formulas with curls, but I don't know if it is this is an effective way to do it.  I'd like suggestions on how best to address this issue.

    Thank you!

    Here's how I would do it with no formula requires knots or loops:

    If you want to use the formula node, you can then run a loop inside each node formula while the index of you through the berries.  The difference in performance between the nodes of the formulas and graphic approach expected to be negligible.  Note that my approach assumes that the table sizes are the same.  You can also create a sub VI to contain the math so you don't have to maintain two copies of the same piece of code.

    Chris M

  • get data from two columns in a column

    Hello

    I need to display the data in two columns in a column, that I would also like to insert a space between the data in two columns in the output

    can I use something like this?

    (IMPORTER_NAME +' ' + IMPORTER_ADDRESS) as a 'place '.

    Your fence.

    to concatenate in oracle using pipes:

    (IMPORTER_NAME||' '||IMPORTER_ADDRESS) as "Location"
    
  • Extraction of data from two tables without discounting

    Hi friends,

    I have a problem I want to extract data from two tables without discount in the text field when I will enter any value in a text field, then the value of corressponding must come to textfield corressponding.

    for example. There are two table A and B.
    Table A has Colunm

    S_ID number;
    C_ID Varchar2 (30);
    VARCHAR2 (4) s;

    Second table B Colunm name

    S_ID number;
    What varchar (30);
    L_Name varchar (20);

    When I enter in a text field then the c_id 101 s_id, dry, first_name and last_name should come to corressponding text without refresh fields.

    How can I do that.

    Thank you
    Maury

    You can use Ajax and there are tons of good examples out there for this purpose;
    For example [http://apex.oracle.com/pls/otn/f?p=31517:236:1876567353842241]

  • Why have I not the calendar option checking / unchecking at two locations in the Prefs system, iCloud and accounts on the Internet?

    Why have I not the calendar option checking / unchecking at two locations in the Prefs system, iCloud and accounts on the Internet?

    Why have I not 2 switches that control the same light fixture in my living room? It's the way it was designed.

  • Import data from a spreadsheet on the web to the Numbers worksheet

    How can I import data from a spreadsheet on the net in a Numbers spreadsheet, keeping its original format? It is not a problem when you use Microsoft Excel or OpenOffice spreadsheet and had no problem when I was with Appleworks6. When I try in number, however, the data which is along a line on the original worksheet comes to the bottom of the left column, which is completely useless.

    copy the line then pasted in numbers (command C and V command) has always worked well.

    The line of values must be copied from a continuous row of cells.

    If you provide a link to a spreadsheet, I can test it on my machine.

Maybe you are looking for