3D real time voltage graph

Hi I'm a beginner at Labview.
I'd like to plot a real time contour graph from voltage readings from 4 diodes which is obtained via the DAQ. The x-y coordinates are the coordinates of the locations of the diodes while the z coordinate is the (current) voltage measurement of each diode.
I've already splitted up my location coordinates into x-vector and y-vector. I've tried to wire my latest readings values into the z matrix, however I received an error about the different data types.
Any idea how can I plot a 3D real time contour graph?
Ps. With the exception of the 3D graph, everything else works prefectly.
Attachments:
voltage array 2 - Copy.vi ‏122 KB

jsp6 wrote:
Hello,
I'm trying to view the voltage measurements in real-time chart. (Labview2012 and I've connected 2400 sourcemeter with my laptop by using GPIB-USB-HS)
My question is, how can I increase the chart update rate? Say, how can I increase samples/second rate?
Here is the screenshot of my chart -> . Its update rate is quite slow and I dont know why the voltage measurement takes time to settle back 0V (notice the descending slop after the voltage pulse).
I'm using labview to measure a voltage pulses. So I need fast-response chart that looks like this -> .
I'm very new to Labview. Please help 
I'm attaching the vi
Are you sure they're the same timescale?  The LabVIEW shot sure looks like a time-stretched version of the display photo...
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

