Scaling intensity graph Z-ramp with panel - how?

In LV7.1.1 is there any way to get the color ramp associated with an intensity graph to scale with changes in the VI panel size?
I've tried telling VI to scale the intensity graph indicator with the panel and that didn't work nor did telling it to scale all front-panel objects with the panel. The ramp always retains its original size.

I think you are stuck.
As for most of the controls, there is no way to change the size programmatically.
The only thing you could do as work around is to create a picture control (which size can be changed...) to mimick the graph scale...
Chilly Charly    (aka CC)
         E-List Master - Kudos glutton - Press the yellow button on the left...        

Similar Messages

  • Using intensity graph

    Hi,
         Currently, I have some problem using the intensity graphs. I am using the Time frequency toolbox in Labview. Currently, I am having a problem where I needed to plot the spectrogram of the signal. I have tried to maintain a plot of spectrogram at 0 to 4s and another at 4s to 8s. I am trying hard to plot two graph together, to form a plot of 0s to 8s, in the spectrogram. Furthermore, the time axis will continue to increases at 4s interval with updated spectrogram. I wonder how could i achieved in having two spectrogram with two different time interval to display a common plot? Thanks a lot for advice.
    Rdgs
    kengkc 
    Solved!
    Go to Solution.

    Hi kengkc,
    Correct me if I am wrong, but are you saying that you have the data for the first 4 seconds of your acquisition (t = 0 to 4) and the next 4 seconds of your acquisition (t = 4 to 8) and you want to combine them into one plot? I presume since you were able to plot them in an intensity graph to begin with, that they are already in arrays.
    If that is what you want to do,  you can easily concatenate your arrays using the Build Array function (this means to append one array to the end of another). Add your Build Array function from the Array subpalette, and make sure you right click it and choose Concatenate Arrays so that you dont get more dimensions in your resultant array. Then expand the Build Array function so that you can wire your arrays into it.
    Please refer to the attached screenshot for an idea of what I mean.
    Hope this helps.
    Best regards,
    Vern Yew
    Applications Engineer
    Attachments:
    concatenate.JPG ‏17 KB

  • How does LabVIEW Render the data in 2D Intensity Graphs?

    Hello,
    I was hoping someone could explain to me how LabVIEW renders it's 2D intensity data. For instance, in the attachment I have included an image that I get from LabVIEW's intensity graph. The array that went into the intensity graph is 90000x896 and the width/height of the image in pixels is 1056x636.
    Something I know from zooming in on these images as well as viewing the data in other programs (e.g. Matlab) is that LabVIEW is not simply decimating the data, it is doing something more intelligent. Some of our 90000 lines have great signal to noise, but a lot of them do not. If LabVIEW was simply decimating then our image would be primarily black but instead there are very obvious features we can track.
    The reason I am asking is we are trying to do a "Live Acquistion" type program. I know that updating the intensity graph and forcing LabVIEW to choose how to render our data gives us a huge performance hit. We are already doing some processing of the data and if we can be intelligent and help LabVIEW out so that it doesn't have to figure out how to render everything and we still can get the gorgeous images that LabVIEW generates then that would be great!
    Any help would be appreciated! Thanks in advance!
    Attachments:
    Weld.jpg ‏139 KB

    Hi Cole,
    Thank you for your understanding.  I do have a few tips and tricks you may find helpful, though as I mentioned in my previous post - optimization for images or image-like data types (e.g. 2D array of numbers) may best be discussed in the Machine Vision Forum.  That forum is monitored by our vision team (this one is not) who may have more input.
    Here are some things to try:
    Try adjusting the VI's priority (File»VI Properties»Category: Execution»Change Priority to "time critical priority")
    Make sure Synchronous Display is diasbled on your indicators (right-click indicator»Advanced»Synchronous Display)
    Try some benchmarking to see where the most time is being taken in your code so you can focus on optimizing that (download evaluation of our Desktop Execution Trace Toolkit)
    Try putting an array constant into your graph and looping updates on your Front Panel as if you were viewing real-time data.  What is the performance of this?  Any better?
    The first few tips there come from some larger sets of general performance improvement tips that we have online, which are located at the following links:
    Tips and Tricks to Speed NI LabVIEW Performance
    How Can I Improve Performance in a Front Panel with Many Controls and Indicators?
    Beyond that, I'd need to take a look at your code to see if there's anything we can make changes to.  Are you able to post your VI here?
    Regards,
    Chris E.
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • How to change z-value in specific region in intensity graph

    Hi!
    I have an intensity graph and I want to mark a specific region which is dark and then change the z-value(autoscale) so I can see what in  this region, of course the rest of the intensity graph will be very bright but it's not a problem.  How do I do that?
    Thanks in advance
    Giang

    Assuming you are using LabVIEW, you would be much better off posting to the LabVIEW board since your question has nothing to do with counter/timers.

  • X-Y with intensity graph

    Hello.
     This is my task :
    I have 2 waveforms with different frequency ( this is my output) I read them with Analog input. One waveform is x and the other is y. I have also the third input that is the intensity in every point ( so I have x,y and intensity). I need to built graph with these 3 parameters. Do you have any idea what kind of chart do I need?

    I will try to explain my problem again.
     I need to built raster with signal. In the analog output (two channels) I generate two waveforms with different frequency. With two Analog inputs I read this waveforms and also I read additional AI with signal intensity. And I need to present in the intensity chart or graph signal intensity in every pixel (x-y). So I need to solve a number of problems:
    1. First of all I get tree AI in one waveform chart. And I didn't understand how I can split the signals from the different waveforms.
    2. How to "explain" to the intensity graph that every point intensity has specific x and y.
    Maybe now it is more clear. I attach my vi's maybe you can help me.
    Thank you
    Attachments:
    AI+plot.vi ‏90 KB
    AO.vi ‏63 KB

  • Axes scaling and Intensity Graph

    Hello,
    I use a Intensity Graph to display measured data. Sometimes the X/Y-axis has to be transformed via the 1/x Operation and some other nonlinear transformations. Now I don't know how to let the Intensity Graph display the data correctly.
    E.g. I use a normal X/Y Graph. After the 1/x operation the space between the data points are not equidistant anymore. This probably works because the XY-Graph needs the X AND Y Axis.
    How can I do this with the Intensity Graph? Is there a simple solution or do I have to use the "picture" or somehting else?

    Greetings!
    You might need to use the arbitrary marker spacing. (click on the legend and look at the options) YOu can then assign a new color to each increment you select. You can also play around with the gradients, (color interpretation) but I suggest you only do that after you have your markers where you want them. I'm sure you can get nice results with the intensity graph.
    Eric
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705

  • How to determine the coordinate (intensity graph)

    Hallo all,
    is there a tool in labview, which enables me to determine the coordinates of a point in an intensity Graph? i mean, is it possible to determine these coordinates just by clicking on the desired point?
    thanks

    See the following code.
    Ton
    Message Edited by TonP on 09-25-2008 03:56 PM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!
    Attachments:
    GetCoords.png ‏6 KB

  • How to change z-value in a specific region in intensity graph

    Hi all!
    I have an intensity graph and I want to mark a specific region which is dark and then change the z-value(autoscale) so I can see what's in  this region, of course the rest of the intensity graph will be very bright but it's not a problem.  How do I do that?
    Thanks in advance
    Giang

    Easiest method is to change the z scale, unselect autocscale z and rescale the max and min z to the max and minimum region of interest.  This can be easily automated, by using the roi as a subset of the input array and then get max min of the subset and feed it to the z-scale property max min.
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • How to read out the scale values of an intensity graph?

    My aim is to read OUT the scale ranges (Max and min values DISPLAYED) of an intensity graph.
    I want to do a scan of an area, display the result in the graph, graphically zoom in on something interesting and then use the zoom coordinates to define the area for the next scan.
    Is that possible, and how?
    If impossible, is there a work-around?
    Solved!
    Go to Solution.

    Use the "XScale.Range" and "YScale.Range" property nodes. 
    www.movimed.com - Custom Imaging Solutions
    Attachments:
    Scale Ranges.vi ‏13 KB

  • How to make beautiful intensity graph/chart?

    I have one question for plotting the intensity graph using labview. I have ten bins
    particle data (as attached, the first row is particle size which is y and the x is time, and the z is the particle concentration). I try to plot a intensity graph, but I got a very ugly picture. I use the property node but still don't get a good one. I want to know if the data is sufficient to make a nice plot and how to make it? Thank you very much.
    Attachments:
    06242008-dNdlogDp-flow3.txt ‏27 KB

    Thanks,altenbach. What I mean beautiful picture is something like thisnot include the top line). Anyway, could you put your vi in the post, I use labview7.1, thank you.
    altenbach wrote:
    jzhao wrote:
     I use the property node but still don't get a good one.
    I have no idea what that means! What kind of property??? What did you wire to it????
    An intensity graph needs the point regularly spaced (linear or lograrithmic), while your y mapping is nonlinear. This means you need to re-interpolate for a regular xy grid.
    Unfortunately, I don't know what you mean by "ugly" can you show us an example and tell us in what way it is ugly.
    Here's a quick attempt, remapping the y-axis to 200 equally spaced points. I don't know if you consider this ugly.
    Message Edited by altenbach on 06-28-2008 01:32 AM
    altenbach wrote:
    jzhao wrote:
     I use the property node but still don't get a good one.
    I have no idea what that means! What kind of property??? What did you wire to it????
    An intensity graph needs the point regularly spaced (linear or lograrithmic), while your y mapping is nonlinear. This means you need to re-interpolate for a regular xy grid.
    Unfortunately, I don't know what you mean by "ugly" can you show us an example and tell us in what way it is ugly.
    Here's a quick attempt, remapping the y-axis to 200 equally spaced points. I don't know if you consider this ugly.
    Message Edited by altenbach on 06-28-2008 01:32 AM
    altenbach wrote:
    jzhao wrote:
     I use the property node but still don't get a good one.
    I have no idea what that means! What kind of property??? What did you wire to it????
    An intensity graph needs the point regularly spaced (linear or lograrithmic), while your y mapping is nonlinear. This means you need to re-interpolate for a regular xy grid.
    Unfortunately, I don't know what you mean by "ugly" can you show us an example and tell us in what way it is ugly.
    Here's a quick attempt, remapping the y-axis to 200 equally spaced points. I don't know if you consider this ugly.
    Message Edited by altenbach on 06-28-2008 01:32 AM
    Attachments:
    DMA_N.jpg ‏162 KB

  • Fix axes in intensity graph with cursor

    Hi all,
    I try to use the intensity graph as an xy-input device. The user should be allowed to drag the cursor to enter the value. However, the user can always move the cursor outside the plot area, which causes the corresponding axis to rescale. I want to have strictly fixed upper and lower limits. Is there any way to achieve this? One possible solution would be to reset the min/max values every time the cursor was moved (and coerce the cursor position back into the range). A simpler approach would be appreciated!
    Regards,
    Matthias

    > I try to use the intensity graph as an xy-input device. The user
    > should be allowed to drag the cursor to enter the value. However, the
    > user can always move the cursor outside the plot area, which causes
    > the corresponding axis to rescale. I want to have strictly fixed upper
    > and lower limits. Is there any way to achieve this? One possible
    > solution would be to reset the min/max values every time the cursor
    > was moved (and coerce the cursor position back into the range). A
    > simpler approach would be appreciated!
    >
    You don't say what version of LV you are using, but if it is relatively
    recent, right click on the graph and go to Advanced and uncheck the
    option to have Cursors Scroll Graph. The user can still drag and
    release the cursor und
    er the edge of the graph, but this will not change
    the scales. You can pretty easily filter cursor points that are out of
    range and even write back to the cursor value if you need to. I believe
    that if there is data in the plot and the cursor is set to lock to the
    plot, then it cannot be dragged outside the data either, and that is
    another solution.
    Greg McKaskle

  • How can I stop the cursor from being dragged outside the bounds of an intensity graph in LV 7.1?

    Currently, an intensity graph cursor can be dragged outside the graph bounds, and the cursor position continues to change as if the graph had no bounds.

    You can maintain the cursor (and the graph scales...) between defined boundaries programmatically, using an attribute node. Not a very elegant solution, since there is some quivering. See the example.vi.
    Of course, if the user need to modify the scales (zoom in/out...), there will be some additional work ! :-)
    Hope this help.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Bound_cursor.vi ‏51 KB

  • Q - How to program the min/max values of an intensity graph

    Hi LabViewers,
    I'm looking for a way to program the min/max Z values of an intensity
    graph for image display properly, but unable to figure it out so far.
    Any idea?
    Chengye

    Right click the graph's control on the block diagram and create a property node.  Right click the node and Change all to Write.  RIght click the node again and select from Properties either the combined ZScale->Range->All elements  -or- you can individually define 2 property nodes for Max and Min (also under Zscale->Range).
    Message Edited by Jonnie 5 on 12-14-2005 03:07 PM
    2006 Ultimate LabVIEW G-eek.

  • Intensity graph Z cursor value

    Greetings!
    I am creating a scanning XY stage program using an intensity graph.  I have a cursor to drag around that moves the XY stepper motor stages; zooms, adjusts Z colors & "contrast", etc.  I have the data showing up fine.
    However I can't figure out how to get the Z value (so I don't have to show the big cursor legend).  As you know in the cursor legend as you move a cursor the X Y and Z values are shown.
    Can't find a property node for the Z value...  This must be simple 
    Thanks!
    Steve
    Solved!
    Go to Solution.

    Unless you use custom axis offsets and increments, it is just the value of the 2D array and the indices of the cursor positions, so index array should get what you want. If you use custom axis scaling, you need to apply the linear transform between cursor x, y values and corresponding array indices.
    In a better world, the cursor index property should give both indices of the 2D array and the method would directly work also for cases where the axis scaling is custom. This is the reason for my old idea here, so please vote for it!
    LabVIEW Champion . Do more with less code and in less time .

  • Programmatically disabling/enabling cursor in intensity graph

    Hello all,
    I am building a LV interface (LV2011) for a stepper XY stage.  The system "scans" a surface, displaying it on the graph.  I set up to cursors to zoom into a region of interest (ROI).  Pressing a button resizes the scales to the ROI (zooming in on the area).  Sections of code move the XY stage, and read a device.  When done I want to zoom into a ROI and use a THIRD cursor to manually move the XY stage.  I have this working with TWO graphs, based on the "region of interest.vi" I found in the dev zone.  
    What I would like to do is have a boolean toggle controlling ONE GRAPH between setting min/max (cursors 0 and 1) and manual stepper position (cursor 2).  If cursor 2 is visible I want cursors 0 & 1 not showing and visa versa. Can I do this?
    I attached the example - bascially what I did was add a cursor to the 2nd graph, grabbing the XY vales and sending to the stepper controllers. Works great!  I am trying to "combine the two" by resizing the orig graph with a button click (works fine) and then click another button to show the XY stage cursor (and hiding the min/max cursors) - thats the brick wall
    On a seond note - controlling a XY stage using the intensity graph's cursor is really nice; however it would be great if I can control the cursor similar to a slider's "coerce" - has anyone done this?  I assume I have to write a routine in the event that performs some modulo function. Just curious!
    Thanks,
    Steve
    Solved!
    Go to Solution.
    Attachments:
    roi.llb ‏40 KB

    Your exmaple works perfect. Howver I am having probs with Val(sngl) on the XY graph.  On the example you gave, lets say I move the cursor with the mouse - event fires, everyone is happy. If I move the cursor with CODE - nada.  I even read the "Value" of the graph and wrote it to "Val(sngl)" to try to fire the event.  How does one force a trigger on an XY chart when you move a cursor (say cursor idx2) using code?
    Better yet - why when I read the Val and write to Val(sngl) does the event not fire??? I have been searching for a basic XY table with sensor -type project but havent found one yet.  Everyting works great - draginng the cursor moves the XY stage. Now I need to do the auto-scan part  Use code to place the cursor - trigger the even that moves the stage.
    Thanks
    Steve
    Attachments:
    XY_Stage_Rev8.vi ‏53 KB

Maybe you are looking for

  • I can't update or reinstall adobe flash player on my mac 10.9.5.

    I am having trouble updating or re-installing my adobe flash player on apple laptop. I checked preference on safari to ensure there were block on plug-in. The update says it has failed or keeps asking me to close safari.

  • Remove attachments from MS Ooutlook converted file

    I have converted MS Outlook e-mails to a Adobe Acrobat X file.  Unfortunately, I set my preferences too late and have all the attachments in the final portfolio, which considerably adds to the size of the file.  I know I can go into each e-mail, clic

  • GTX 770 Gaming Card Bios question

    There is a new bios out for my card right now.  I know with Drivers it is always best to have the most current drivers but is there any reason why I should update my bios on my video card?  If I do need to update the bios, is it a simple of matter of

  • Vendor batch data

    Hi experts, While displaying batch (transaction MSC3N), I found Vendor Batch field with the vendor batch number in it. It drives me to the table-field MCHA-LICHA. But when I check the table, I find the field MCHA-LICHA with a blank value. How come it

  • Access to UI elements in onAction method

    Hi everbody, I have a really simple question: how can I access UI elements of a view in onAction methods so that I can change their attributes? (In the wdModifyView method I had no problem because I got access by the IWDView parameter). Regards, Chri