Plot multiple charts XY (dynamic data type)

Hello world

I searched but could not find the solution. I'm tracing several XY graphs with dynamic data type.

I have here an example five 2D-arrays of X/axis Y to draw.

I need them in dynamic data in order to trace in Diadem using Diadem protocol.vi.

I get all the values of the X/Y axis as values Y.

Any help is really appreciated,

Yan.


Tags: NI Software

Similar Questions

  • Track of multiple graphs on a single diagram of waveform with dynamic data types

    I'm putting multiple charts on a single diagram of waveform and data contract error. I was wondering if it has something to do with the fact that the dynamic data is used (I have had no problem with other types of data in the past). Does anyone know how to fix this? I have attached the following .VI. There will be a lot of. Live on the bottom which does not load, but they are not related to this problem.

    Thank you!

    Brian

    I don't know what you're doing now, but a part of your origianl code is simply ridiculous. Your DAQ assistant takes a single point. You convert that into an array. If you had converted into a scalar value (which is) first place, your graphics update would have been fine.

    If you want to remove the DAQ Assistant, and then select generate DAQmx code. You'll be a little more closely, but it seems that it generates a NChan DAQmx Read 1Samp instead of a 1Chan 1Samp DAQmx read.

  • Dynamic data type error

    Hello

    I am able to signal to the DAQ assistant and I take the average of all the data that I get on a cycle, for this I use a while loop and a change of register and after loop finished the race, I've split the output of the shift by the while loop + 1 register.

    But I get the following error: "error to add: a dt different waveform.

    Can someone please help me how I can I get rid of this error?

    Thank you

    You need to do something similar to this.

    Here is a picture of the previous example by using a loop for change as needed.

  • Producer / consumer set loop of dynamic data item type

    Hey all,.

    I do a simple exercise of producer / consumer in a loop. In my loop of producer I audio Aqcuerir and in the loop of consumer I'm projecting on a chart

    Everything works as I had in mind, the only thing that bothers me is the way that I had to set the type of the element to the block "Get the tail" at the beginning.

    I knew no better way to get the kind of data that I used to just take an another "acquire its" Express VI and which hang. But that may not be the only way to get there, right?

    Note: I know that I might not need to use a producer / consumer design tend to do, but I need to get hold of technology for school work so I came with this exercise just to get a hang of it.

    Thanks in advance,

    Al.

    Al,

    You just need to feed the correct data type in this entry, which you did by getting the output of a second acquire its Express VI.

    You can also use the "Convert to Dynamic Data" function to do this.  When you drop to the bottom of the function, you will be asked to give the input type.  Tests I've done, it seems not to matter, but for example if you chose the entry to a single scalar type, you need to feed a digital constant (change to double type) in the entrance and use the output of dynamic data such as line item data.

    I don't like the dynamic data type because it is not very clear as to what it is.  Another thing you could do would be to use the "Convert from Dynamic Data" function to change the output of the VI of its acquisition to a different data type for more or less to avoid the original problem all together.

  • clear history graphic waveform dynamic data 1 d are used

    I'm new to Labview and uses a waveform graph.  To clear what I need to provide a table empty.  I did it with scalars entered, but in this case, the entrance to the chart is a table 1 d of dynamic data beam. I can't understand how create a table empty appropriate table 1 d of dynamic data type to initialize the plot (the story line).

    It seems that there should be a better (easier) way to erase the plot...

    Thanks for all the ideas.

    Hi rockybooth,.

    Right click on the connector to the history of the property and select "create constant. You should get what you need.

    It will be useful.

    Mike

  • Dynamic Data in Array - time values

    Hello

    It's me again.

    I have read the lines of a lvm-file and save it in a table by using dynamic data type conversion. The first column, I have in the file is at the same time; I wish I had the time as the first column of the table too, but I couldn't find how to do this. I found this thread , but I think that I can not use this way because I read the unique lines and treat...

    The attached picture should show how I mean this. So, is it possible to get the time (from file) as a column in the table?

    Thank you

    mkrtwo

    Hello

    I'm afraid, because most of us never use screws express, you can have a hard time finding someone willing to get acquainted with them to analyze your code.

    My advice is to get rid of the express vi (not just because you'll get more responses ).

    Using the palette file I/O, and then something like string from picture to picture the range of string to convert your data into a 2D array can give just the output that you want.

    Best regards Florian

  • Dynamic data of several channels in table, then save in Excel

    Hello

    I am acquiring data from several channels (4-5) and I'd like to collect samples at low rates (10 Hz for 3 minutes max). For various reasons I use Dynamic Data type, although I know that it is not the best way (some say it is a wrong data type ). I also want to save data to a file (the best option would be data excel file).

    If I acquire data 10 times per second, it is quite slow to save in excel (this is the slowest option of all types of data). So I would like to fill a table or matrix of acquired data and then write Excel file (I use scripture to measure file). But I don't know how to do - if I convert DDT in DBL, build an array and connect it to change registry, it works but I lose the information in column names and I'm wasting time. If I connect to build the table a DDT and then shift record another, it returns the table 1 d of DDT. I would like to have 2D DDT, which collects all the information loop.  Is there a suggestion how to solve?

    I'm sure it would be easier solved my problem with the double data type but I also use select signals VI which is the VI I am not able to replace at this time.

    Good day

    Lefebvre

    I don't know if there is a question here, or what.  Doing what you say you want to make, acquire the data of 4-5 channels at low rates (10 Hz for 3 minutes) and save the data in an Excel file (I assume you mean really Excel, i.e. a file with the extension .xls or .xlsx) is really a very easy thing to do in LabVIEW, especially if you are not using :

    • DAQ Assistant
    • Dynamic Data
    • Write to the action file.

    Indeed, you seem to realize this, but I guess you want to 'do the hard', in any case.

    Good luck.

    Bob Schor

  • How can I change the color of ground on a type of dynamic data graphic waveform?

    I have several different plots on different graphics, and I want to set the colors different waveforms.

    To view the waveforms on different graphs, I went to the dynamic and then divided data type wire

    According to the number of channels I have.

    I can set the background color of the chart with a property node and create sliders of different colors without problem

    using the table of references that I created, so there's nothing wrong with my table of references or the property node.

    As soon as I try and a box of thread in the plot color > control color to draw, I get error 1055 on the property node.

    I was wondering if it was an error between keyboard and Chair, but now I think it's something more sinister.

    The error box appears and cannot be fired left the update until I run TASKKILL on LabVIEW and terminate.

    Any ideas on how to achieve my goal would be appreciated.

    (LabVIEW 8.6)

    My colleague has just acknowledged my problem and pointed me to the solution. It seems I need wiring in the value of "active conspiracy" of the loop each time and to ensure that this takes place before the update to track color.

    I have attached a picture of a labour code. I intend to combine the whole lot to the node of a property with the active plot at the top so that it executes first.

    Thank you for taking an interest Sheela

  • How can I dynamically select the shared Variable API programming data type?

    I am trying to create a configuration of open connections of variable shared using the programming API. It seems to me that the cleanest way to do would be to put one "open and check" routine in a loop, then call it for each variable in the library.

    The question that I am running is that I have different types of data in my library (to help a server Modbus i/o and data types 'boolean' and 'single' in my library.) How can I dynamically select the data type of the shared variable API?

    See the attached snipit.

    Thank you

    What I ended up doing was doing a Subvi to open, read, write, and close each data type, I use the packaged in 4 polymorphic SubVIs (polymorphic Open, read, etc...)

    Now all I have to do I drop in the polymorphic Subvi and it switches automatically to the appropriate data type

  • Dynamically find the Integer and the Data Type of a Decimal column

    Table: test (INTE number, DECISION number (7.2)) of the

    Try to dynamically determine the type of column.

    Use select user_tab_columns data_type. It returns only the NUMBER that does not indicate whether the column is an integer or a decimal data type.

    Is there a way to dynamically determine whether a column is around or type decimal?

    Thank you

    create table test (INTE, DECI number number (7.2));

    Select column_name, data_type, data_precision from dba_tab_columns where table_name = 'TEST '.

    COLUMN_NAME DATA_TYPE DATA_PRECISION
    ------------------------------ ---------------------------------------------------------------------------------------------------------- --------------
    NUMBER OF INTE
    DECI, NUMBER 7

  • How can I draw dynamic data that I get a hardware DAQ against each other?

    Hi all

    I am trying to acquire voltage and current data of DAQ hardware. My goal is plotted against votlagein current a continuous path. As the votlage is increased at intervals of 1 Volt, every second I want to see how the current. However, this data is dynamic and I need help find how to draw in a single chart. Any thoughts on how to draw the two different dynamic data against each other in the same graph?

    You help will be very appreciated.

    Thank you

    If I understand what you're saying, looks like you want to have the update of XY graph with each new data point (or points) acquired, but also choose to keep the previous data on the XY graph.  If that's what you're after, I build on my previous example.  For the method of use of the express VI build XY graph, you can simply double click on it and uncheck the "erase data on each call.  For the other method of construction of the dashboard cluster, you will need to add a few records to offset to maintain the previous itterations table values.  Here's the updated image:

  • The multiplot XY graphs & Data Types

    Currently working on four tracing data sensors of pressure on a XY plot, but up to this impossible. In addition, I do not know if I use the correct data type.

    As you can see in the image below, my code is taking measures of the DAQ Assistant and proceeds to divide the data into four signals before taking their average. My predecessor was thought to build a matrix of these signals of four split with what I suppose is the timestamp. The problem is that only one set of data being plotted right now. I tried to change the order of things that I use a cluster as my data type, but I always feel to get an error.

    Recently I saw this webpage https://decibel.ni.com/content/docs/DOC-5129 for more help, but imitating the way they don't seem to work for my code.

    Can anyone help?

    All I see are 1 d arrays. A matrix in LabVIEW is special data type used for... you guessed it, matrix calculations. Do not use it interchangeably with table.

    The main problem is that you send a single cluster in the XY graph, which means a single parcel. What you want is an array of clusters. The clusters will be a beam of table 1 d of timestamps and D 1 table of measures. But it is the hard way to do it, and this means you need to keep all your data as the tracks of the loop, with a lot of unbundling, build tables and rebundling. Crossrulz wrote a great nugget on How to use a sporadic data graphic , which makes things much easier, because the chart holds the story for you. Take a look at this post, and if you want to have several plots, you can just make a table of the waveforms, as I did below. Where you see the 'random number' dice, you will put your unique measurement data you acquire every time as the iteration of the loop. You can test the program by running and clicking on the Add Point"" button.

  • queues the IMAQ image data type

    I'm trying to run multiple queues in the same loop entering IMAQdx images from several cameras, and then save to AVI. After reading the site nor a little, I discovered that the reason why I get only the last image of each bucket, repeated on all frames in the AVI file, is that the IMAQ image data type stores only the memory location for the image, not the image itself data. However, I don't see a better solution for the queues of the actual image data. What conversion could be the fastest / are in charge of the processor the lowest?

    For each image you must initial Image space.

    You can use something like this:

    You need to add initialization camera (s) and AVI. You must add the multicamera feature. Stop recording is missing.

    !!! Don't forget to throw lines and Images!

  • Medium-sized dynamic data analog input read DAQmx read

    Hi, I'm new to labview. Is there an easy way to index using the dynamics of data returned by a readout DAQmx x samples to calculate a moving average? My thought was to read the analog input for X samples pump with the data in another loop through the data, but I can't quite understand how index using the returned data set to extract the measurement value double returned for each sample.

    Any ideas on that?

    Thank you...

    If you get a type of waveform data, why did you ask on dynamic data? No, of course not would you use the conversion of dynamic data on a waveform.

    If you want only one channel, then your DAQmx Read could be changed to 1Chan NSamp. If your channel list only has one channel, you will get a table 1 d with a single element that can be indexed. To get the average of a waveform use the statistical function with the waveform. You use the average Point by Point, and not the average function that has a table for an entry.

    Make sure you always have context-sensitive help on. You can avoid many of these rookie mistakes simple.

  • How to adjust the data in dynamic data?

    Hello

    I have problems when I want to convert the data that I have gained by using VISA to dynamic data. The data group consist of a row/column with relative timestamps (time measurement) and up to 30 channels of data. How can I do this?

    Thank you for the help

    Hello Thiago Bach,

    If you look at your code, the best way to proceed is to create a data type of waveform of your data. You can do this by using the generation 'Waveform.vi '. Here you will find the help file says of this feature. The format of data T0 is the regular Timestamp data format (for example generated by the 'get DateTime in Seconds.vi'.

    The type of waveform data can be entered directly on the waveform graphs.

    If you have questions and / or remarks, let me know.

    Best regards

    Peter S

Maybe you are looking for