Y scale flip in waveform graph when using property node.

I'm having problem with property node. I'm trying to build a stackable scope with Waveform Graph And dynamically change the number of plots. It is working. But The Y scale is flipping. The minimum goes on the upper part and the minimum scale goes down. when I change it appearance it's not very fast. It take about 1 or 2 second on my computer.
The way it is build actually is:
Cluster_1 is containing 8 clusters. And each of the 8 clusters are containing a Waveform Graph. By reference I change the property of each Waveform to make visible or not each of the Waveforms.
First I would like to solve the scale problem and second accelerate the redrawing of my scope.
Maybe there is an other way t
o do what I need.
Thanks.
Nitrof
Attachments:
MultiScopeExample.llb ‏192 KB

Wow, you have a neat program! The problem with your y axis flipping is because the last four charts in the cluster were programmed with a flipped axis. I relabeled the charts and it worked correctly.
From what I could tell with your code, you do not need the sequence structures. The one inside of the even actually runs the same code twice. Remove this duplication and you should see improvement. Also clusters are slow, so you should not expect it to blink back with additional coding. Use defer panel updates to get that behavior. I incorporated these changes and attached the program.
Jeremy Braden
National Instruments
Attachments:
MultiScopeExample.vi ‏163 KB

Similar Messages

  • Can a waveform graph be used without for loop

    i would like to know if a waveform graph can be used without a for loop and if so, how? I tried using a while loop only, but the reading becomes too fast.
    can someone advise

    Dear nebb,
    first of all, graph is usually an offline plot of the acquired data but to use it as an online display u need to use build arrays in for/while loop which keeps on adding new points & plots in waveform graph.
    I am including a vi which incorporates a while loop in which by using build array, points keep on increasing & simultaneously they are plotted in the waveform graph.
    Using for or while loop, it has no concern with speed. it depends on the code inside the loop which makes them faster or slower.
    For making slow readings, you can put some delay inside while looping.
    Hope this works. YOur feedbacks are welcome.
    Best Regards,
    Nirmal Sharma
    India
    Attachments:
    waveform_graph_without_for_loop.vi ‏17 KB

  • Why is the first value missing in the Chart when I use Property Nodes to clear my Charts programatically ?

    Hello everybody,
    I am using Property Nodes to clear my Charts right at the beginning of the program. The Property Nodes (History) are outside a While-loop.
    When I connect a Chart with the counter-variable "i" inside a While-loop, the first point I see in the Chart is (0,1) instead of (0,0). It looks like the Chart misses the first point !
    If the Chart is outside the While-loop the Chart displays all points.
    Can anyone please explain this behaviour ? How can I solve this problem ?
    Thanks,
    Cesar

    Make sure you have the error output from the property node connected to
    the loop border. Even if the error os not used in the loop, this will
    ensure that the property node clears the chart before the loop starts
    running.
    What is probably happening is the loop start running at the same time
    the chart is being cleared, so the first point is also being cleared.
    Ed
    Message Edited by Ed Dickens on 04-11-2006 09:50 AM
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
    Attachments:
    Clear chart before loop.gif ‏4 KB

  • Using Property Nodes to view a subVI's xy-graphs in the mainVI

    Hey all.
    Yet again I sit here facing a problem. I currently working on subtracting a background spectra from another measured spectra. This part work good enough, and is what you can see in the RemoveBackground.vi.
    My problem is that I want to display the xy-graphs from the subVI in my mainVI named Sample.VI. For some reason it worked for the one called Derevative, but though I am doing the very same thing to get the reference control (right-click the xy-graph in the mainVI and created a reference -> right click to create a control to the reference -> copy-paste the control into the subVI -> make a property node and connected the control and the property node -> selected the property value -> changed the property of the node to write -> linked the cluster going to the subVI's xy-graph to the property node as well).
    Why won't it work for my signal as well?
    Christian Maden
    Attachments:
    Sample1.vi ‏16 KB
    RemoveBackground.vi ‏38 KB

    The problem is that your Delta Signal XY Graph is expecting an array of clusters and you're feeding in a cluster to the "Value" property. If you insert a Build Array function prior to writing to the "Value" property it will work. Did not intend to have an array of clusters for that graph?
    You should not you have a nasty bug in your code. If you run the top level VI as is, you get into a continuous loop that displays a dialog message about not having any data, and the only way to get out is to force quit LabVIEW, unless you have a handy-dandy LabVIEW app that aborts all running VIs.

  • How do I remove lines from plot using property nodes

    I am displaying data on an XY Graph and want to actively change the plot using property nodes. I can add plot points and set there colour and understand using active plot, my problem is I can not get rid of the line. I have tried Plot.Linestyle but there is no option to completemy remove the line.
    Anyone any clues
    nice

    To get rid of the line, set Plot interpolation = 0.
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."

  • How to show/hide sliders on a slider control using property nodes?

    If I have a slider with multiple sliders on it how do I change which sliders are visible using property nodes? The only property I have found is making the entire control to be visible or not.  This is a possible solution to have two different controls, one slider with only one slider and another slider with two sliders overlapped, but not desirable.
    I found on a thread in the forum that it is possible but the user did not provide any specifics about which property it was. (http://forums.ni.com/ni/board/message?board.id=170&message.id=181279&query.id=34404#M181279)
    I would appreciate an example VI if possible (Preferred version is 8.5 but versios 8.2, 8.0, and 8.6 are available to me).
    Thank you in advance for the help,
    Aaron

    Just make them transparent! Here's a quick draft.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    HideSliders.vi ‏20 KB

  • How to use Property nodes?

    Hi everyone,
                           I am a beginner of LabVIEW. So I want to know about Property Node in detail. Please Please someone help me know the function of each property node......
    Thank You in Advance,
    Solved!
    Go to Solution.

    Achuthaperumal wrote:
    I am a beginner of LabVIEW. So I want to know about Property Node in detail.
    Property node allows you to programmatically read/write that particular property of associated object. For example, say you have a String Control, and you want to modify its 'Display Style'... for that you need to create and use that particular property node (of the String control).
    Check the attached example.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    Example - Using Property Node [LV 2009].vi ‏11 KB

  • How can I change the precision of a numeric array indicator using property nodes ?

    I want to change the precision of a numeric array indicator programatically using property nodes. I tried to see all the array properties but I couldn't find it. URGENT !!!

    If you want to change the precision of an element in an array you must first get the reference to the array element. Then raise the reference to the more specific class of a digital numeric. Use a property node connected to that reference to set the precision. See the attached vi for an example.
    Brian
    Attachments:
    ArrayElementPrec.vi ‏27 KB

  • Why knob need to use property node to change its value

    Refer boiler vi in CLD exam sample question. 
    In the vi the knob vlaue is changed with a property node, it is not wired directly to a constant. The comment in the vi is something like "writing using property node because of the latch action of the booleans in the cluster"...
    Huh? How do the booleans influence the knob even though they are in a same cluster? What principle is this called? I need to google this up,  I didn't read it in.
    my Labview books. 
    Attachments:
    Boiler Main LV86.zip ‏61 KB

    That comment doesn't make any sense.
    There are two main reasons I can think of why you want to use a Value property node.
    1.  You want to control the order of execution by using the error wire.
    2.  You want to use a property node on multiple controls by feeding it references to different controls.
    Neither of these appear to apply in the screenshot you show.
    However, looking deeper, it looks like you can set the value of a specific item in the cluster by way of the property node.  Check out the Link to section of its shortcut menu.  I don't think you can use a local variable to set a given element of the cluster.  Now you could change the value of the entire cluster.  Read the cluster, bundle the new value for that one element, write to a local variable of the cluster.  But you won't be allowed to do that because of the latched booleans that are a part of the cluster.  Hover over the context help of that property node and read the description there as well.

  • Use property nodes to change the state of a boolean through time

    I want to be able to switch the value from a boolean control, using property nodes, so that if the time elapsed is equal to 0,1 ,2 ,3 s, it should be false and if the time is equal o.5,1.5,2.5 s, the value should be true.
    Can some one tell me how to do this with propert nodes or with any other method?
    Thanks in advance!

    -Check this link for ideas on how to make loop run for specific period of time.
    http://forums.ni.com/t5/LabVIEW/how-to-make-a-loop-run-for-specific-period-of-time/td-p/1641018
    -To change value using property node>>right click boolean>>create>>Property node>>value>> Change it to write.
    -Forget about specific period of time, first learn to change the value of boolean programmatically.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • Print a graph when used different resolutions

    Hello,
    my LV programm
    (using V8.5.1) must run on computers with different resolutions (1024x768,
    1280x1024...), so I used the option
    "new scaling of all frontpanel elements after changing the windows size" (free translating   )
    (German: "Alle Elemente des Frontpanels bei Änderung der Fenstergröße neu skalieren")
    in my VI.
    This works fine but now I have some trouble with the printout of a graph.
    Depending of the selected resolution of the computer, the graph will be printed complete or only partial, then the lower part of the graph is missing.
    To print out the graph I used the VI  "Append Control Image to Report.vi"
    Can anybody help me?
    Gruß
    jan91

    Hello Jan,
     you are right - when printing the report in landscape orientation, images will be cropped if higher than the paper size.This issue has already been reported to our LabVIEW R&D team (#36511) and should be solved in a forthcoming update of the report generation toolkit. In my opinion, the issue is linked to the problem that the image will not fill out the report page completely to the right margin (#36926), another nuisance you might also have encountered.
    I have created a workaround for the problem,  which you should find attached to this post. As you change the graphs background color for printing, I added another property to resize the graph to the maximum printable size (evaluated here in trial&error, depending on your printer, the maximum size might change a bit), and another one to restore the original size when the report is done. To reduce the "blink time" of the graph, I placed the restoring property node directly after the control image has been attached to the report, so that during printer initialization, the original layout is already visible again.
    Hopefully, this is acceptable for you, until these issues have been fixed.
    Best regards,
    Sebastian 
    Attachments:
    print graph (modified).vi ‏44 KB

  • How do you plot multiple curves on the same graph when using a while loop?

    I am writing a program that will plot the IV Output chracterisitcs curves for a MOSFET transistor. I have two sweep variables Vg and Vd. For each Vg valve selected, Vd is swept from its start to stop voltage creating a graph for that Vg valve. Both of the sweeps are done using while loops. Ideally I would like to display all of the Vg plots on the same graph while having the ability to do real-time graphing. Can anyone help me figure this problem out? I have attached my program. Thanks!!
    Tammy
    Attachments:
    outputfin2.vi ‏165 KB

    Hi Tammy & Tica T,
    As far as I see it - this thread is a very bad version of already existing bad version......
    http://forums.ni.com/ni/board/message?board.id=170&message.id=127857
    I expected, that an Applications Engineer from NI knows something about  a Transistor and how an Output characteristic looks like !!  Take a look to a typical Transistor Datasheet ( e.g. n-channel MOSFET) - you will see, that there is no relation of ID vs Time like in your example ( values vs time )  but  IDrain vs VDrain at different VGate's ( no relation to Mr. Bill Gates ).
    Find attached a vi, that in general does what you need - drawing of  curves vs x-axis (XY-graph in use)  - in test_sweep.zip.  And that you geet an impression, how it might be done ...... dynamic Output characteristic of a Transistor with Standard Equipment of a Lab ( Scope + Generator + Power Supply ) find in addition a Frontpanel - picture. One of the interesting points here is - the self-heating effect; visible on ch3 of scope - 5µs Pulse is already a very long time...... This measurement was done in order to compare with our own Transistors......... 
    Hope this helps a little bit to understand, what we are talking about.
    Regards
    Werner
    Attachments:
    test_sweep.zip ‏358 KB
    dynamic Transistor char.png ‏65 KB

  • Align graphs using property nodes

    Hi,
    I am displaying data from 8 channels each on a seperate chart. I am using plot area and position property nodes to fix the size of each of these charts.
    I need auto-scaling but because of this, the charts are not aligned properly.
    Is there a way to fix the plot area and boundaries such that all the charts are aligned properly ?
    Shiv

    In LV6.1: Try to disable the chart property "Auto Adjust Scales" (located
    in front panel menu).
    In LV6.0.x: There is no possibility turn it off. :-(
    Robert
    "ponnaboy" schrieb im Newsbeitrag
    news:[email protected]..
    > Hi,
    > I am displaying data from 8 channels each on a seperate chart. I am
    > using plot area and position property nodes to fix the size of each of
    > these charts.
    > I need auto-scaling but because of this, the charts are not aligned
    > properly.
    > Is there a way to fix the plot area and boundaries such that all the
    > charts are aligned properly ?
    >
    > Shiv
    >

  • Using Property Nodes

    HELP! I am new to LV programming and have a problem. First of all I
    only have the evaluation version of LV 6i. I have looked through the
    online doumentation and the PDF manuals. What I am trying to do is
    have the fill color of a thermometer change when a certain temp is
    reached. This has got to be simple and I think property nodes are
    involved. This can't be too hard!

    Another alternative is to create a relationship between the current temperature and the color. Colors are made of the combination of Red, Green and Blue, each of them ranging from 0 to 255 (usually). If your temperature goes from 0 to 100 C, you can use the relationship 255/100.
    Attached is an example.
    Regards;
    E. Vargas
    www.vartortech.com
    Attachments:
    thermometer_example.vi ‏34 KB

  • Problem scrolling using property nodes

    What Im trying to do is a "fake scroll bar" using numeric controls and the VI Property FP Origin for the same vi where the numeric controls are. The problem is that when the vi is running and I use the scroll bar the controls also move and is a mess. I need to have it in a fixed (like floating) position within the window, how can I do that?

    How about using a property node to move the control as you scroll so it
    appears to remain fixed on a moving front panel?
    "pacp" wrote in message
    news:50650000000500000082D90100-1079395200000@exch​ange.ni.com...
    > Hi,
    >
    > What I want to move is the entire front panel but one control (the
    > fake scroll bar which is a numeric control) that is on it. What I
    > really need is to have ONLY a vertical scroll bar... the way to do it
    > doesn't really matter,
    >
    > Thanks

Maybe you are looking for

  • Overlap, bookmarker or something like this...

    hi, i read a lot of ebooks and i've got this question: can i mark a overlap or bookmarker (just like in normal books) in adobe so when i close ebook it will open next time exactly where i finished reading recently? i'm new so sorry if this thread rep

  • Asset special dep date default

    Hi Gurus, The requirement is that the special depreciation date for an asset class should be defaulted to 01/01/2007 This is with reference to the depreciation key ZZZZ wherein we charge special depreciation at a rate of 50% on the acquisition value.

  • Distribution of cost problem

    hi, i am getting a  message like Customizing error: Business transaction groups are not current, when i am trying to use the t.code: ksv5 (Distribution). Please help me to solve this issue

  • Bug in shuffle? or am I doing something wrong?

    Hi, I have a number of 1-minute clips that each have a 3 second text name on them in track v2. I've decided I want to re-order some of the clips, and I'm having more trouble with it than expected. First I tried to attach the name to the audio and vid

  • Email view problem.  Preview is fine, header information is good, actually message is blank?

    iPad email view just went blank.  Left column Preview is fine, all the header info for message shows up fine, but actual message is blank?  If I try to pinch message to shrink or enlarge, scrambled image and black box may or may  not occur.  Was work