Spread the table 4 d - I give up...!

Hi all

This might be a typical question on Friday afternoon, but I was stuck on this now pretty much all day and close enough to throw the laptop out the window.

The case is as follows

* I've sorted 5 markers in a 4 d array by which I have 5 volumes

* Each volume (marker) contains data sets 5 in 5 pages

* Each dataset is built out of lines and columns of different lengths (less than 10% of the other), but a similar amount of columns.

* Each columns is another measurement channel

The amount of repetitions and markers as well as duration of the measurement of markers is variable.

I now try to way automatically to the data for each channel (column) with the other relevant channel data in a marker.

So, for example, I would like to create a graph of resources (+ stdev) of channel 1, for each marker.

I have attached a picture example for reference, I am using LabVIEW 11.0.1f (yes I know this is acient!) and would really appreciate your help!

Thank you very much

Patrick

Your average isn't too far unless I am struggling to understand what you're trying to average.

Autoindexing is your friend.

Start by autoindexing on the volume/marker (outside of the loop)

Then automatic index in the page/group of data (1st level nested loop)

Then transpose your data set so that the next level will loop on columns.

Then autoindex in each column.

Band of zeros and driving through the deviation Std and Variance.vi.

Automatic indexing on your results for standard deviations and the average and you have a 3D tables where the first clue is marker, hint 2 dataset, 3rd column.

Tags: NI Software

