Graph of the Excel data with overlay of dynamic data acquisition

Hi all

I was next to the forum of Labview for about a year, it's the same with my programming so I'm a little rusty. I don't have someone code this for me, but just a quick plan high level to point me in the right direction.  I am able to work through the tutorials Excel etc.

Task 1: Basically, I have a set of data Excel (2 to 6 columns of figures, not the time) I want to read in Labview and throw in a XY graph as the base model that remains visible all the time.  This data set is quite long, length vs. size (length is 100km, 1 m intervals). I essentially want a scroll X graph to display all of the data.

Task 2: Acquire a direct serial data string which will be superimposed on the graph of task 1 model. Acquired essentially data comparing data in real time to previously.

In the past, I made the simple projects with Excel data reading and also the reading of data in series.  What I'm not clear on is how to create the (static) graph with Excel data model while superimposing live data as it comes.  It is the basis of an annual check of the investigation process.

Advice on the process would be appreciated so I'll be working through the nuts and bolts.

Cheers for any help,
Wes

If you are worried that your data sets is too large, then run a test with simulated data to see how LV takes it. You might be surprised. In all cases, you should be aware that the chart control will need to redraw it with any changes you do anyway, and as far as I know, having a large amount of data is the main thing that can make a slow chart control. If you find that you have too much data, you might need to decimate it you based on how much you zoom before putting it in the graph.

Tags: NI Software