Similar Messages

  • Apps to show real-time voltage of iPhone 5 battery?

          Is Apple blocking the info (such as real-time voltage, say 3.753V) and no Apps can show that info in realtime?  My iPhone drained quickly and I need to evaluate its health (My expertise is Li battery)
         This company is known for heavy-hand ractice, and I am very upset!

    Does anyone has an answer?  I need to read the real-time voltage!  Thanks!

  • Real time intensity graphs

    Hi,
    Can somone tell me if it is possible to make intensity plots real time.
    I am currently
    filling a 256 by 256 array one row at a time with data from a counter. I
    would like to
    plot each row as it comes out without replotting any old rows nor any new
    rows of the
    array currently empty of data. Using the command PlotIntensity forces me
    to replot
    the entire 256 by 256 array each time which tremendously slows down the program.
    If anyone can help this would be much appreciated
    thanks
    ken

    > Can somone tell me if it is possible to make intensity plots real time.
    I solved this problem rather nicely by using a canvas and the CanvasScroll
    function. You can draw line or blocks of color (after having scaled them
    properly, but that is easy) on the right side and then scroll to the left by
    the same amount of pixel.
    Guillaume Dargaud
    CNR/IFA
    http://sung3.ifsi.rm.cnr.it/~dargaud/Hack/LabWindo​ws.html
    http://sung3.ifsi.rm.cnr.it/~domec/
    http://sung3.ifsi.rm.cnr.it/~chooyu/
    1. When computing, whatever happens, behave as though you meant it to
    happen.
    2. When you get to the point where you really understand your computer, it's
    probably obsolete.
    3. The first place to look for information is in the section of the manual
    where you least expect to find
    it.
    4. When the going gets tough, upgrade.
    5. For every action, there is an equal and opposite malfunction.
    6. To err is human... to blame your computer for your mistakes is even more
    human, it is downright natural.
    7. He who laughs last probably made a back-up.
    8. If at first you do not succeed, blame your computer.
    9. A complex system that does not work is invariably found to have evolved
    from a simpler system that worked just fine.
    10. The number one cause of computer problems is computer solutions.
    11. A computer program will always do what you tell it to do, but rarely
    what you want to do.
    - Murphy's Laws of Computing.

  • Real time waveform graph in while loop

    Hi
    I have a VI which includes a subVI that reads data from an oscilloscope and presents the output in the form of a cluster made up of the initial time t(0), a time interval delta t and an array of voltage readings.
    This cluster can then be wired to a waveform graph in the usual way. All of this is situated within a while loop in my VI and on each iteration of the loop I obtain a waveform graph of the voltage readings starting at the same time t(0) and ending at the same time t. However I want my graph to begin at a time t(0) when I set my VI running and then continuously acquire and build up the data on each iteration of the while loop so after my VI has finished executing I have a complete graph of all the voltage readings acquired after the set number of iterations of the loop. I know on the Express X-Y Graph VI you can double-click the node and deselect the box that says 'clear data on each call' - if I could do this in my case that would be great but I can't use an x-y graph because I have an array of y-values to plot on each iteration.
    If anyone can help me out it would be much appreciated - I'm sure there must be an easy solution to this but I'm going out of my mind trying to find out what it is!
    Many thanks,
    Bex.

    As usual, you have several options.
    You can use an XY Graph by generating the X values yourself. This will ensure that you place the data exactly where you want it on the X axis. This is fast, but does involve a memory cost.
    You can use a Waveform Graph with a waveform input instead of the cluster you are using. Use the Build Waveform primitive instead of the bundler to make your waveform. Set the t0 values to the appropriate values (negatives do work, as do small numbers - time is in seconds, use the To Time Stamp primitive to convert from DBL to timestamp). Finally, you need to set the Waveform Graph to use the t0 values. Pop up on the Waveform Graph and make sure Ignore Time Stamp is not checked. Depending on your version of LabVIEW, you may have to pop up on the graph or the axis. When you unselect Ignore Time Stamp, you will probably want to reformat the X-axis again. The Waveform Graph clears data at each iteration, so you will need to replot all your data each time. Just create an array of waveforms and keep adding to it. The t0s will put the waveforms in the right places. Yes, this may cause memory problems.
    Finally, you can use the Waveform Chart, which does have memory. Create the waveforms like you did for the Waveform Graph and send them to the chart. It will remember what was sent to it from run to run. Make sure you set the Chart History Length (pop up on chart and select Chart History Length...) to long enough to hold your entire data. You can use a property node to get the data back at the end, if you need to.
    Good luck!
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • How to calculate rms voltage, rms current and frequency from real time data?

    Hello,
    I need to calculate the real time rms voltage, rms current and frequency of the received voltage and current graphs using visa read. Actually am trying to monitor the voltage and current parameters of AC load, in this case, am using a set of 4 light bulbs at the moment. Expected frequency is 50 Hz, and rms voltage close to 240v AC, current about 1A. 
    Attached is the vi picture of what I have been able to achieve so far, courtesy of labview forums. But I need to finally finish this vi by calculating the Vrms, Irms and frequecy. The front panel shows the voltage (Chart V) and current (Chart I) after scaling. Chart VI represents ADC value 0 ~ 1023 of received data. Aray V & I show the binary bits received up to 10 bits of useful data from ADC. Each sine wave from ADC is sampled at 25 samples for the ADC conversion, and sampling frequency of 1.28kH.
    I have tried using the RMS vi, but seems I don't know how to configure it correctly to get desired results. Also when I make changes like switching of one of the bulbs so that their is current change, I need to refresh the SERIAL port first before changes show up on the VI. Any ideas on how to improve on this are highly appreciated.
    Otherwise, I would appreciate if somebody helps me MODIFY my VI to read the rms values and frequency from received data. This is the last piece of my project, I do appreciate all the help rendered. Am currently using labview labview 2014, student version!
    Gavin.
    Attachments:
    Test_revised1.vi ‏39 KB
    Test_frontpanel.png ‏196 KB
    Test_blockdiagram.png ‏187 KB

    hello,
    note that peak voltage (Vpeak) is (240 * 1.414) = 399 V and peak current about 1.414 if intended rms current is 1A.
    Gavin.

  • How to display on the graph three or more waveforms where time scale is not an index of array but a real time

    How to display on the graph three or more waveforms where time scale is not an index of array but a real time:
    I measure three voltages Va, Vb, and Vc on my Test stands every 3sec. So I’m building four arrays (Va, Vb, Vc, Time) and combine all in one.
    Time
    Va
    Vb
    Vc
    0
    5
    3.5
    2.8
    3
    4.9
    3.6
    2.9
    6
    4.8
    3.8
    2.1
    Now I need to show on the graph in which scale X is “Voltage” and scale Y is “Time”.
    How can I do it?
    Thanks a lot,
    Boris

    Hi, thanks all your reply.
    You may find "points_to_bar_graph.vi" from this website, I find it by this way.
    I will ask a stupid question: I don't have any photo processing software, how can I save the vi into a picture format?
    So here I just paste it into word document.
    Attachments:
    question.doc ‏520 KB
    points_to_bar_graph.vi ‏62 KB

  • Waveform graph x-axis into real time recording

    Hey there,
    I have acquired voltage off a LVDT through the DAQ assistant and connected it to a waveform graph. However, the x-axis says its 'Time' but its got the white line running across it even though no time has elapsed and the time itself has funny units to it. What I need on the x-axis is real time so that I can see the line register from left to write as time passes by. I have tried a few things like connecting the DAQ to a chart graph but it doesnt have the log graph which I need. I have also fiddled with the XY graph by connecting the DAQ assistant into the 'Y Input' but I am not sure how to input time into the x input.
    If someone could help me with this problem, it would be much appreciated.
    Thanks,
    Gurung 

    Hi Gurung,
    what do you expect here? Wire waveforms to a chart:
    (DAQmxRead settings: n channels, n samples, 1D array of waveforms)
    For learning the basics you should
    - examine the examples coming with LabVIEW
    - go through the Basics course on NI website
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • I would like to see the time in a waveform graph (real-time​)

    i need the x-axis of the waveform graph to show real time (from the computer clock). I have made a program with all the example. He read and log data when the chosen time has elapsed. the program work's well...but i dont't know why the x-axis blink every time he draw a point
    i can see two x-axis in the same time.
    i give you a picture of one of a part of my program, i hope someone can help me
    Attachments:
    my_software.JPG ‏128 KB

    Hi,
    I tried to reproduce what you were getting by building a simple VI but I havent had much luck (I have attached the VI).
    Could you post your code so that I can take a look at it?
    Feroz P
    National Instruments
    Attachments:
    Graph.vi ‏39 KB

  • How to plot bar graph in the real time?

    Hi guys
    I have n row and 3 column array, n will vary according the time, for example t=10ms, n=1;t=20ms, n=2;..., I would like to display all the data of the array in the bar graph  in real time. I tryied with example "array to bar graph demo.vi" but very time, only one row was displayed.
    Could anybody help me?
    Many thanks. 
    Sorry I don't know how to capture the picture from VI, so I pasted it diagram to word document.
    Attachments:
    question.doc ‏240 KB

    Where did you get this example. I can't find it listed in the current shipping examples.
    Also, posting a small image of a section of a block diagram is not much to work with. You are using local variables and a sequence structure. Neither one is a good sign. If you would simply post the actual VI (and any subVIs), it would be much easier to see what you mean.

  • Trouble getting a subvi to update a graph in real-time on the front panel

    Hi All,
    First post here, so play nice =). I am trying to update a graph on the front panel from within one of my subvis, however it does not update it in real-time. It will only show the completed graph after the subvi finishes running. I have tried to use references/property nodes and I have also tried using my chart as a global variable, but neither of those methods have worked (I am probably doing it wrong). Can anyone provide a detailed walk-through of how to do this using either one of those methods? Or perhaps even a different method?

    ModusPwnens wrote:
    This is how you do it, right?:
    Try this for a quick demo of the reference method:
    Create a VI as shown in the image.
    Select only the while loop and do "edit...create subVI" (as shown). (you will get a subVI that contains the needed connectors and is alread wired to the reference)
    Run the main VI, and the chart will update every 200ms.
    Note that this is only a draft and many things are missing. (For example, the subVI cannot be stopped at the moment. Also, you want a graph, and not a chart.)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    updateViaSub.PNG ‏32 KB

  • Plotting a graph in real-time without reading from a file

    Hello there.
    I am trying to plot a graph. I have succeeded in plotting the graph by first writing the data to a text file (.TXT), then reading from that text file.
    However, I feel this method will take up a lot of memory. Thus, I was wondering whether it is possible to plot the graph directly without first writing it to a text file.
    Thanks a million.

    You can use a while loop with a shift register, inside the while loop, put a case structure, and in it, your data aquisition vi. When you get data, use the shift register to append data to the array, using build array (the shift register will go in as an array, and data as an element) just execute the appending state when data is present, and you'll have a real time graph.
    Hope this helps

  • LMS 3.2 real time graphs

    Hi Guys,
    Can somebody tell me how to set up the following in LMS 3.2 running the latest version of various modules like RME, CS etc.
    1. Real time graphs. If I am monitoring 100 switches in LMS, to be able to display reachability status of 100 switches in a graph (say refresh interval of 5 mins)
    2. When a switch goes down, to generate an email.
    TIA

    You can't view syslogs in real-time through LMS.  You can run reports within RME to view them once they are stored in the RME database.  This is done under RME > Reports > Report Generator.
    LMS is not a general purpose trap receiver.  The DFM application does receive and process SOME traps.  Instead of traps, DFM primarily relies on polling to build its fault events for devices.  These can be viewed in real time under DFM > Alerts and Activities > Alerts and Activities.

  • 2 real-time plots + curve fits on the same x-y graph

    Hello all-
    Per the title, I'm trying to plot two series, both in real time, plus curve fits for each series on the same x-y plot.  Some background on the subject - this will be used to show the temperature distribution across a counter-flow heat exchanger.  So the x-y plot will plot temperature vs. position for two different flow streams - a hot flow stream, and a cold flow stream.  I would like to plot them both on the same graph so the temperature relationship between the two flows can be clearly seen.  If I can plot 2 series with simple lines connecting the points that would be fine, but would prefer some smoothing on the line or using a curve fit if that is possible to do in real time.
    A screen shot of my block diagram is linked below.  As you can see, the diagram is symmetrical with the inputs from the cold flow being processed on the top, and the inputs from the thermocouples in the hot flow being processed at the bottom.  I've got 2 issues:
    1.  Plotting 2 series on the same X-Y graph in real time.  (I've done this before, but never in real time).  Am I correct in assuming, if I append the array so it is a 3-D array (X, Y1, Y2), that I can plot both series on the same X-Y graph?  The individual X-Y graphs are functional, but I would like to combine them.
    2.  I've circled a bundle output which outputs the X,Y values of a curve fit.  The output here is a string (pink wire), so I cannot plot it on the X-Y graphs which are shown, due to it being 2 different data types.  Is there any way to plot the curve fit on the same graph?  Is LabVIEW capable of doing this in real time?
    Thank you for any help...   I realize that some of the answers here may be obvious, but visualizing what's going on in LabVIEW is a bit of a challenge for me, since I'm used to seing text-based code in VBA and MATLAB.
    Attachments:
    HX Block Diagram 2.jpg ‏302 KB

    The output you have circled is a cluster of two 1D arrays, not a string.
    XY graphs take a varirty of inputs (array of points, cluster of x and y arrays, complex arrays, etc.) but you cannot mix datatypes in a single graph. Since you are graphing arrays of points (a point is a cluster of an x and y scalar), you need to do the same for the data you circled. Simplest would probably be to just wrap an autoindexing for loop around the bundle function. See how far you get.
    If you want detailed help, please attach your actual VI. We cannot debug a picture.
    LabVIEW Champion . Do more with less code and in less time .

  • Real-time updates of an XY graph with a 2D array (x,y) inside a for-loop

    Hi all,
       I am new to this forum, and relatively new to LabView (I've used TestPoint in the past), and I have a question. I have implemented a for-loop to grab data from an LCR meter (via GPIB) which becomes the Y data. The X data is calculated and tunneled into the for loop (although varies with incrementing 'i'). Anyhow, I am trying to store all of the data and keep the user updated throughout the test by plotting the XY Graph each iteration. Right now, the XY Graph plots one point at a time, so somehow the data I am appending to the 2D array (x,y data) is getting overwritten each itteration. How can I make it so that each new point is added to the array, making it bigger so that the data will be saved and so that the user will be able to see all the data in real-time on the graph as the test in running?
    Thanks
    P.S. I would post a screenshot, but I'm not sure how to upload here.

    Hey Mendeleev3104,
    There is an attachment section at the bottom of the post when creating or editing a post. You might want to use that to attach a picture of your code.
    None the less I will give a shot with some suggestions without viewing your code.
    You should look into using shift registers along with the Insert Into Array.vi to build an array of numbers. A good source of information for shift registers can be found in the For Loop and While Loop Structures help.
    Hopefully this helps!!
    Aashish M
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • I want to be able to tweak the graphic equalizer in real time while recording - and have this have the audible effect written to the recording.   At the moment i have to go into post-production and manually set the graph equalizer at various time points .

    i want to be able to tweak the graphic equalizer in real time while recording - and have this have the audible effect written to the recording.
    At the moment i have to go into post-production and manually set the graph equalizer at various time points ...

    This won't be real-time as you record, but you could tweak the EQ in real-time after the recording thus:
    Record what you want to tweak into GB with no effects.
    Solo the track and output it into something like Audacity.
    Start Audacity recording, then play your track in GB as you make those tweaks. That's what Audacity will record.
    Get that file from Audacity and put it into GB, then you'll have that effect.
    Sorry if it's complicated, but that's what came to mind. Hope it works.

Maybe you are looking for