Tracing of data from a source of problems

Visual Studio 2010, Measurement Studio 2010 standard, c#, .NET

I made a new NI Windows (application forms). Added a MySQL database as a data source, added to a table control to verify the data are there... Yes displayed fine.

Then, I put in a WaveformGraph OR. Right-click, properties, data, databindings, data binding and added the Datasouce.

Don't compile, nothing, no plot.

any ideas?

I'll write here what it was is available for any other beginner c# who may have the same problem.

The problem was my understanding of the works of the 'link '. I had the thin binding to the database configuration, but the values were not reading. I ended up doing this:

' private void load_DB_data_and_plot (object sender, EventArgs e)
{
waveformPlot2.PlotY (getCol ("meter_out"));

}

Private double [] getCol (string column-name)
{
int col_index = 0;
foreach (DataColumn col in getColumns())
If (col. ColumnName is column-name)
col_index = getColumns(). IndexOf (col);

Double [] values = double [getRows (new). Length];
for (int i = 0; i)< getrows().length;="">
{
values [i] = Convert.ToDouble (getRows () [i]. ItemArray [col_index]);
}
return values;
}

Tags: NI Software

Similar Questions

  • L50-A-19N satellite can not read audio data from multiple sources

    I can't read the audio data from multiple sources. It is very annoying when I have 2 youtube videos, playing, if I start playing something on the media player, there is no sound on media player, it's the same when I have 2 open media players and 1 youtube video playing, youtube video has no sound...
    It disappears when I plug my headphones...

    I already have all the latest drivers, the DTS driver was last updated was in 2014, his day of February of this year...






    25/02/14

    DTS Inc. Windows 8.1 - 64 Bit 1.01.2700

    I don't know if this has the feel, but I had his most recent DTS driver that I found, it is not my laptop model, but they all seem to be the same - v1.1.88.0
    I uninstalled the DTS software and still had the same problem, then it is irrelevant on its driver somehow...






    02/10/15

    Integrated Device Technology Inc. Windows 8.1 - 64 Bit 6.10.6491.0

    Audio driver IDT has more recent release date, but the version of the driver is the same as the 2013 one...
    Why the older drivers of toshiba releaseing as 'NEW '?

    2nd is my Advanced settings speakers, nothing has changed when I disabled "allow applications to take exclusive control of this device.

    Sorry but I don't understand your problem.
    I tested it on my machine and if I start the music on three different sources (YouTube, player, web radio) I can hear all together, but it makes no sense to listen to music from different sources.

    Or how do understand you?

  • 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 migrate data from a source to multiple targets (tables)?

    How to migrate data from a source to multiple targets (tables)? Describe the General steps, please or point me to a tutorial

    Yes, a table in a mapping element can be source and target at the same time (i.e. a target can be reused as a source for the rest of the map on the right side of the table).

    Don't forget to check the order of loading (in the property map), to ensure that the reused as source is loaded before the final table target table.

    I tested it and it works. However, the documentation is not said in the link I gave you above:

    "Each element of data store that has entries but no exits in the logical diagram is considered a target."

    Usually, I tend not to do. I am in favour of a Divide and Conquer approach and try to have my mapping as simple as possible. It is easier to debug and maintain.

  • Generic procedure to load the data from the source to the table target

    Hi all

    I want to create a generic procedure to load data of X number of the source table to X number of the target table.

    such as:

    Source1-> Target1

    Source2-> Target2

    -> Target3 Source3

    Each target table has the same structure as the source table.

    The indexes are same as well. Constraint are not predefined in the source or target tables.there is no involved in loading the data from the business logic.

    It would simply add.

    This procedure will be scheduled during off hours and probably only once in a month.

    I created a procedure that does this, and not like:

    (1) make a contribution to the procedure as Source and target table.

    (2) find the index in the target table.

    (3) get the metadata of the target table indexes and pick up.

    (4) delete the index above.

    (5) load the data from the source to the target (Append).

    (6) Re-create the indexes on the target table by using the collection of meta data.

    (7) delete the records in the source table.

    sample proc as: (logging of errors is missing)

    CREATE or REPLACE PROCEDURE PP_LOAD_SOURCE_TARGET (p_source_table IN VARCHAR2,

    p_target_table IN VARCHAR2)

    IS

    V_varchar_tbl. ARRAY TYPE IS VARCHAR2 (32);

    l_varchar_tbl v_varchar_tbl;

    TYPE v_clob_tbl_ind IS TABLE OF VARCHAR2 (32767) INDEX OF PLS_INTEGER;

    l_clob_tbl_ind v_clob_tbl_ind;

    g_owner CONSTANT VARCHAR2 (10): = 'STG '.

    CONSTANT VARCHAR2 G_OBJECT (6): = 'INDEX ';

    BEGIN

    SELECT DISTINCT INDEX_NAME BULK COLLECT

    IN l_varchar_tbl

    OF ALL_INDEXES

    WHERE table_name = p_target_table

    AND the OWNER = g_owner;

    FOR k IN l_varchar_tbl. FIRST... l_varchar_tbl. LAST LOOP

    SELECT DBMS_METADATA. GET_DDL (g_object,

    l_varchar_tbl (k),

    g_owner)

    IN l_clob_tbl_ind (k)

    FROM DUAL;

    END LOOP;

    BECAUSE me IN l_varchar_tbl. FIRST... l_varchar_tbl. LAST LOOP

    RUN IMMEDIATELY "DROP INDEX ' |" l_varchar_tbl (i);

    DBMS_OUTPUT. PUT_LINE (' INDEXED DROPED AS :'|| l_varchar_tbl (i));

    END LOOP;

    RUN IMMEDIATELY ' INSERT / * + APPEND * / INTO ' | p_target_table |

    ' SELECT * FROM ' | '. p_source_table;

    COMMIT;

    FOR s IN l_clob_tbl_ind. FIRST... l_clob_tbl_ind LAST LOOP.

    EXECUTE IMMEDIATE l_clob_tbl_ind (s);

    END LOOP;

    RUN IMMEDIATELY 'TRUNCATE TABLE ' | p_source_table;

    END PP_LOAD_SOURCE_TARGET;

    I want to know:

    1 has anyone put up a similar solution if yes what kind of challenges have to face.

    2. it is a good approach.

    3. How can I minimize the failure of the data load.

    Why not just

    create table to check-in as

    Select "SOURCE1" source, targets "TARGET1", 'Y' union flag double all the

    Select "SOURCE2', 'TARGET2', 'Y' in all the double union

    Select "SOURCE3', 'Target3', 'Y' in all the double union

    Select "SOURCE4', 'TARGET4', 'Y' in all the double union

    Select 'Source.5', 'TARGET5', 'Y' in double

    SOURCE TARGET FLAG
    SOURCE1 TARGET1 THERE
    SOURCE2 TARGET2 THERE
    SOURCE3 TARGET3 THERE
    SOURCE4 TARGET4 THERE
    SOURCE.5 TARGET5 THERE

    declare

    the_command varchar2 (1000);

    Start

    for r in (select source, target of the archiving of the pavilion where = 'Y')

    loop

    the_command: = "insert / * + append * / into ' |" r.Target | ' Select * from ' | '. r.source;

    dbms_output.put_line (the_command);

    -execution immediate the_command;

    the_command: = 'truncate table ' | r.source | "drop storage."

    dbms_output.put_line (the_command);

    -execution immediate the_command;

    dbms_output.put_line(r.source ||) 'table transformed');

    end loop;

    end;

    Insert / * + append * / into select destination1 * source1

    truncate table SOURCE1 drop storage

    Treated SOURCE1 table

    Insert / * + append * / to select TARGET2 * in SOURCE2

    truncate table SOURCE2 drop storage

    Treated SOURCE2 table

    Insert / * + append * / into select target3 * of SOURCE3

    truncate table SOURCE3 drop storage

    Treated SOURCE3 table

    Insert / * + append * / into TARGET4 select * from SOURCE4

    truncate table SOURCE4 drop storage

    Table treated SOURCE4

    Insert / * + append * / into TARGET5 select * from source.5

    truncate table source.5 drop storage

    Treated source.5 table

    Concerning

    Etbin

  • Is this possible in E10 to extract data from traffic source Web site for a subset of pages on a site?

    I know that there are ways to draw search engine data, data of social media and then the site as a whole, but I'm looking for the ability to find data from sources of traffic for a specified page of a site group. Is this possible in Eloqua 10? Thank you

    Hi Melissa,

    I think that's what you're looking for:

    If you run the report Page Navigations of Insight, you can then filter on "Web Page" choose only the subset of pages on which you are interested to report. The report will then show you all the previous pages (traffic sources) that were visited before visiting an of these subset of pages. The only downside is that it shows it as a 1:1, it will show all the previous pages for Page A, all the previous pages for Page B, etc. - so you can see the same previous page on the list several times. You can export to Excel, however, and twist a little bit for us hopefully get final report wanted.

    Hope that helps!

    Kim

  • Aggregation of data from multiple sources with BSE

    Hello

    I want to aggregate data from multiple data sources with a BSE service and after this call a bpel with a process of construction of these data.
    1 read data from the data source (dbadapter-select-call)
    2. read data from the data source B (dbadapter-select-call)
    3 assemble the data in xsl-equiped
    4. call bpel

    Is this possible? How can I get data from the first call and the second call to conversion data? If I receive data from the second call, the first call data seem to be lost.

    Any ideas?
    Gregor

    Gregor,

    It seems that this aggregation of data is not possible in the BSE. This can be done in BPEL too using only assigned but not using transformations. I tried to use transformations by giving the third argument to the function ora: processXSLT. But couldnot get the desired result.

    For more information on the passage of a second variable (of another schema) as a parameter to xslt pls refer to the post office

    http://blogs.Oracle.com/rammenon/2007/05/

    and the bug fix 'passage BPEL Variable content in XSLT as parameters'.

    Hope this helps you.

    Thank you, Vincent.

  • Tracing of data from CSV file to XY Chart

    Hi all

    I need to read data from a worksheet (*.) CSV) and then to trace in LabVIEW.

    The file contains three values

    Time, Date, temperature value

    For example, here are the Logs.

    16:46:59,31/01/14,+018.2C
    16:47:59,31/01/14,+018.2C
    16:48:59,31/01/14,+018.2C
    16:49:59,31/01/14,+018.2C
    16:50:59,31/01/14,+018.5C
    16:51:59,31/01/14,+018.5C
    16:52:59,31/01/14,+018.5C
    16:53:59,31/01/14,+018.5C
    16:54:59,31/01/14,+018.5C
    16:56:40,31/01/14,+018.5C
    16:57:40,31/01/14,+018.5C

    .

    .

    .

    .

    .

    .

    23:51:24,31/01/14,+015.0C
    23:52:24,31/01/14,+015.0C
    23:53:24,31/01/14,+015.0C
    23:54:24,31/01/14,+015.0C
    23:55:36,31/01/14,+015.0C
    23:56:44,31/01/14,+015.0C
    23:57:44,31/01/14,+014.6C
    23:58:44,31/01/14,+015.0C
    23:59:44,31/01/14,+015.0C

    What I have to do is create a VI in LabVIEW to visualize these data.

    I did it as below:

    It seems correct, but the x axis is the axis of time and 16:46:59 it's just to show 16, I know that I have not done something to handle this.

    But I'm not able to find what I can do in this case.

    Please suggest how to get exact values full time on the x-axis.

    Code of your VI contains a bit of 'orphan' reading of the worksheet"which has wired the file path.  Diagram-disable (or remove) this superfluous code and your VI will work very well with Temp.txt in control of the path of the file.

    Bob Schor

  • Data from the source of data in JavaScript

    I have the following in my QML:

            DataSource {
                id: dataSource
                source: "asset:///db.db"
                query: "select * from teams where id = 1"
                onDataLoaded: {
    
                }
            }
    

    In the function onDataLoaded, we have the variable 'data '. How to extract confidential data and insert them into the normal JS variables.

    Hello

    For SQL queries, data is a list of the cards. Code examples for an iteration of the list and access to the fields:

    property string someProperty
    
    [...]
    
    onDataLoaded: {
      for (var i = 0; i < data.length; ++i)
      {
        var t = data[i]
        console.log("data[i]=" + t);
    
        // access fields as t.fieldname    // if (t.fieldname == ".....")    //   someProperty = t.someOtherfield
      }
    }
    
  • Integration of data from external sources (xml, webservice)

    is it possible to supply the content of DPS to an XML (or other data source)?

    You cannot directly import XML or other data sources in DPS, however, there are many options for the style of the content into the system. Assuming that you are talking about DPS 2015, all what you need to do is to convert your data to HTML format, then use packaging article HTML tool to generate a .article to the HTML file. This can be a manual or automated process. For example, there are plugins for Wordpress that automate this workflow to make Wordpress posts and ingest them in 2015 of DPS.

    Neil

  • Plot data from several sources in table of graphs

    Hello! I get 1250 pixel data and I want to plot the data for each pixel in a different chart. Each time, I get a data word and one word for the address of the pixel just, how do I trace these in an array of graphics? (Or the other table 1 d of 1250 graphics or table 2D 50 25 columns x lines).

    When there was less that I used a case structure and graphics I would wire the address pixel in the selector of the case, now what can I do?

    Any suggestions would be helpful, thanks.

    Practically speaking it is not not possible to see 1250 chart 1 shot so its no need to have a lot of graphics. What we do in this situation is usually to initialize an array of elements of 1250 and replace these items when you receive data in a particular order. At the same time have a ring to control and update the name of items in the same order as you update the table. Now pass the array of values in the index table and connect control of the ring to the terminal index and connect the output to the curve. So when you select an item, you will be able to see the value of this element in particular.

  • Use the data from a DataSet as a source for another (the join between the sets of data)

    Hello. I come with a problem, very simple, but which I think is not implemented in the beer Pub.

    In the DataModel, I create a DataSet, providing some data (for example, a string from a web service), and after this, I create another set of data that uses this string as a parameter for a database query. Is this possible? The only link I found between the sets of data is only this concatenation of the main data set.

    Is there a way that I can do? Thank you!

    * [url http://www.java-forums.org/blogs/advanced-java/collection/] Java collection *.

    In Publisher 10 g and sooner you can use a data model to the join and the structure of data from different sources SQL.

    In Publisher, 11g, you can join data sets for which Publisher can 'know' on the data fields. For example. In addition to SQL data sets, you can reach Excel, LDAP, MDX and answers. Web Services, like XML file are data sets that editor does not know the data fields, so unfortunately, no way to join them... I know.

    Also, true that LOVs can either be SQL or data fixed (i.e. the entered values).

    Allowing the Web Service as a source of LOV or a way to define data fields, it's something for us to consider for a future version.

    Mike

  • Getting error while inserting data from source to the target in the procedures?

    Hello

    I want to insert the data from the source to the target in the procedures, have the same schema.

    For this, I did as follows

    Command on the source:

    Technologies: oracle

    Schema: EDWHCMB

    Command:

    SELECT COMPANY_NAME, COMPANY_CODE OF

    EDWHCMB. DWT_COMAPNY

    Command on the target:

    Technologies: oracle

    Schema: EDWHCMB

    command:

    INSERT INTO EDWHCMB. TEMP

    VALUES)

    COMPANY_CODE,

    COMPANY_NAME)

    I have run the procudere then I got error as follows

    ODI-1228: SAMPLE1 (procedure) task fails on ORACLE EDWH connection target.

    Caused by: java.sql.BatchUpdateException: ORA-00984: column not allowed here.


    How to insert the data from the source to the target in the proceedings?

    Please send any document to this...

    Please help me.

    Thanks in advance,

    A.Kavya.

    Hi Bruno.

    If your tables are on the same schema then why do you use command on the source and the command on the target? You can simply do the following on the command on the target

    INSERT INTO EDWHCMB. TEMP

    SELECT COMPANY_NAME, COMPANY_CODE OF

    EDWHCMB. DWT_COMAPNY


    If you really want at all to use the command on the source and target both then I think you need to change the following code on your order on the target

    INSERT INTO EDWHCMB. TEMP

    VALUES)

    : COMPANY_CODE,.

    (: COMPANY_NAME)

    Hope your TEMP table has only these 2 columns.

    Thank you

    Ajay

  • Query to extract data from source DB driver using process mapping pre...

    Hi all
    I have a source for the query to retrieve the data from the source database. Looking for suggestion what could be the best approach to extract data from the source database.using owb 11 GR 1 material.
    I'm in printing, create the process of mapping driver prerequisite for aid to perform immediate with Create table T1 as a sql query. Petition to the sides of the Insert into T1 Select * from Source_Table in the different database.

    Certainly, need to create Db users in the Source database, to get privileges to read the data of source_database.
    Is - this good aproach to or of any other alternative to achieve this.

    Means, create the table in the transit area (desired area, where I am) and using driver mapping process before you run the select query to retrieve data from a data source.

    Would apreciate your previous answer.
    Thank you
    MAK

    You can mark Correct or useful if it solves your purpose.

  • Recovery of data from health &amp; fitness of Apple Watch

    How can I recover data stored or collected by Apple Watch about my health and fitness? I am interested in dashboards over a period of time. Is there a way to get my personal data stored on the watch?

    Hello

    Workouts recorded through integrated workout app can be found through the application of the activity on your iPhone:

    -To switch between the display of the history of activity and training within the app activity: on your iPhone, in the application of the activity, go to: history (tab) > month view > type activity or workout sessions in the top right of the screen.

    Health and fitness data from other sources, iPhone, and Apple Watch are also recorded and grouped within the health on iPhone app. Data can be exported, which you may find useful for a more detailed analysis (health app: health data > All - Share at the top button on the right).

    More information:

    Use the activity on your Apple Watch - Apple Support

    Use of the workout on your Apple Watch - Apple Support

    http://www.Apple.com/watch/health-and-fitness/

    You can also find some useful third-party applications - for example:

    Check the descriptions and resources support for third party applications for more details of all the data taken in charge import duties and / or analysis, sharing.

Maybe you are looking for