graph waveform of several sensors

Hi, I receive data from 50 sensors with a microcontroller. Data from the sensors are stored in LabVIEW in an array of cluster, each cluster containing a unique sensor info. I need to display a graph of trends of the curve of value 3 of all sensors, so that each sensor should be represented by a color. The data are updated every minute. Can someone help me please?

First of all, I'm sure you want a graphic, not a graphic.  A graph keeps a history.  A chart shows just the last thing you wrote for her.

Secondly, to make the building of the waveforms within the loop FOR.  Makes things MUCH simpler.

Tags: NI Software

Similar Questions

  • Graph waveform repeats with each iteration of the loop

    Hi guys,.

    I got some great responses from you many already, so I hope you can help me once more!

    I try now to simply take a voltage that is measured by a sensor, I tied to AI1, and I built a graph of very simple waveform using a DAQ assistant. I have the setup terminal to CSR, the acquisition value continuous sample mode and read samples and rate game to a control on the Panel before which I can control myself. All this is a while loop that is needed to collect data over time.

    However, the problem I have is that for each loop of the loop, it seems, to reset the graph, so my x-axis never increases over time, ideally I want it to do is to show results through from 0 to 100 on the x-axis to say, and then, when it comes to 101, he will start again on the extreme left of the graphic to the right to a crossing another 100 points given) (there's a term for this, but I forgot, sorry!). To be honest, this kind of logic like everything in the loop will be restarted, but after trying to chart the loop it does not work, so I'm fresh out of ideas.

    I think I might have to do is to manually build segments of data acquisition (DAQ mx) and have only certain parts of them in the loop, although I can't be sure. I tried various examples and online on the database of NOR (including tension-int acq & graphic clk which works well in the examples, but not at my request) but no luck for now

    If anyone can think of what could be the problem, then please let me know. FYI the sensor is optical fiber if it makes a difference. I have attached the file VI that I did does not really...

    See you soon!

    Ritchie

    Since you use a chart there is no way to fix it. If you choose to go to a XY chart you could solve this problem. See the example below.

  • Graph waveform control - limit lower and upper limit Autoscale

    The graph is a waveform their a way to define the lower limit of the graph Y to zero and then have it autoscale the Y maximum limit as a percentage of the maximum value of the graph (150% for example)?

    Direction of examples or read about a starting point would be great!

    Thank you

    Joe

    Ireland

    Turn off autoscale and put the max with a property node based on the max of the data table.

  • Type of input data for the graph waveform

    Waveform graphs do not change the type of input data according to the wire. When I create a new chart that is set to double data type and does not change what I connect to waveform, so I copy graphics to another VI for appropriate indication. But the graphics don't accept complex data. How can I change the type of input data?

    The graphics in vi you have posted behave properly on my machine.

    Change according to the type of data that connect you to them.

    Maybe something wrong with your installation?

  • How can I make graph waveform or file with two different values of DBL Dynamics excel?

    As described in the question, I have two sources dbl from a load cell and linear actuator (from remote). I want to do a curve of load/displacement of the readings of the strength of the load cell and the readings of travel of the linear actuator. Load cell generates an analog signal that can be acquired by data acquisition and the actuator is delivered with a Board and a program of VI to control speed and measure the movement of the actuator at a sampling frequency of my choice. Is it possible that I can do a VI where he continues to collect data and build the chart I'm looking for?

    I think I see where the confusion is.  Looks like your trip data do not come directly from a sensor (LVDT, etc.), but from the control software.  If this is the case, you're stuck sort with a timing of software, that will not sync at all.  Still not really sure what the entire Setup is - but if you do not have access to data of travel other than VI control that drives the actuator, you have limited options.  It depends on where these data comes from and how it is treated.  My initial comment assumed medium of moving a sensor in another Board (Non-OR).

    You can absolutely use a shift register data (or the node property history given in the table of waveform - as someone else suggested) to save the data in the file.  Use the entry in the File.vi worksheet.  There are examples that show how to do this.

    I would start by trying to start the process (movement and data acquisition) as close to simultaneously as possible, let them operate independently, but at the same time, then after you have some data you can see if they are synchornized well enough for your application.  If you put them both in the same loop with while avoiding (wait ms) you will get incoherently timed data of these two sets of data.  Better to use examples of hardware when clock you can.  If your test article moves very slowly, it may not matter how you do it.  If it does not quickly move, will be discussed as your data of force tip line upward with your data points in moving closer in time.

    Good luck!

    Kurt

  • graph waveform xy

    I found a lot of posts about this problem, but I don't really understand how to do it - I must be stupid...

    I have just two waveforms, acquired sample constant, equal, and I want to draw in a XY Chart.

    I tried everything I could think of, but I can't do it...

    Hi alzyx,

    If you want to draw something like ' Y vs X "on a XY Chart?

    Then just read the context-sensitive help for the XY graph. It will show you the data types waiting for the chart!

    In light of the words: you must get the data of these two waveforms Y and create a cluster of these two tables:

  • Concatenate the XY graphs spread over several iterations

    Is it possible to transmit a XY Chart (via a shift register) which generated each iteration to the next iteration and its values is added a graph which lies on the front?

    Yes a waveform graoph. Set x 0 = 0, dx = 0.1.

  • Series read several sensors (Encoder + accelerometer)

    Hello

    Im working on this project where demand encoder interface and accelerometer to the marker. I tried to read the serial data and use it to establish a curve (real time).

    Problem;

    1. whenever I run it will be always pop out error

    2. There is delay in labview signal when I try to read through real-time graph.

    Thank you

    Effendywoo


  • How to increase the frequency of sampling of several sensors via RS - 485 and writing files of measure?

    I have a vi that:

    -Locate the USB port that RS485 communication device is connected

    -sends a command to each sensor

    -reads a response from each sensor

    -performs a calculation on the answer

    -saves the response to a file of measure

    I used a flat sequence to query each sensor.  I am trying to find a way to modify this vi in order to increase the frequency of sampling on the sensors.  Currently, it takes 2000ms for question 4 sensors and write tot the measures file.  Anyone have any ideas on how to speed up by programming?  I am concsidering on the purchase of a device USB DAQ (USB6000) and rewriting of the vi.  I was wondering if there was some tweek I caould make on the vi.

    Thank you!

    I meant put the time-out on the line, then the reading will be either timeout after 200ms or read the 2 bytes.  Whichever is faster.  Then deletes this 200ms waiting you.  I have attached your vi to show you what I wanted.  I did not notice that it is a hardware or wither then you might want to look in the data acquisition functions.  It will clean up your code and are very easy to use.

  • Problem with the help of several sensors piezo with DAQ

    Hey there,

    For a drum program, I have 2 buzzers piezo related to data acquisition in the code, I put it in place so that a different sound sample would be assigned to each sensor. However in the beginning, when I run the code, I hit a sensor (a1), he plays as ok. When I hit (a0), this kind of chance. Sometimes he plays the sample assigned to a0 or a1 or cheek then the other.

    Then messing around with the DAQ assistant, I changed the scope of the input signal and found that the entrance to the a1 plays the affected a0 sound instead. My mind is boggled.

    Code attached.

    Thanks in advance,

    Emile


  • How to get the individual history of the multiple waveform graph plot

    I have a table of waveform with several plots, which is a cluster as input.

    I want to calculate the average of each of these plots. With simple concession of waveform graph, all I had to do is to use the property in the history of the graph node and pass the history to the generation averaged vi. With the array of multiple locations, I am unable to get the history of each parcel.

    The property of the history of the land multi card node is an array of custers, not quite what I need to calculate the average.

    How to me history of individual plots?

    Thank you.

    unbundle just your datapoints inside a loop like this

  • Can I do a waveform graph view more samples currently read?

    I have DAQ 17 channels at a rate of 500 samples per second read and then write in a PDM file and a few gauges, a waveform graph.  I'd like to graph waveform to display more than the samples that are currently read, I want to only show the last 10 seconds worth of samples.  How can I accomplish this?

    I have attached a picture of the relevant section of my VI. If you need more information about the VI let me know.

    Thank you!

    Hello

    As mentioned by Smercurio_fc also, you can use the shift register, etc. of functional global variable or use waveform table and increase the length of the history of the chart.

    Kind regards

    Leila

  • Portege M750 - how to use Windows 7 gadgets with 3D sensor?

    Hi all:

    Portege M750 has several sensors on the inside (3D, accelerometer and GPS sensor). Enybody knows's Windows 7 gadgets based on these sensors, as a horizon of aircraft or other?

    Very interesting question.
    Have you also tried to ask this question on the forums of Win7?

  • Several timer objects

    Hi all

    I'm working on a VI for the monitoring and control of several sensors/actuators, which of course is included inside a large loop that continues to run continuously. I tried to create several independent counters, which must lock on a 'REAL' spur (can only last for about 1 second) and stay on the station for X seconds. After that, the timer should reset and are waiting for the next pulse 'TRUE', which is given by the user at irregular intervals

    The problem I've encountered maintains the value of the start time. I realize, one usually uses quick registry in combination with a while loop to retrofeed such a value. However, this seems to stop execution of the rest of the VI (so that the timer-while the loop is running) until the timer expires. In addition, I would like to set the timer to a Subvi or similar in order to use multiple copies (use LVOOP maybe?).

    Any help would be to solve the problem of loop while or by creating a timer class - would be much appreciated.

    ntictac

    To use a VI in several places of independently then you need the reentrant VI. So, if you do the ESEC reentrant VI it should solve your problem.

  • Connect 3 wire sensor in correct way NI 9209

    Hello

    I have several sensors of absolute pressure with only three wires (a common thread, an excitement + and signal output +). I enclose the form in pdf format. I need to connect about 6 of these sensors to my NI9209 card inside a cDAQ chassis. I also have a power supply of 24 VDC. I would like to ask about the proper connection if I want to use the differential voltage measurement.

    Can I just wire the elements in the following way (left photo), or do I have to follow the recommended wiring as described in the manual on page 14, the part 'floating differential connections' ( http://www.ni.com/pdf/manuals/376909c.pdf ), right? Thank you!

    Edit:

    If I have to use the resistance of 1 MOhm, is it enough to use a single resistor connected between the pin of the NI of COM map and all the pressure sensors COM ports?

    You need to have the input of COM on the module HAVE referenced in your municipality.  However, if all your sensors are out of the ordinary even running, you need not the resistance of 1 M.  The only reason why neither mentions that this connection is for incoming signals not referenced to the commune.  Given that this sensor is only to give you a single output is completed, it would be much easier to just run the signal is broadcast to the module I and connect the COM to the power supply.  Otherwise, you basically jump the COM signal toward the low side of each measure and the reference measurement to COM in any case.

Maybe you are looking for

  • Satellite A60: Startup problem (missing or corrupted file)

    Ive got the laptop above and its working well since purchased in December. The other day I was installing a program it crashed and now when I try to start it it continues to come up with an error message saying "file missing or corrupt. system32\driv

  • Satellite L500-1WP - higher screen resolution than HD?

    Nice day! I use Toshiba Satellite L500-1WP. I bought a new monitor Dell U2711 with max resolution 2560 x 1440. I tried to connect this monitor to my computer using a HDMI cable, the video card identifies the monitor as a HDTV and made max resolution

  • presarop56: turn on or administrator password

    As soon as we turn on the computer it asks to turn or Administration password Other messages I've read have people who give passwords to the code that you get when it crashes. My code is 65115509 after you have entered 3 times

  • Z600: Quadro 5000 compatibility with a z600

    Hey there, I'm not super tech savy and have a question. I just get into solidworks and auto cad for work so and also take courses at school. I have a z600 and that you want to paste a quadro 5000 in it and do not know if it will work... and don't wan

  • How to clean this gui

    Hi all I am working on a template, that someone has already done. I would like to know how to make clusters to look like the one on the left side. Any tips? Thank you.