Similar Questions

  • Script Help: The names of layers from the Excel data

    Hello!

    I'm a noob script and have tried to learn, but unfortunately I just haven't the time. Projects at work keep me in the Bay. In any case, here's my scenario and I hope someone can guide me.

    I want a script that would look at a database (XML, CSV, excel or anything that works) and create separate layers in illustrator based on the data.

    Example: description and part number comes from a database. Name of the Illustrator layer is what I want the automation script. The reason for this request is a 200 point that I don't want to retype.

    Part numberDescriptionName of the Illustrator layer
    33456Point 133456_Item 1
    33457Point 233457_Item 2
    33458Point 333458_Item 3
    33459Point 433459_Item 4
    33460Point 533460_Item 5
    33461Item 633461_Item 6
    33462Point 733462_Item 7
    33463Item 833463_Item 8

    After that, I have all my items, with correct layer names, I export each layer as a separate PDF file. The name of the export file would be identical to the layer name with "_1up" appended to the end. For example, 33456_Item 1_1up.ai.

    I would have a separate illustrator file that contains all the same name of the layer as above and then I place the exported file, he respected the layer. This is where the script of another would be great. Is it possible to make a script that will place an image on a layer that has similar naming structures (the only differences would be the name of the layer would not "_1up")?

    I hope this makes sense and I know that I ask a lot. I thank very you much in advance!

    still not sure why export you all the layers to separate the files only to place them all back again?

    but this will get your layers created.

    var line,lay,myLayers = [];
    var csvFile = File('e:/csv.csv');
    csvFile.open( 'r' );
    while(!csvFile.eof){
        line = csvFile.readln();
        line = line.replace(',','_');
        myLayers.push(line);
    }
    csvFile.close();
    var doc = app.activeDocument;
    for(var i = myLayers.length - 1; i > 0; i--){
        lay = doc.layers.add();
        lay.name = myLayers[i];
    }
    var oldLayer = doc.layers.getByName('Layer 1');
    oldLayer.remove();
    

    CSV should simply be:

    33456, point 1

    33457, point 2

    ...

  • Point display XY graph using the cursor data

    Hello all, I use XY graph to display amplitude v/s time. During the vi execution, data are continuously plooted on chart until the user stops the vi. I want to add a feature, such that, during the execution of the vi, when the user clicks on the chart to the situation with the cursor, it should show corresponding value of time and amplitude of this point. I mean the value of the axis corresponding to the category axis not the cursor position. When you use the position of the cursor, it is ok with the x axis, but it shows the cursor position for y axis (as property said), and I want datavalue said not not the position y axis.

    I hope it's clear with the question. I would like to have a few examples... for y = x graphic below, you can see cursor x = 4.4 and y = 6.8, how to view corresponding datapoint which must be y = 4.4

    When creating (or even after you've created), choose "align on the" plot 0.

    Do not let it be 'slide free.

    Attached example.

  • Need help to load the data from the Excel data to oracle tables

    I need to load an Excel worksheet to the Oracle table.

    The worksheet contains 20 columns, the first 8 columns contains basic information, but the rest 12 columns contains info like
    1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
    1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
    1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10

    So what I have to do is:

    break only one record (with 20 fields) in Excel to 3 files for each fiscal year in the Oracle table for each record in the database table will look like

    8 base field + fiscal_year + 1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
    8 base field + fiscal_year + 1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
    8 base field + fiscal_year + 1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10

    There are about 10000 rows in the data file, so how can I use sqlldr to perform this task? beside sqlldr, other good suggestions?

    THX

    External tables is just an API Oracle sqlloader. If you are about to load this data over and over again, the external tables would be a good idea, but if it's a one time thing, sqlldir is more simple, unless you want to just learn to use external Tables.

    I used to run a data warehouse, so I did it, the less similar to what you do in the past.

  • The iterations data acquisition data record

    I'm doing some tests on some materials. My cycles configuration a relay to change a solenoid and im monitor pressure in time with a pressure sensor. I'd like to save these data say every 5 min so im not constantly processing and registration. I don't know what is the best approach, or what will work best.

    Im trying to write to the file of measure but can't operate the id of path as him. any help is appreciated

    to use this vi, you'll need drivers/libraries for my relay and acquisition of data that are too large to load so I have attached links. otherwise a different vi just simulating a signal could achieve the same function

    http://www.Phidgets.com/docs/Language_-_LabVIEW#Quick_Downloads

    http://www.mccdaq.com/DAQ-software/Universal-Library-Extensions-LV.aspx

    Hi cgarlow,

    Have you tried to use the "flower?" entry on writing to measurement file Express VI?  This entry to specify when LabVIEW writes data to a file of measures.

  • Reset the multifunction data acquisition?

    A call to 'DAQmx Reset Device.vi' resets all modes of hardware DAQ Multifunction or only those that are associated with the task that is connected to the entry? In other words, if the material includes analog outputs, analog and e/s digital, for example, the reset apply to all modes or only those that are associated with the task of entry? In this case, it's a USB-6366, but the question applies to any Multifunction DAQ.

    Thank you
    Don

    The whole device is reset to zero. Why do you need to reset?

  • Data of runtime of overlay on top of excellent data

    Hi all

    I have data from Excel I want to plot them on a graph in LabView, while the data collection program, I would like to overlay the current data on the Excel data as a Visual top to ensure that the test runs well.

    Does anyone know where is an example of one such vi maybe?  Maybe you can give me some advice on how to do this?

    Thanks for any help,

    Matt

    Hello

    If I did not have a maximum number of iterations, I would use a while loop instead. Otherwise, if there is a maximum number of iterations, a stop point can be added to a loop on the right by clicking on the edge of the loop and the conditional terminal option selection.

    -Zach

  • How to view graphical waveform Excel data

    I have a file .csv with 4 data column.  I found something for another thread that allows me to display data from an Excel file in a table.  I have a problem with the following:

    (1) I need to display column data 4 but I can't seem to find a way to add other elements to the Invoke node so I'm stuck with power display only 2 columns of data.

    (2) why can't take my output and put it in a table, and then view it on a waveform graph?

    Please take a look at the attached VI.  I took notes in the block diagram.  When I try to join the Excel data to a chart, it indicates that the source type is a string, while the sink type is double.  How can this be when the Excel file has only whole?

    Help, please.

    Thank you.


  • Input module of data acquisition can be read by two or more LabVIEW vi at the same time % 3F

    I use the DAQ palette in LabVIEW to read the virtual channels of the input data acquisition module. I've done several VI who read many entries of three modules of simulations. The problem appears when I run two or more VI´s reading entries from the same virtual module (for example. first.VI module 1 input ai0 and second.VI bed ai0 entry module 1 bed), when this happens the next errors are shown:

    Error-50103

    Platform AND Services: The specified resource is reserved. The operation could not be performed as indicated.

    and

    Error-200022

    Resource requested by this task has already been reserved by another task.

    It's worrying because I want to get the DAQ chassis and some modules, but if this problem is present with physical equipment my application may be unnecessary. This means that entry module only can be read once at the time?

    I m using global variables in each Subvi to share data with main VI, however, I found the solution in a different way... I just changed to single channel and dbl sample playback mode, so I Don t need to clean up the task of reading in my subVI´s, the zeros isn´t problem here, and the six subVI´s work at the same time!

    Thanks for the tips!

  • What is the difference between the external SCSI cables and cables data acquisition

    Hi all, I would like to make a simple extension using an external SCSI cable and a NOR 184749/SH 6868. In other words, it would be: female HD68 bolt of the cable ends OR coupled to an external SCSI HD 68 male with a VHDCI 68 male cable. What are the differences between the external SCSI cables and cables as the (M) 6868EP of the CHS data acquisition. Other than the sex of the end of HD68 is usually on one. How is the posting hit buy using an external SCSI cable for an extension to tell a BNC-2090?

    Yes, I realize that NEITHER wants us to buy their cable, but in these economic times difficult, to do use all available resources, so I have to try,.

    Thank you

    joelowwatt

    Hello

    As long as you have compatible connectors, SCSI cables will work DAQ of basic functions.  They have the advantage of NO cables is that we can meet our DAQ hardware.  So, we can create pairs twisted differential pairs to HAVE, using the ground for shielding terminals and generally specialize the cable to minimize noise and crosstalk.  Because the SCSI cables are not specialized, you are likely to see the most noise and, if you go the sampling rates more Rapids, crosstalk.  If you are in a laboratory or factory with a good amount of noise EMF that your readings are not quite as clean, or if you have fluorescent lights you might see 60 Hz noise you might not see otherwise.

    If you want more details on the specifications of the SH68-68-EPM cable, I recommend these two articles.  The first example of the twisted pair and the principles of the SH cable shielding and the second gives the most precise specifications that you can compare with when looking for a SCSI cable.

    3GRD4C33 Knowledge Base: mapping list of the sons of SHC68-68-EPM & SH68-68-EPM cable

    1TGEHPDM knowledge base: detailed specifications for the SH68-68-EP cable

    Kind regards

  • Help to import Excel data in tables preformattes

    This is my first post here, so please be gentle!

    I am a relatively new user of InDesign CS4, and I created the list price of the manufacturer 70 - pg.  A very large part of each page will be of size and price information source of a large Excel spreadsheet.

    I created the table format I would use for each page, but the problem comes when I import the Excel data in this table.  For some reason, when I import, all this turns in a cell.  It would be preferable to import into a table not formatted and then put in the form table every time, or is there a way to simply import data into my preformatted table?  I've seen how the former, but the latter seems much easier (.. .Although that could be my inexperience talking).

    Any advice would be greatly appreciated!

    Thank you very much

    Laura (V1500)

    To paste a range of cells in the way you want, you have most of the steps down.

    The key point is to select the CELL at the top left of the area you want to paste into. See the screenshot below. The first cell in the range of rates is selected.

    You may simply move the active cursor in the cell. This puts the contents of the Clipboard into this one cell.

  • Data acquisition - DTR

    I need to perform data acquisition for my sensor of temperature RTDS (PT 100). My sensor is first attached to the converter temperature Broderson PXT 10, then to BNC-2090 - NI. national instruments DAQ board.

    PXT 10 gives 0 - 10V DC output, which is then provided to BNC-2090.

    While BNC 2090 reads only the voltage, data acquisition give some readings of voltage. I want to know how I can convert the resulting voltage reading DAQ corresponding temperature.

    Currently I use Callendar Van Dussen equation for conversion. As I take a very low current exciation, conversion gives me a thousand ohms resistance values, and that's why I don't get the value of the correct temperature.  I have attached a reference image.

    Can someone please help?

    Thank you.

    Raphael,

    Even if the plug is not explicit, the implication is that output (0-5 V) is linear in the selected temperature interval. So 0 Volts would represent - 50 C and + 5 V would be 300 C or C 100 depending on the range. All you will need is linear (m * x + b) scaling for temperatures.

    You must run probably some simple calibration verification tests to make sure it works that way.

    Lynn

  • Date and time on the graph (read from Excel)

    Hi everone, I m new to this forum.
    I'm stuck with one of my projects.
    The program is, READ the excel file and it draw on the graph.
    Registered solar energy output is doing, basically I'm trying to see the chart of the outputs and readings at different times.
    I have problem to read time colum, I want to show in the time indicated on the excel on the chart.
    and like 4-5 minutes, to determine the curve because it has 9000 + points.  any suggestion to reduce points?
    I'm new to labview.

    Here's a very quick project on what you could do.

    Of course, you could also extract the headers and place them in the rings for a natural selection more. Only parties with controls belongs in a loop if users should be able to select the columns dynamically. You must also analyze the column time differently. Modify if needed.

  • HI, I'm wanting the form tool allows you to create multiple copies of documents with customized in each information fields. From excel data. Is this possible?  Thank you, Charlotte

    Hello

    I am keen on the form tool allows you to create multiple copies of documents with customized in each information fields. From excel data. Is this possible?

    Thank you

    Charlotte

    This is called a fusion and mailing. There is a possibility of Embedment in some versions of Excel (via the Acrobat PDFMaker plugin), or it can be done using a script.

  • Fill in the data in an Excel template (with pre-defined formulas) Oracle

    Hello

    Anyone know how I can fill (with PL/SQL) Oracle data in an Excel template (with pre-defined formulas)? I mean that the user provides the Excel model so I just transfer the data from Oracle in particular cells in the worksheet. The model can be large and can become 50 pages long.

    Thank you.
    Andy

    So, you want an Oracle process or a process of APEX to take an existing Excel file and simply plug data into it? What I would say is instead, you export your data out and into your writing Excel VBA code file to take you input file and treat it accordingly.

    Thank you

    Tony Miller
    Webster, TX

    You can get more with a kind word and a legacy, you can with just a kind word

Maybe you are looking for

  • Display of fractions

    Hello. I have the HP 48gII. I have problems with fractions. 1. when I take a NAP, for example the sum of X = 1 to 50 of 1 / X I get the result: PSI (51) - psi (1) which clearly does not help me. If I use the NUM key-> I get the reconciliation, but wh

  • I need 64-bit drivers for Windows 7 for HP ENVY 17-jo27cl

    I searched the forum for a solution to this problem and didn't see anything for my particular model. I gave to Windows 8 a relatively long test - about 2 weeks.  Hatred is not strong enough a Word.  I "upgraded" to Windows 7 Ultimate 64-bit.  I have

  • Camera USB IMAQdx low resolution-'for internet use"Option?

    Hello I have a USB camera compatible directshow. The resolution of the camera should be close to 2600 x 2000 (not sure on exact). When I see 'Available video Modes', the highest resolution is 352 x 288 resolution. The company that provides the camera

  • This patch could not be opened__

    I'm trying to uninstall an old copy of the Messenger 7.5 as a prelim to install the latest version. When I tried to install version 11, she got up then roll installation. Problem is when I uninstall 7.5 I get a message "this fix could not be opened.

  • screen appearance is at a right angle

    Can someone tell me how to get the screen back to normal appearance, it is 0900 instead of 1200.  Thank you!!