Similar Questions

  • Add columns empty tray to spread the table in the width of the page

    I'm working on a book of hundreds of individual tables, most of which should end by 504 points wide. At present, I the size of each column to the width wider input, subtract a total width of 504, divide by the number of columns in the gutter and then add and size a new column between each existing column.

    It must be scriptable, but I don't know a script. Does anyone know if there is already a script like this?

    Ken Benson

    (After re-reading your messages - I could have read more carefully the first time :))

    This new scriptlet is going more towards what you were asking. So that this works as expected, you resize all columns to its minimum width, leaving a lot of space on the right side. Click your cursor inside the table, and then run the script.

    I think he's following now exactly your current operating instructions - the current width of the table is subtracted from the space remaining (504 points), which is divided over gutter (NumColumns - 1) columns between existing ones.

    aTable = app.selection[0].parent;
    if (aTable.constructor.name == "Cell")
     aTable = app.selection[0].parent.parent;
    extraGutter = (504 - aTable.width)/(aTable.columns.length-1);
    for (a=aTable.columns.length-1; a>=1; a--)
    {
     aTable.columns.add(LocationOptions.BEFORE, aTable.columns[a], {width:extraGutter});
    }
    
  • Select this OPTION to generate XML data from the table using XMLELEMENT, XMLAGG gives error ORA-19011 string buffer too small

    My select statement fails with the error:


    The ORA-19011 string buffer too small


    The select statement looks like:


    SELECT TO_CLOB)

    XMLELEMENT ("accounts",

    XMLELEMENT ("count",

    XMLATTRIBUTES)

    rownum AS "recordId."

    To_date('20130520','YYYYMMDD') AS "datestarted."

    123456 AS "previousBatchId."

    56789 AS 'previousRecordId '.

    ),

    ....

    .... .

    .....

    XMLFOREST)

    SIG_ROLE AS "SignatoryRole."

    To_char(TRANSFER_DATE,'YYYY-mm-DD') AS "TransferDate."

    NVL(Reason,0) AS 'reason '.

    ) AS the 'transfer '.

    )

    ()) AS CRDTRPT

    OF ANY_TABLE;

    • It looks like I can choose only 4000 characters using the SELECT statement (please, correct me if I'm wrong)

    I'd use the XMLGEN package. But the environment team says no mounted drives in the future with the arrival of the EXADATA.

    NO HARD DRIVE MOUNTED, NO ACCESS TO THE DATABASE DIRECTORIES

    No UTL_FILE

    I need to use the REEL spool the resulting XML data of the SELECT query.

    SQL is a standard in my org, but I can do with a PL/SQL solution also to load data into a table (cannot use a COIL with PL/SQL)

    What I do is:

    1. a column of type CLOB to a xml_report of the loading of the above SELECT query table
    2. Then using SELECT * FROM xml_report to SPOOL the data to a file report.xml

    No need of XMLTYPE data behind. Xml data stream is fine for me.

    In addition, I need to validate the XML file, also using XSD.

    Problem is that the resulting lines of the select query are supposed to be from 15000 to 20000 bytes long.

    Oracle database version: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    A Suggestion or a solution to this problem would be appreciated.

    (Sorry for the use of "BOLD", just to make it more readable and highlight the imp points)

    Bravo!

    Rahul

    It looks like I can choose only 4000 characters using the SELECT statement (please, correct me if I'm wrong)

    You use the right method.

    There is an implicit conversion from XMLType to the data type VARCHAR2 as expected by the function TO_CLOB, where the limitation, and the error.

    To serialize XMLType to CLOB, use the XMLSerialize function:

    SELECT XMLSerialize (DOCUMENT

    XMLELEMENT ("accounts",

    ...

    )

    )

    OF ANY_TABLE;

    For the rest of the requirement, I wish you good luck trying to spool the XML correctly.

    You may need to play around with the SET LONG and SET LONGCHUNKSIZE commands to operate.

  • Construction in real time of the table and the data tracing

    Hello

    I have a project in which I am waiting for a message from the chain coming to my serial port that contains two parameters of a voltage sensor compared to the position

    I will then draw two parameters for a XY chart as they arrived at my port to build a chart that is continuously updated with all the points came to the COM port (all from the position of the reading pressure readings).

    I know that to draw the two parameters against each other that I must use the XY-graph and for this, I have to insert my data in the tables first and then give them to the chart.

    The problem is that the message of the series is not at fixed intervals (for example a message now comes, the other may be after 1 minute, then another after one half minute.. .and so on). and the chart should be updated with the points once they arrive (in addition to displaying the previous points too of course).

    I don't know where to start! can someone put me on a track for it?

    Note: I have no problem with the interpretation of the data series, at the end I will have two numeric values which I'll then draw against each other

    Thank you

    One thing that I had not noticed before on your VI is that you use the wrong function when generating data in your table.  You should use table to build.  No insertion in the table which is more intended for stuff that goes in the middle of a table.  And the way you use it, you insert in fact data at the beginning and not at the end.

    I don't know what you have tried and why you think that the circular buffer is not what you want to do.

    Take a look for a function called data queue Pt by Pt that effectively does what you want.

    I will attach a Subvi I used.   I changed it to something that I found.  I think I found somewhere in LabVIEW itself, or an example, maybe the forums, but I can't find the original source.  And I don't see in the comments of the VI. (If anyone knows, please comment.)

  • Additional paragraph in the Table of contents

    I have a table of contents implemented in a framework of three columns of text, and have it configured to balance columns. When I generate the table of contents, it gives me a return of extra paragraph at the end, which has degraded the balance of the column. New York fashion to solve this?

    The COT function always adds that for some reason any and it's annoying.

  • Store an uncertain number of entry in the table

    Hi, I am new to java, and even if I make a practice of the input of entrance of the store array I have a question like this:

    If we want to use the table, we must create the table and require that give us the size of the array.

    For example, if I know I will have ten full entries, I can simply store an array like: int [] intArray = new int [10];

    But what happens if we are not sure about the number of entries, it could be 10, it could be 20.

    Can I create an array with an uncertain size? Or I shouldn't use table to store the entry?

    Collections. And more specifically lists.

    Tables are fine when they are good, but especially you should use Collections. And in this case you should use list.

    List myints = new ArrayList();
    myints.add(1);
    myints.add(15);
    myints.add(-3);
    myints.add(6);
    // etc
    for( int i : myints){
      System.out.println(i);
    }
    

    See: http://download.oracle.com/javase/tutorial/collections/index.html

  • Create record in the Table of results gives error

    Hi all

    Update page there is a table of results with the Add button to create a new line.

    Everything by creating a new record on the table of results gives an error

    The attributes defined for AccessId in the view object xxlcupdvariablesvo1 failed

    I checked the EO and VO attributes, everything seems to be good.
    Updatable also has the value "Always".


    Still don't know why this error is coming.

    Please help resolve this error.


    Thank you
    SK

    SK

    Don't forget that your AO made correctly and you do your from VO of the two OS after this AO. If possible, allow Jdev to create your AO. Try to create is not in manuallly

    Hope it solves your problem

    Thank you
    AJ

  • How to convert a text file and give the table

    Hai

    How to convert a text file and give the data of the table

    ISN'T THERE!

    You must put this

    SET_BLOCK_PROPERTY ('TEST_MS', insert_allowed, property_false);
    SET_BLOCK_PROPERTY ('TEST_MS', update_allowed, property_false);

    just before the last exception...

    Published by: Dora on January 19, 2010 14:54

  • Complete export dashboard in excel gives error generate document in the table view of subtotals

    Hi all

    We have dashboard with several tabs and you try to export the whole dashboard in excel.

    Excel file is generated with all tabs on the dashboard as the leaves, but few of these leaves are empty with error message of document generation in the first cell.

    After further analysis, we concluded that the cause is seen with subtotals on table. PivotTables with subtotals are generated correctly.

    Workaround obvious to re-create the table views in the articulation points is not possible due to a large number of reports.

    We run Oracle Business Intelligence Product Version 11.1.1.7.150120 (Build 150113.1200 64-bit)

    Any ideas or solutions to this problem would be appreciated.

    Thank you;

    Klaudio

    We just found guilty

    Lines per page to display in the table must be 999999999 max which is more than enough for our needs.

  • How to give the table name as input for the insertion procedure parameter

    Hello
    Could a little help in this scenario,
    Here is an example of how to insert,
    where the 'b' table name will change at each
    is there a possible way to keep the name of the table as an input parameter

    SQL > CREATE or REPLACE PROCEDURE PROC_INSERT as
    BEGIN 2
    3 INSERT INTO A
    4 (ID, NAME, LOC)
    5. SELECT ID, NAME, B LOC;
    6 VALIDATION;
    7 END;

    Kind regards
    Vikram

    If you need to pass the object name to a SQL running, you must use dynamic SQL statements.

    A simpler way is the following

    create or replace procedure proc_insert
    (
         pTableName varchar2
    )
    as
    begin
         execute immediate 'insert into a (id, name, loc) select id, name, loc from ' || pTableName;
         commit;
    end;
    
  • Select all checkboxes in the column of the table during the 11 G radio button click

    Hello

    I have a table where I inserted a checkbox in the column of the table. I have two outside this table option button, Yes and no. When I select the option button Yes all the boxes in the table to spread and when I select any option button all the boxes should get deselected. As the boxes are inside the columns of the table, we can use setSelected(). How to do this please give ideas.



    Thank you.

    Hi, Maxim,.

    Is your table based on a view object or some bean code?
    If it is based on the view object, the column Boolean checkbox is bound to some transient attribute?

    Have you tried view iteration object rows (if your table bound to viewobject) /POJO(if created list of pojo instances in bean and bound to table) and by setting the Boolean attribute related to the box to true/false on valueChangeListener option button?

    Can you post an example of code to get an idea of your problem?

    Jean Lou

    Published by: Israel Jean Lou on October 24, 2009 04:50

  • Diagram of authentication with user name / password stored in the Table of the App

    Hi all

    So far, all of our applications have used sign-ON, but I have now spread to allow users from outside of our Organization (and so not in our system OID) to use a specific application.

    So, I have a table in my application that stores the user name and password. I have a function that compares the input of user name and password at this table and returns a Boolean result. This function is then entered in my scheme of authentication as the authentication function.

    This works well and is causing no problem. The problem is that the password is stored and verified to plain text - not very good lie.

    How can I do to change the password of my table column, pages which allow the password to be updated, and authentication which checks the user name / password to use a form of encryption?

    Also, do I need to worry about all the other fields (Page Sentry function to check the authentication session, prerequisite process etc.) that the authentication scheme can offer me - or can I just leave these virgins as they are now.

    If someone can give me a complete "out-of-the-box" solution that would be wonderful - otherwise a good hard pusj in the right direction would be much appreciated.

    Thank you very much
    Martin

    Hello Martin,

    If you discover here the application of Discussion Board, you should find the information you need. This application stores an encrypted version of the password of the user in the table.

    http://www.Oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#Forum

    Good luck
    Don.

    You can reward this answer by marking as being useful or correct :)

  • Generation of the table of all values of 30 at a time

    Hey, I measure all 30 temperature both values and generate the table of values of 30

    every minute...

    How to extract a 30 value at the same time and at the same time! I'm a problem inside!

    Here is a version with simpler data structures. Maybe this can give you some ideas.

  • Edit/delete/add scene coordinates in the table during execution

    Hello world

    I managed to build table allows you to store and record the coordinates of the stage and remind to control steps. However, I need change/remove/add details of scene during execution. I also need to allow the user to directly edit the coordinate from the scene of the array. Wondering what someone knows what is the best way to do it? Or is it better to use the matrix or Cluster? Thanks in advance.

    Best regards

    Han Yen

    Han Yen wrote:

    Thanks much altenbach for all the advice. I tried to do a table 2D control. I've been playing with table in the control. However, I still can't find out how can I detect that I change the data in the table 2D with the more recent issue during execution? How can I then update my current table with the latest data?

    Well, the 2D table is updated immediately and you do not all the other tables.

    Do you mean that you want to update XAbs, etc. where the just changed line is already selected?

    In any case, here's a simple project, perhaps it will give you some ideas. I would recommend using also the tables for XYZPos, entrances etc. and the XYZabs. This simplifies the code because you reduce the number of terminals and table operations.

    Let me know if something is not clear to you.

  • By subtracting the tables

    Hello world

    I have a little trouble with my code. I'm trying to subtract an array of ghosts (background data : lines 1 column x 2048) an array of ghosts of aqcuired (56 columns x 2048 lines).

    I tried to remove the table of column 1 in each column in the largest table, but I had no chance. Does anyone have advice? I want to be yet 56 columns x 2048 lines, the output array.

    Small theoretical example:

    Table background:

    1 2 1 2 3

    Grand Bay:

    1 2 3 4 5

    2 2 2 2 2

    4 3 2 5 1

    5 6 7 6 5

    9 8 9 8 9

    End of table:

    0 1 2 3 4

    0 0 0 0 0

    3 2 1 4 0

    3 4 5 4 3

    6 5 6 5 6

    Thank you

    What do you know about tables and how LabVIEW manages them?  Do you know how bays to work with loops?  If you have a 2D array, and I say ' a loop For you will give the lines one at a time "and you want to make the columns , one at a time, can you think of a table operation that Exchange rows and columns so that you can use the loop For to make the columns, instead?

    Some of these ideas mater in a block diagram, test, see if it works, and if not, the postal code and ask for help.

    Bob Schor

Maybe you are looking for

  • HP PAVILION 15 NOTE BOOK PC: my C: DRIVE SHOWING in COLOR RED

    My C: drive shows 20 of 226 GB GB. Three days back I had contacted the HP support team they had restored my pc to this day 21/08/2016. However, the problem persists. All this looks after that I instaled the MAcfee antivirus soft ware. When I tired to

  • Satellite L450 - how to view content streamed on an old television?

    Hello I was wondering if anyone can help. I have a Satellite L4500-13 x and would like to know if it is possible to view the streamed content on an old TV from my laptop for example YouTube. My TV just got a RCA inputs.I have a port external monitor

  • I want to know what game engine has to do age of Mythology.

    Hello, my name in Bret. I am an average student above, and I need help. I played most of your games and I'm interested in 1 in particular, Age of Mythology. I wanted to know what was your game engine I have an idea of game, is a game similar to your

  • Wired router with POE and Gigabit ethernet to run two AC1750 access points?

    Hello, I'm looking for a recommendation for a wired router with POE and Gigabit ethernet to connect to both access to ceiling LinkSys AC1750 points internet routing on the WAN to a Virgin Media UK cable connection plug - can someone advise a good sol

  • 10.2 beta problem

    I've updated Blackberry 10.2 and I try to run an application of 10 Z on my Z 10 aircraft since the QNX development environment. I get this error: result::failure 533 system request - requires: version forbidden, want (10, 2, 0, 0) have (10, 0, 10, 68