How to build the table with all the combinations of a source table?
Hello
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:
Tags: NI Software
Similar Questions
-
How to build executable labview with all dependencies and libraries contained in .exe
Hello
I developed an application that uses several external libraries: JKI JSON string, Datagrid, etc... Under the build properties destinations, I select Main.exe. Under source code file settings, I have everything marked 'Set destinations for all content items' = Main.exe, 'Set destinations for packaged and shared libraries' = Main.exe.
However, when the build is finished, I still find that JKI libraries are still in separate folders. There are literally dozens of JKI files, each of them contains 1 or 2 screws in addition, the same for the equipment operators.
What I missed and how do I fix?
Thank you!
What LV version do you use?
Make sure that you have not accidentally checked the box 'use LabVIEW 8.x file layout' in your build script.
Norbert
-
How to build the current controlled current source
I want to check my solution using multisim, however, I don't know how to build a circuit containing the current controlled current source. Hope someone can help me. Thanks in advance
.
The current direction must be placed between the the + 12V and 24 ohms resistance.
I just made the circuit and if you make the change, you will see that you are right in your calculation.
-
How to build a table of TDMS file open
Hello
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.
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,
Chris
-
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 project with library error in adf adf
Hello
IM using jdev 11.1.2.3
in my project I module 2 so we need to build the project with adf dependency libraries...
Two copies of the way to build the project with trial and error in adf adf
Timo
-
How to build the Applet Toolbox
Dear friends
For now, I'm starting with the applet from the Toolbox. In fact, I don't know how to build them, or run them as a demo even if I had a lot of examples on the internet.
I know that there is an IDE called Developer Suite, which is developed by Gemalto, providing the necessary facilities to write applets toolkit to build and execution. However, this tool is loaded and not free as long as Netbeans or Eclipse.
My question is: How can I build and run a toolkit applet without buy Developer Suite?
P/S: from the internet, I now sim.toolkit. * and sim.access. * two packages. Can I write a box applet tools on Notepad and use the ANT TASK packages (I know ANT is very useful) to build the toolkit to the CAP file applet? If so, how? : DHello
You should be able to process packets of the Toolbox like any other Java Card library. As long as you have the class files for compiling against and EXP to convert you files can use ANT or even the simple command line tools. Treat these libraries exactly as you would for the JC API and you should be fine.
See you soon,.
Shane -
How to build the query SQL for indexes work based on data - dict.?
Hello
I want to build the index 'create' - statement to all indexes have worked-based on the data dictionary.
For example:
create indexes tab1.ind1
on tab1 (lower (col3), lower (col1), col2, col4)
Tablespace "index."
I know I'll find all needed information views all_indexes, all_ind_columns and all_ind_expressions. During the generation of the create statement for the index of the order of the indexed columns must be correct (the order of the indexed column can be achieved using the "position_colonne" column of seen all_ind_columns and all_ind_expressions). But what would be the best way to provide all the necessary information in the right order?
One way would be a PLSQL procedure that puts it all together - but is it possible to use a single SQL statement?
Any help will be appreciated.
Rgds
JHYou can try using DBMS_METADATA. GET_DDL:
SQL> show user; USER is "TEST" SQL> drop table t; Table dropped. SQL> create table t(x varchar2(10)); Table created. SQL> create index i on t(upper(x)); Index created. SQL> select dbms_metadata.get_ddl('INDEX','I','TEST') from dual; DBMS_METADATA.GET_DDL('INDEX','I','TEST') -------------------------------------------------------------------------------- CREATE INDEX "TEST"."I" ON "TEST"."T" (UPPER("X")) PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS"
-
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 URL with Checksum in "JAVASCRIPT"?
Hi all..
Could someone help me how to construct a URL with "checksum" in javascript?
With PL/SQL, we can use apex_util.prepare_url to get the url with checksum. How can I make if I build the URL in javascript?
Please help me with this.
Thank youHello
Just an idea, in your javascript code, you can call an ajax function to construct your URL with PL/SQL code and then return the URL and use it in your javascript code.
I have never tried but maybe works.Kind regards
SDDC -
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
Andrew
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 an equation with variables
I want to solve an equation below shows zero finder vi by the Newton Raphson:
z a * b * c * exp(-z/a),.
a, b, and c are variables
I can build the equation with constant a, b, c, but how do I build it?
Thank you very much!
Use the number to the string functions in the palette of string with the antiderivative of string concatenation to create a formula with your values of a, b and c. Read the detailed help for more information about limitations on the variable names carefully. 'z' is the only variable in your formula for the detector zero. Example is LV2009.
Lynn
-
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.
-
How can I transcode images with all 4 audio channels of P2?
I'm in transition from FCP7 to Premiere Pro CS6, and one of the single crash that I meet is transcoding P2 footage and keep all the 4 audio channels separated. I can't find a way where prelude compresses all 4 channels in 2. My workflow so far has been to use Final Cut Pro to transcode my images in ProRes with all 4 audio channels and then only put in first to edit. Needless to say, I don't want to have to keep doing it this way. Thanks for your help!
Hello
You will need to update your Adobe encoder support and Adobe prelude to the latest versions: 6.02. Update of the prelude was disclosed last week, and I believe that the SOUL is also available.
This issue has been corrected in SOUL 6.02.
You can update directly from each application via the menu or you can visit the page of each product on adobe.comhttp://adobe.com> and get the updates it.
I hope this helps.
Michael
Sent from my iPhone
-
How to build the file manager with cascade?
Guy of Halo,
How can IM new with waterfall, I build a file manager with cascade? is there a lesson or sample
Thank you
concerning
Hello
Can you clarify a little more what you mean by FileManager? Do you want the opportunity to browse and select files? If so, take a look at this thread. http://supportforums.BlackBerry.com/T5/Cascades-development/using-native-FileBrowse-and-FileSave-dia...
See you soon
Swann
Maybe you are looking for
-
MacBook Pro running slow even after upgrade
I have a MacBook Pro 13 inch model mid 2012, which had 4 GB of RAM, 500 GB hard drive, processor i5 2.5 Ghz, Intel HD Graphics 4000 1536 MB and running on OSX El Capitan version 10.11.5. I upgraded my RAM from 4 GB to 8 GB, still my Mac is slow. Apps
-
Simply upgrade Window8. Massage appear: mfc110u.dll is missing. Please let me know why this error arise as system error & how to solve. Anil
-
Measure the voltage and the temperature simultaneously with PCI-6281
Measure the voltage and the temperature at the same time at the same time. However, when I put the voltage and temperature in a loop, the acquisition of voltage is significantly delayed. When I put the voltage and temperature in two different loop, n
-
Sorry for the use of this thread I can't find a way to post new problem. How amplitude and level VI calculates RMS calue for multi-frequency signals. For your unique, Vrms = Vpeak/sqrt (2) gives same result but for multi-frequency signals, is not mat
-
My bb bold blackBerry smartphones get more heated and stops loading
I have a bb bold 9780 which is about 9 months old... recently I started having this problem with my battery to reach extreme temperatures of 45 c and then sign shows a card that supposed to happen when my battery is fully charged, but gets to 40% and