Labview Intensity Charting/Graphing

How do you get an array with three columns of data to be 3 individual arrays and then graph them in an intensity graph/chart? I am pulling data from tcp and it is output as a comma separated string and a carraige return to denote an end of variables so the output in the data stream looks like:
(X,Y,Intensity)
6,80,9,
74,14,0,
51,69,1,
then i conver it to s spreadsheet style 2D array. I talked to the labview reps and they said I need to use something like Replace Array Subset. To do this. I have included the VI and an image of what my current setup results in. Basically I just want the intensity to be plot at the X and Y coordinate specified in the set. Thanks!
Attachments:
TCPGraphing.vi ‏40 KB
labview.png ‏108 KB

If I understand correctly, you will want to initialize a 2D array of the correct size for your data filled with zeros.  As the data is read in, use the Replace Array Subset to replace a zero with the new data.  The X and Y coordinates will determine which element of  the 2D array to replace with the associated Z value.  Something like the attached maybe?
Randall Pursley
Attachments:
Replace.png ‏20 KB

Similar Messages

  • Labview crashes with intensity chart

    Twice this morning, LV2010 has hung ("program is not repsonding") when I have tried to reposition an intesity chart on my front panel.  In one case I copied the chart from a NI example program into my VI.  When I tried to reposition the chart on my front panael, LV stopped responding.  Same thing happened when I tried again; the second time, I got the intensity chart from the charts and graphs palette.  I have LV 2010, version 10.0f2, and windows XP.  Thanks.
    Solved!
    Go to Solution.

    Hi there!
    The following KnowledgeBase explains why this might be happening.
    http://digital.ni.com/public.nsf/allkb/9A8FB888BFC​ED9658625721500434A31
    Basically, that chart might be holding a lot of data, and when you move it, LabVIEW has to rearrange all that information in RAM as you move the chart. You can either write smaller data, or save all that data in an array separate from the chart at the end of execution so you can save it. If you want to view it in a chart later, just input it back into a chart.
    Ravi A.
    National Instruments | Applications Engineer

  • MATLAB pcolor and LABVIEW Intensity Graph

    Hello all
    I have a data matrix which i want to plot using intensity graph of LABVIEW. My problem is that when i plot this matrix using MATLAB pcolor along with "shading interp" command, i got a very fine and smooth coloring graph of this matrix, however, using LABVIEW Intensity graph along with getcolor vi, i was not able to get a smooth coloring graph comparable to MATLAB pcolor. I have tried many setting but results were not satisfactory
    Is this due to a limitation of LABVIEW intensity graph or i am missing something? Kindly help me
    Best Regards
    Asim

    Thanks for providing that Asim, unfortunately the VI you provided is unusable as-is.  There is a subVI missing, and while not critical, it's difficult to tell how you're setting up the intensity graph without that VI.  Additionally, it doesn't appear that there is any graph data included in the VI you provided and a third-party software license would be required to use this VI.  Could you upload the data you're handling in a format that works without any external tools?
    As for thoughts on the differences in the plots; they are largely similar in appearance, although it does appear that you're using a different color scale in LabVIEW- the majority of your scale is in the blue-green range, rather than continuing linearly through yellow, orange, and red. You're going to lose a lot of visual resolution in the ranges you're highlighting due to this. The plot you're trying to achieve also appears to be interpolated or blurred around the edges of bins, are you actually plotting data between integers on the x-axis, or is this an artefact introduced by the software?
    Regards,
    Tom L.

  • Labview Intensity Graph Vertical Axis Label

    When I change the font of the vertical axis label of a Labview intensity graph, the label disappears. Is this a Labview bug or is there a way to correct the problem?

    Here are those screenshots... I was a little quick to submit
    - JLS
    PS - of course, when you're editing the free label, it doesn't have those nasty affects, and if you group the objects (see the Free Label and Grouping screenshot) it behaves (at least cosmetically) much like a native graph label
    Best,
    JLS
    Sixclear
    Attachments:
    Free Label and Grouping.JPG ‏81 KB
    While Typing.JPG ‏66 KB
    After Typing and Clicking Off the Graph.JPG ‏67 KB

  • How can I make a spectrogra​m from a soundwavef​orm using the intensity chart function?

    I want to make a spectrogram for a sound waveform where the x-axis is time, the y-axis is frequency, and the intensity is amplitude. I performed a DFT on the sound waveform, then used it as an input to the intensity chart function. Every time I run my program the x-axis has a scale from 0 to 1 sec, when my sound is longer. The y-axis doesn't give me the same range of frequencies as the DFT. The intensity scale is correct. Can anyone suggest another approach? The labview example did not help since I'm not generating an array and creating the intensity chart at the same time.

    Hello -
    You could probably use a 3D surface graph.
    I am including an attachment to show you what I mean. This example program is available here. I just made a few modifications to make it look as an intensity graph:
    1. By right clicking on the graph and going to CWGraph3D >> Properties and selecting the Grid Planes tab in the Graph tab, I unchecked the grids, to show just the graph. Then, I went to the 3D tab in the Graph tab, and selected Towards X-Y Plane in the View Direction section. Click OK.
    2. Then, I right clicked on the graph again and went to Advanced >> Enabled State and selected Disabled, so
    that the user cannot change the orientation any more.
    You can build your own plot using time and frequency as X & Y, and the amplitude will give you the color. You only need to adjust the orientation so that you can see it from �the top� and it looks like an intensity plot.
    Hope this helps.
    Attachments:
    XYZ_Plot_Example.zip ‏57 KB

  • How do I format 1D waveform array to output to intensity chart?

    I've tried to modify the "Cont Acq&Graph Voltage-Int Clk.vi" example vi to output to an intensity chart. The problem is the chart only accepts a 2D array of input data, while the DAQmx vis are giving me a 1D array of waveform data.  How do I fix this?
    Thanks in advance...

      Thanks!  Here's an example of the first few samples of the data I'm getting, plus the header:
    Channels 1 
    Samples 1000 
    Date 2006/07/24 
    Time 13:41:57.315999 
    Y_Unit_Label Volts 
    X_Dimension Time 
    X0 0.0000000000000000E+0 
    Delta_X 0.000100 
    ***End_of_Header***  
    X_Value Dev1/ai0 Comment
     0.068936
     0.028033
     0.038671
     0.047368
     0.053086
     0.052326
     0.039342

  • How can i specify pixels in the intensity chart ?

    Hi,
    I want to specify the number of pixels in the intensity chart . I have 56 values that want to be displayed . How can i do that? . 
    Solved!
    Go to Solution.

    Hi jerryvdk,
    By specifying the Number of Pixels, do you mean allowing only a specific Plot Area Size for the chart itself?
    You can modify this through the use of a Property Node.
    Steps to Change the Plot Area Size:
    Right click on the Intensity Chart.
    Scroll through Create » Property Node » Plot Area » Size » All Elements.
    This will create a Property Node which will allow you to change the draw area property of the Intensity Chart.
    By specifying a draw area of 56x1, this would allow a 56px draw area size. Is this what you meant?
    Alex Thomas, University of Manchester School of EEE LabVIEW Ambassador (CLAD)

  • Append Intensity Chart to Report

    Hello everybody
    I am trying to append an intensity chart to word report generation VI, any ideas to do this? I am thinking about append front panel image to report vi. but it doesn't accept my chart reference.
    The idea is to send the picture to report whenever defect is detected by the intensity chart during the test
    thank you 

    You cannot have multiple copies of the Report Generation Toolkit installed to different LabVIEW versions.  If you want to use the Report Generation Toolkit in LabVIEW 8.2, you will need to uninstall it from your previous LabVIEW version, then reinstall it to LabVIEW 8.2.  If you really need the toolkit installed to multiple LabVIEW versions, there is a workaround outlined in this KnowledgeBase entry, although it's not a complete workaround for the Report Generation Toolkit, since this toolkit is one of the only ones that actually replaces shipping LabVIEW files.
    We are currently investigating ways to alleviate the pain of using toolkits with multiple LabVIEW versions.  Let me know if you have any other questions.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Label Frequencies in Octave Intensity Chart

    Hi, I show some octave spectrum in an intensity chart. All is fine, but I can not label the y-axis ticks correct with the frequencies. The Y-axis shows only the index.
    In the array left I show the correct text for the y-axis.
    How can I replace the 0,1,..,10 with "31,5","63",..."16000" ?
    Peter
    I can not attach a vi? I get the errormessage:
    Correct the highlighted errors and try again.
    The attachment's IntensityOctave.vi content type (application/force-download) does not match its file extension and has been removed.
    Attachments:
    IntensityOctave.zip ‏8 KB

    Do you mean
    But I get only:
    I understand MarkerVals[], that at this values of the axis a marker should drawn. But the y axis range is from 0..10 (column index).
    I need instead a property MarkerText[] (as string array) to assign the text for the markers.
    vi attachment: there are many posts with vi files as attachments.
    And if I want drag the snippet back to Labview in a block diagram I get only a text with the link.
    And the Snippet Tool changed the Reference "intensity chart" to a control "Intensity Chart 2".

  • SharePoint Foundation 2013 - report / chart / Graph for Employee vacation.

    In SharePoint Foundation 2013 I want to create a report / chart / Graph for Employee (Employee Id,Employee Name & Department) which will show month wise from which date to which date Employee are on vacation in particular department.
    I'm thinking to create one List where where user will enter there vacation details and from that list report I will create chart / Graph Department wise to check the Employees availability.
    Please provide some good example or idea in detail for this.

    Hi,
    Chart Web Parts are useful for visually representing data in line charts, bar charts, and other views. Charts enable you and other users to view performance information at a glance.
    In SharePoint 2013, chart web part is one of the discontinued features. We usually use Excel Service to replace it, however, Excel Service is only available in Enterprise edition, so we need to figure out coding methods or third party tool if you are using
    Foundation edition.
    Here are some links for workaround in your situation, please check if they can be help:
    http://sivarajan.me/post/SharePoint-2013-Chart-WebPart-Using-HTML-5-RGraph-with-WCF-REST-Services
    http://charts4sharepoint.codeplex.com/
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Print Charts/Graphs on Smart Forms

    Hi Seniors,
    Here is a requirement on Smart Forms:
    I need to print Charts on Smart Forms. I have been through many answers on SDN but unfortunately, there are not many appropriate solutions. I executed some standard reports and got Charts and graphs as output but am not able to use it to display the same on Smart Forms. I have even  tried using classes for charts / graphs, business graphics(may be there would have been some sequential procedure for that).
    In the Smart Form, I have tried Form Attributes>Output Options>Output Format--> XSF output
    with output mode: 'Spool' and Output Device: 'XSFOUTDEV' from help.sap(I couldn't get what output device that was and was unable to execute).
    I have tried executing transaction GRAL(demo reports for SAP graphics) too.
    I found a report that would produce graph in Excel, I executed it, saved the graph from excel in '.bmp' format in SE78 and then printed it on Smart Form. But all I want is to have it done dynamically.
    I saw answers that we can save the graph chart/graph onto the desktop, upload it and then display it on the Smart Forms. But, when i tried it, I saw that it could be saved only in '.dat' format. I have to save it dynamically in a supported format like '.bmp' and print it on the Smart Forms(the graph would change depending upon the input values). Please help me resolve this.
    Thanks in Advance,
    Chaitanya.

    Dear Bouman,
    Thank you for the reply. I can write a report if would helps me to upload images dynamically. I saw your program but, here we cant give the name of the chart that comes as output. I tried to save the chart but it comes in '.dat' format but not in '.bmp' format. We may be having some classes or function modules that we need to call in a particular sequence. What other options do we have. Please help me resolve this.
    Regards,
    Chaitanya.C.N

  • My xml publisher report not display chart/graph in r12 apps

    dear all
    my xml publisher report is not showing chart/graph in oracle apps r12.1.1, but it's locally preview fine in MS word
    when i register rtf template in apps it just show data in xml not apply template without chart/graph it's work fine in apps
    please guide me.
    thanks
    Adnan zafar goraya

    Hello Adnan,
    To have the XML Publisher graphs display when started from Concurrent request, the DISPLAY environment variable must be specified.
    Please review the following Note on how to setup the Xserver
    Configuring VNC Or XVFB As The X Server For Applications 11i (Doc ID 181244.1)
    After this is done, you can run once again the concurrent program and check the output.
    Bogdan

  • CR 8.0 pie chart/graph doesn't appear in web browser

    Post Author: kevind
    CA Forum: Charts and Graphs
    Hi,
    I am using a CR 8.0 report (containing data in tabular format and Pie/Bar graph) with Web component Server.
    In design mode (by entering the parameters) when i view my report through the CR IDE then i can view my report perfectly with the pie and bar graphs.
    However,once i call the same report through the web component server, by my JSP page, the report appears with the data but the page containing the piechart/Bar graph doesn't appear. (i am using the ActiveXViewer)
    When i remove the chart/graph, then all the pages are displayed in my browser (IE) properly, but if i add back the pie chart then the page on which this should appear -  doesnt display.
    Has anyone faced a similar issue? In design it displays with data but once called through webcomponent server it fails?
    Thanks,
    Kevin D

    Hello Subramaya,
    currently I am working on a small article in the Wiki area of the ITS (Wiki, ITS HowTos): <a href="https://wiki.sdn.sap.com/wiki/display/HOME/UsingSAPGUIforHTMLinsteadofanIAC">Using SAP GUI for HTML instead of an IAC or EWT service</a>.
    Also see notes 1010519, "SAP GUI for HTML: Simplified Title Area Without Menu and OK Code" and 959417, "Integrated ITS, Closing Session When Transaction Ends". I am pretty sure that this is exactly what you are looking for.
    With best regards,
      TJ

  • Chart graph in 10g

    12/01/2012 12:00:00 AM
    12/31/2012 12:00:00 AM
    Hi
    I have one chart graph report in 10g.I migrated 11g.
    In 10 i selected creteria tab in Time,ID,Name,Addrss,Am1,Amount2,Amount3,........................
    In chart graph(Line-Bar) X axis is "Time" and Y axis Vertical bar is "Amount1" and Line is "Amount2)
    Now graph result displays based on this 3 columns(Time,Amount1 and ampount2) not based on creteria selected columns.
    In 11g
    The same report not showing correct data.(Mismatch 10g and 11g)
    When i recreate pivot graph report instead of chart graph report and i selected "server complex agg" in pivot view then data will matching.
    My Question.
    1.10g chart graph and 11g chart graph functionality same or ?
    e.g
    in 10g
    graph result displays based on this 3 columns(Time,Amount1 and ampount2) not based on creteria selected columns.
    But 11g retrun based on ceteria selection am i correct?
    In 11g,If i seleted this 3 column only in criteria tab then 10g report matching.
    2.All chart report in 10g we have to convert pivot view in 11g or no need?
    Thanks

    Raj,
    If you edit your chart, check the columns in "Layout > Line-Bar Graph > Bar and Lines > Group by section" you'll see most of your columns here. you'll have to either remove unnecessary columns from criteria tab or drag them in "Excluded" section.
    If you pull more than necessary columns in criteria, the analysis result will be shown as per the logic attached to all these columns. Try to keep only columns that are necessary for final output.
    Regards,
    Jitendra

  • How in Discoverer 4i viewer (Web) to set the size of the Chart(Graph)?

    Hello all,
    How in Discoverer 4i viewer (Web) to set the size of the Chart(Graph) by default?
    Thanks very much for any help.
    Dmitriy Zhabrovets

    Hi,
    I had a look and don't ask me why but it seems that you can't add extra rectangles in a sub table. But weirdly, it seems possible to add tables.
    I mean you can't add a rectangle using
    app.activeDocument.textframes.tables.tables.cell.insertionpoint.rectangles.add
    //remove any reference, that's conceptual at this time.
    The idea I had at the first place but put aside cause to its heaviness is to cheat.
    Instead of adding the rectangle, we are going to copy & paste it.
    So let's keep all the things you need (rectheight & rectwidth).
    But this time, let's use
    var oRect = app.activeDocument.rectangles.add({geometricBounds:[0,0,rectheight,rectwidth]});
    //You may need to use app.activeDocument.pages[x]... if you have a multi pages doc.
    app.select(oRect);
    app.cut()
    app.select(oInsertionPoints.item(-1));
    app.paste();
    heavy but it works.
    Loic

Maybe you are looking for

  • Problem with OleDBConnection and WindowForm

    Hello, this is my first post here, so dont get me wrong :p I have 2 diffrents problems with OleDBConnection. First problem is that when i open for example. access database my window from get smaller and elements are bugged.  Second problem is that wh

  • Having issue trying to import large (23min) clip into iMovie 08 and FCEx 4.0.1

    Through my iMac 2.0GHz 2GB ram, Intel Core Duo using OS 10.6.8 (Snow Leopard).  Try to no success to import a 23 min AVCHD clip into either iMovie 08 or FCEx 4.0.1.  I know my mac, OS and software are antiquated by today's current editions, but that

  • Raytek MM

    I am trying to communicate with an infrared pyrometer via its RS485 port. I use a RS485 to USB converter which opens a virtual COM port on my Windows 7 machine. I tried giving it a few commands, such as "?XU" (sensor version), but did not get a coher

  • E3200 USB storage - transfer very slow

    Hello The E3200 transfer rate I get is approximately 2.5MB/s ,  That seems very slow, especially with the n configuration, the USB3 hard drive I attached Is there a way to improve this? P.S.. I'm using the latest firmware 10.0.03 (build 9) Thanks

  • HD Content

    Hi I am trying to get my head around this. I cannot see any HD movies when I go onto the iTunes store from my mac computer. But I can see them on my apple TV? But if I purchase the HD content from the apple TV itself, does it copy over onto my comput