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.

Similar Messages

  • 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 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

  • 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."

  • 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

  • What are the alternatives to updating indicators using property nodes?

    Hello,
    I'm building a VI which needs to update several controls/indicators at multiple points throughout its execution. It also needs to be able to accept new values from the controls at any given time.
    The problem with this is that all of these controls and indicators are on the front panel of another VI which is calling my VI. The current version of my program updates all of these controls and indicators using references and property nodes (each indicator/control that needs to be used has its own reference control on my VI, and these references are then sent into property nodes), which naturally makes it slow.
    At the moment I'm considering rebuilding my VI in such a way that the main one is able to retrieve the data without using references, but this will be not only very time-consuming but also difficult and possibly even impossible without my code turning into a massive disorganized pile (especially since the lab computer is slow enough, and the main VI large enough, that pressing the 'clean/reorganize block diagram' button causes a crash).
    Any alternatives to this? Queues?
    Solved!
    Go to Solution.

    This (my Event nugget) is the best general solution I came up so far.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Can we change the property of each element of an array using property node or by other methods?

    Hello all,
    Can we change the property of the elements of an array. For example:
    I have an array of combo-boxes. Can i have such a scenario that different combo-boxes of the array will have different items to select an item.
    I am able to set the different "values" in different combo-boxes bu using "to be more specific class" property node.
    But i could not set the different item list in different combo-boxes.
    Please give me the solution.

    Thanks a million dave!!!!!
    I have learnt a very new and innovative thing...
    I just wanna ask you one more question in the above context.
    Can i have listbox or combo-box in a table just like in an excel sheet where we can have listbox by using "data validation" property for different cells having different list.Can i have this in labview. Because for this i have to super-impose the combo-boxes on the table and treat them separately.
    We have to take those combo-box values and put in table and then store it.I have attached one VI to show the scenario.
    And this is the alternative solution of the array problem which u have already given. So please suggest me between the two or any alternative solution.
    Thanks,
    Ankit Madaan
    Attachments:
    Recording _Table.vi ‏19 KB

  • 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

  • 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

  • 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
    >

  • 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

  • How can we colour one LED in 4 colours by programmatically, using Property node, Colours [4]?

    Say, we have Grey indicate off, Amber indicate processing under test, Red indicates fail and Green indicates Pass.

    The 4 color clusters in the array needed for the Colors[4] property are indicating the 4 states of a boolean. The first color in the cluster is the foreground color, teh second color is the background color.
    The 4 states are False, True, the True to False transition, and the False to True transition. The attached image shows these 4 states.
    The easiest way to set the colors is to write to the node using a color box constant. You can find this on the functions palette under Functions>Numeric>Additional Numeric Constants and it's the first one in the first row.
    So if you want to change the False color state, referring to the attached image, you can see that you would need to write to the first cluster element of the first array element. If you w
    anted to change the True state, you need to write to the first cluster element of the second array element.
    Ed
    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:
    Boolean_Colors[4].gif ‏12 KB

Maybe you are looking for

  • How to write a filename

    here is my problem I want my Log Files Filename to be created with respect to the Current Date..e.g. say today is May 24,2007....then the created log file will display in c;/ as c:/2007-05-24.csv....then if I'll use the application say in June 05..an

  • Hi - I own a CanoScan 8800F scanner. I need help, I want to scan about 200 registrations.

    As a membership secretary I receive about 200 registrations over a two month period. How can I scan them in and index them? Is there a software that will work with my CanoScan 8800F that will facilitate this? Thanks, Bill

  • XML Data Subselect

    I have an XML connection that reads restaurant records. I also have a List component that displayes them. How can I change the types of restaurants displayed on the list? I do have a field on the XML page for "RestaurantType". I've crerated buttons f

  • Ipod attempts to play but skips song after song

    I'm pretty sure its a 5th gen. ipod. A song title appears and it says for the time 0.00, waits 15-30 seconds, and then skips to the next song. It is as if the iPod tries to play the song, but can't figure out how to do so. It continues to do this and

  • Restarts every 3 MINUTES after Gingerbread update!

    Subject pretty much says it all.. I installed the update this afternoon (and did NOT install anything else since) and now my phone is restarting itself every 3 minutes! I don't even think that's enough time to get in and back up my apps and texts, so