How to build a table in a master/slave relationship?

Hello NOR community,

I can't build a table in a master/slave relationship. I want two paintings to be built for a fixed amount of iterations, once press the 'pressurization '. (This data acquisition would occur only once per program). I am new to Labview so I apologize in advance for my layout disorder.

I want the slave program to create two tables and analyse the slope of pressurization to arrive at the same time as the master's program and the master program to continue to acquire data of pressure.

Master slave relationship is even necessary here? How to pass a variable (pressure main once a loop without getting stuck in a nested loop situation?


Here is a small example, just to show an idea (many things is not optimal in this example!). Based on your VI you have attached, you miss a lot of basic concepts of LabVIEW, you go through online training.

Tags: NI Software

Similar Questions

  • How to build a table of TDMS file open


    Examples NI TDMS - Express write data .vi (time domain), I can build a PDM file with 2 channels (sine and square waveforms) data, which are stored as test.tdms.

    Using Express read .vi data (time domain), 2 channels of waveform data are read. How to build a table later? How to separate the 2 channels of data in the tables 1-2 and manipulate the data using table functions?

    For example,.

    I want to collect 100 from index100 between channel 0 and their average. I want to take 50 samples from the channel 50 1 index and double each element.

    Thank you for your help.

    [email protected]

    Hey Bing.

    You can perform operations on different channels in the 2D table using the table to index. This will allow you to choose the channel to operate on, then you can perform the operation inside a loop on each element. In the included code snippet, I used a shift register to find the total cumulative values in channel 0 and then divided by the number of samples.

    I recommend you read some tutorials LabVIEW and bases of knowledge on topics that are related to yours. These could help a lot.

    I hope that my suggestions help,


  • How to build a table using incoming data stream?

    I'm programming in VBAI but use LV as my Interface of Inspection. The VBAI program will go into a finite loop (x 1000) and the digital indicator with dbl vaule of food in front of the LV Panel if the value double is in order.

    In LV, how to build a table (index 0-999) with this stream?

  • How to build the table with all the combinations of a source table?


    I have a 2D array that contains the list of the power user-defined settings. The number of PSs (table rows) is not fixed. For example - 3 PSs:

    Stage of Min Max name

    PS1 3.0 3.6 0.3

    PS2 0.9 1.2 0.1

    PS3 1.7 1.9 0.1

    I need to build, from this list, a table of all the combinations as below:

    PS1 PS2 PS3

    3.0 0.9 1.7

    3.0 0.9 1.8

    3.0 0.9 1.9

    3.0 1.0 1.7

    3.0 1.0 1.8

    3.0 1.0 1.9

    3.0 1.1 1.7

    3.0 1.1 1.8

    3.0 1.1 1.9

    3.0 1.2-1.7

    3.0 1.2-1.8

    3.0 1.2-1.9

    3.3 0.9 1.7

    3.3 0.9 1.8

    3.3 0.9 1.9

    3.3 1.0 1.7

    3.3 1.0 1.8

    3.3 1.0 1.9

    3.3 1.1 1.7

    3.3 1.1 1.8

    3.3 1.1 1.9

    3.3 1.2 1.7

    3.3 1.2 1.8

    3.3 1.2 1.9

    3.6 0.9 1.7

    3.6 0.9 1.8

    3.6 0.9 1.9

    3.6 1.0 1.7

    3.6 1.0 1.8

    3.6 1.0 1.9

    3.6 1.1 1.7

    3.6 1.8 1.1

    3.6 1.1 1.9

    3.6 1.2 1.7

    3.6 1.2 1.8

    3.6 1.2 1.9

    How to build this table programmatically?

    (Note also that the number of rows in the source table is not fixed).

    Thanks in advance!

    Hi Berezka,

    using a magic of automatic indexing:

  • How to build a table of measured data permanently

    Have a good day for everyone,

    I have a problem about the construction of a table permanently. I tried to find the solution for a long time, even if it's a task really simle.

    I want to build a table permanently, virtually:

    I like to read data from a measuring devices and I would like to sotre it one by one, at all times. I made a simple VI to present one where my problem is. The random generator represents the data given the measuring device.

    At currently I am able to store data only 1. When I want to store then that it is crushed.

    Thanks for anyone who can help me.

    Hi LIG.

    no need for a structure business when you can use autoindexing:

    Also, the code snippet shows how to convert a number in your reading string. You probably prefer tanks instead of integers...

  • How to build a table inside a loop

    Hello world

    I have a fundamental question on labview. I would like to create a table in a loop 'for' in this way:

    inside the loop, if a condition named 'A' is true, then I add a new value to the first column of the table.  Otherwise, I have create a new column and start adding values in this column when the condition 'A' is checked, etc.

    I put an example of a VI when the 'A' condition is "improving the loop + 1 is not divisible by 5" and the values in the tables are to increase the loop + 1. The loop stops when the increment = 25.

    In this example, I have a single column with the values [1 2 3 4 6 7 8 9 11 12 13 14 16 17 18 19 21 22 23 24]

    while I wish I had a table of 5 columns:

    1 6 11 16 21

    2 7 12 17 22

    3 8 13 18 23

    4 9 14 19 24

    Note that this is just an example. More generally, the table may contain columns of different lengths.

    Thanks for your response


    Try to watch this VI I wrote, it takes a 1 d array and puts it into a 2D array based on a threshold. I think it's a pretty good example on how to insert a table of works. I hope it helps

  • How to build a table of clusters?

    I am building a mapping application room of the robot, Mindstorms NXT using LabVIEW for LEGO MINDSTORMS.

    The VI attached shows the initial computer segment.  The IR sensor is driven by stepper motor, and the range and Angle of the measures are carried out at intervals of 1 degree.  Data coordinating cylindrical (range, Angle) are then converted into Cartesian coordinates (X, Y), and it is my desire to collect each (X, Y, Angle) in a cluster, and then create a table of cluster to give me a file that will be transmitted through Bluetooth, the NXT to the computer where it will be displayed.

    On the fron Panel, I created a cluster 3 of the housing and on the block diagram, I created a table with a data type of cluster 3 pins and the array index wired to the loop index.  However, I get erroes everytime that I plug the cluster and the big picture.  My intention is that the table will index every cycle of the While loop.  What I am doing wrong?

    Thank you once again, Ethan (or appear to have been applied permanently to my case).  Anyone who purchases of LabVIEW for LEGO MINDSTORMS has too much trouble I feel?  Why the product is provided with no step by step user documentation?

  • How to build a table that can be filled in by the user?

    I am building a form where the user can easily add a quantity to order a size. I was not able to do other than the addition of a text field for each option. You can create a table that would do the same thing (see my example below)? Better yet, is it possible to get it altogether? Any ideas appreciated!






    A style

    Style B


    You already have a good start to generate the table. All you need to do is change the cells of static text in a numeric field or text field. You can do so by dragging a numericField library of objects and place it inside the cell.

    Once you have the digital field in place, you can change the properties, police, alignment, currency, validation, etc. Then copy and paste the field in similar cells and change names, e.g. A_small, B_small etc.

    The field 'Total' digital could have a Formcalc in the calculate event:

    $ = A_small + A_med + A_large + A_xl

    It is based on a static table where design you all the lines that will be accessible to the user.

    You can also configure dynamic tables where the EBU can add extra lines. There are many good examples using the LC and the forums.

    Good luck


  • How to build a table of TDMS files 2D


    I'm doing a picture 2D on a group of channels in a PDM file, so that I can see is similar to the way Excel displays the file in a table format. Next, I would deal with more of the 2-D array elements. I can not turn it into a table using the DDHN reading VI that I get the error-2532, cannot convert to the specified format. I thought that treat the file as a table 2D channels would work, but apparently it is not.

    Thank you


    OK, your culprit is the first channel (time).  This is a timestamp, while other channels are double.  So you can follow this code in order to read all channels in a 2D array.  From there, you can convert to a string.  You can read the string hour separately if you wish.

  • ADF:how update attribute of link seen in master-detail relationship.

    Hi all

    I use jdev version.

    I created a form master / detail using view link. My requirement is the Key attribute update sacrificed on Master table and same attribute on table automatically put details far because it fits on the link attribute.

    but his past when I change attribute link view main table, detail line stop display table.

    Thanks in advance


    Your link on the association and for this assoc basic display, check the key attributes of the Cascade Update:

  • How can I write time to build the table in just a few seconds?

    Hello world

    I am able to use "elapsed time" to send a time stamp to "build the table" using the output of 'elapsed time to text.  But after 59 seconds, it gives then a minute.  In the excel file, it is as follows:

    0 00:00:59

    0 00:01:00

    0 00:01:01

    I want to continue to 60, 61 seconds and so fourth.  When I try to connect to an another Subvi, it gives me a connection error.  Any help would be greatly appreciated?

    Thank you


    I guess that's the Express VI, you can use the output of the time elapsed (s) instead of the number of seconds passed.  If you want a string, use the Format String VI, or build an array of DBL to add to the rest of your data.

  • How to fill a table only if a case statement runs?

    Hello. I want to have a while loop with a case statement. When the case is true, it should read the analog data each iteration of the while loop via Daqmx and store these values in a table. If the case is wrong, I don't want to read all the data or to store anything else in the table. When the loop is finished, I want to have this available table to write to a file or something. How can I go about it?

    Search for a "shift register. This will hold your data. In the case of fake feed the data in the table back through without change. In the case of true add the new value in the table to "build the table" or even better "subset of the table to replace' for a defined table size.

  • Build a table 1 d of sequential data for analysis

    I have an executable that needs to cycle at least 10 times and then check to see if the last three load average values lower than 5%. If so, I can cancel the executable, but otherwise I have to keep cycling until this is true. As it is now my executable is not fully implemented for this last requirement because I'm stumbling over how to build my data table. I tried a few methods different but all keep changing one value with one another, and I'm not sure how to implement some of the loop I saw here in similar cases. I have now so I can build a table once my iterative loop is finished, but I wish it were on the fly and re-enter the cyling process if necessary.

    I would greatly appreciate any help someone who is actually competent could provide. I have attached the code (version 8.5).

    Let's try this one.

    In the table of construction (with the concantinate mode on...) new data are added to the table first, not the last.

    The table is based and as it builds, the first (latest additions) three elements are averaged and then checked against a constraint of difference you set on the top of the screen.

    Sorry for the first code... I have yet to understand all these things of table.

    It works as expected.

  • How to create a table 2D % 3F

    How to create and write a 2D array?  I have two operations in the same loop.  Each execution of the loop must generate a new pair of values.

    However, the ARRAY function BUILD outputs only a table 1 d to the to WRITE to worksheet.

    Perhaps, more broadly, how you put data in a 2D array as they were collected?  I think I build two low tables simultaneously, but, what I really want, is to build a 2D array.  This is how you would?  It looks awkward linking sequential TABLE BUILD together.  Is it creating a 2D I can later search by index and return the matched data?

    Finally, why my front panel indicator only displays the data in the first column?  How can I view the data collected through the lines?

    Thank you


    dav2010 wrote:

    Sorry, very simple-minded here... How are the pairs in the form of a 1 d array?  I thought that (x, y) data must be a 2D array... a 'x' column and a column of 'y '?  A 1 d array wouldn't just all x?  I admit I am pretty new to understanding bays.

    "build your table 1 d from two scalars"--> How are you doing this?  I can't find "converted to the scalar" on the pallet.

    Also, here is the vi saved until 2009, I think.


    Here's a more simple, just write on your X and Y as a 1 d array each iteration. Writing allows you to add your data as a column of x and one column of Y:

    or generate all your values and then write once:

    (attach the cut wire).

  • How to find the tables placed only on pages.

    Hi experts,

    I find all the tables in the document (no XML Indd file.) .indd There is only a certain number of tables. And a table in the master page also. Now I'm trying to get back only the tables except the master page. How can I got it?

    I used the following code. But it is not working properly.

    var myTables is app.activeDocument.stories.everyItem () .tables;.


    var myTableCount = myTables.length;

    Alert (myTableCount);

    for (var i = 0; i < myTableCount; i ++) {}

    var myTableObj = myTables [i];

    Alert (myTableObj.parent);



    var = XXX;

    If (xxx.match("^[0-9]+$"))


    Alert ('table');

    myTableObj.label = 'table' +(i+1);


    on the other


    Alert ("Master Page table");



    catch (e)


    Alert (e.message);



    Always throw catch loop...

    Can someone guide me...!

    Thank you and best regards,


    Hi Peter,.

    Finally, I close with the codes below. It make me fight a lot...

    var pagelen = app.activeDocument.pages.length;

    Alert (pagelen);

    for (var i = 0; i)<>


    var pageitemlen = app.activeDocument.pages [i].pageItems.length;

    for (var j = 0; j)<>


    v var = app.activeDocument.pages [i] .pageItems [j] .tables;

    Alert (v.Length);

    for (var x = 0; x)<>


    App.Select (v [x]);                                                      Here, I can select.

    App.Selection [0] .label = "table" + count;

    Count ++;

    myTables.push (v [i]);




    Peter, thank you very much for your time in Golden for my problem...

    With respect,


Maybe you are looking for

  • Microsoft will Force Windows 10 on compatible Satellite L830-16W

    I know the title of the thread seems stupid, but read web reports MS really want people out of Windows 8.1. I have a Toshiba Satellite L830-16W, which thanks to Toshiba, is not compatible Windows 10. Very disappointed Toshiba may not be disturbed, ma

  • The TV Stor.E support .mkb files?

    Hi there, hope someone can help you.The TV Stor.E support .mkb files?

  • How to replace the output buffer?

    I'm a generation of finite signals 2 lanes on a0 and a1. I want to change one or the other of the waveforms at various times during the program and sometimes I have to be able to overwrite the contents of the buffer with a new set of data until the g

  • unknown code 646... error

    "code 646: Windows has encountered an unknown error." It happens all the time on this computer and it gets old. My security updates do not update.

  • boot error 2000-0141

    I have a dimension xps 420. 3-4 months. It worked perfectly until this morning. yesterday, I installed a game that went very well. but the computer is restarted apparently a drive could not be found and the error code 2000-0141 appeared. Ive has diag