Property Node on Chart
Hi,
I made this program yesterday, but want to reset the charts X-Value everytime my program starts running.
So I searched for a solution and came up with this property node thing.
Then I've got this problem, can't see what I'm doing wrong.
I'm quite new to LabVIEW, sorry.
Solved!
Go to Solution.
Yeah, I right clicked on the chart, property node, history, changed to write.
I now placed the node outside the loop like you said, still no change.. :/
Just managed to fix the problem, just right clicked on the node, create constant, this did the trick.
Probably, because I did actually copied it
Thanks!
Similar Messages
-
Hello,
On a waveform chart, 4 signals need to be plotted based on the status of 4 boolean inputs. Eg. if the first boolean input is true, the first signal needs
to be visible on the waveform chart; if the first boolean input is false, the first signal should not be visible on the waveform chart and so on. This can be
done on LabVIEW desktop using the Waveform Chart Property Nodes 'ActPlot', 'Plot.Visible' - a sample VI "BundleSignals_Select_Desktop.vi" is attached for
reference.
But on PDA, since the Waveform Chart Property Nodes 'ActPlot', 'Plot.Visible' are not supported, some other method has to be used. I have done the
selection/de-selection of these signals using 'Insert', 'Delete' array functions as shown in the attached VIs "BundleSignals_PDA.zip" which works, but the
problem is that the colour of these signals do not work as desired when the selection/de-selection of these signals is done - It is required that the first
signal should always appear in White color, the second signal should always appear in Red color, the third always in Green color & the fourth always in Blue
color.
I hope i have made myself clear of the problem. Has anyone faced this problem before & is there a solution?
Note: Version of LabVIEW that we are using: LabVIEW 8.5 Professional Development System for Windows Vista/XP/2000 and LabVIEW 8.5 PDA Module for Windows
Mobile.
Thanks & Regards,
Subhashini
Attachments:
BundleSignals_Select_Desktop1.vi 25 KB
BundleSignals_PDA.zip 26 KBUnfortunately the only alternative to using property nodes is to set the properties manually on the development environement. The limited size of memory does limit us in terms of features for the module.
Mehak D. -
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,
CesarMake 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 -
Set chart value (property node) from a waveform ARRAY?!?
Hi!
In Labview 8.0 I want to send data to a front panel chart via its value property node. This works just fine if I wire a single waveform to the value property (attachment1). However, if I wire it with a waveform array (attachment2) it fails. Is there any workaround?
Thanks in advance,
Rudolf
Attachments:
attachment1.PNG 3 KB
attachment2.PNG 3 KBThe reason I was showing this with only one graph was that
the
two-graph version failed for me. I had tried having separate data
sources, of course. Just to be sure I have rebuilt the VI from scratch
as per your diagram (see attached image and VI) and run it again with
the same results:
The failure was not in my inability to see the
plot but rather in an error message (attachment) which would only
occur if I tried to wire more than a single plot into the value node.
I subsequently also tried doing this using 1D and 2D DBL arrays and
observed a similar problem: the 1D case works fine, the 2D case throws
"insane object" errors and crashes labview entirely.
Message Edited by frumpel on 04-05-2007 10:53 AM
Attachments:
test1.vi 16 KB
block-diagram.PNG 33 KB
error-message.PNG 15 KB -
Property node for a chart with multiple axes
I have created a chart with two y axes, one for each of two data sets
that I am plotting. From the front panel, I can view the properties of
the chart and adjust the scales of the two axes separately under the
Scales tab. I need to, though, adjust the maximum and minimum of these
axes programmatically. How can I create a property node that refers to
one of the two y axes, and how can I specify which axis the node is
referring to? If create a generic YScale:Minimum property node, I get
an error.
Thanks for the help,
TJR"...YScale:Minimum property node, I get an error."
That is curious.
You can specify the active scale for which the property will be applied.
The attached demo (in LV 7.1) illustrates how to do this by fist setting the index of the active scale and then updating its property (property nodes execute from top to bottom).
What error do you get?
Ben
Message Edited by Ben on 11-30-2005 08:07 PM
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction
Attachments:
Set Active Scale.vi 27 KB
Set Active Scale.JPG 18 KB -
Property nodes are severely affecting performanc​e
LabVIEW Gurus,
I am continually running into some serious performance hits using property nodes to update attributes of FP objects. Attached is a classic example.
I have 8 XY plots that are being fed 600 SGL points every 200 msec - a very modest data rate. Each plot is a dynamically instanciated .vit placed into one of 8 subpanels in a container VI. The container VI also acts as the data server for the charts, sending each one their data in their own single element queue. The entire architecture runs great (~4% CPU load, see attached picture) until I being updating a property node to display the value of the cursor y-value. When I enable the "Caption.Text" property node of the XY Graph to display the cursor value, the CPU usage soars to over 30%.
As an aside, I am developing on a dual core 2.1GHz platform with 4G memory with LV8.5.1, and the target machine is not nearly as beefy. That's why 30% CPU on my powerhouse is an issue - it basically brings the embedded target to its knees.
I have included an example VI for you to run on your machine. Consider it "representative" of my bigger issues. The VI runs about 10% CPU without the caption update, and 20% with the caption updates.
Finally, I have tried putting the VIs into the UI execution system. I have also tried Defer Panel Updates, but this actually slows down performance.
Best regards,
Jack Dunaway
With Captions
Without Captions:
Message Edited by mechelecengr on 10-10-2008 11:23 AM
Message Edited by mechelecengr on 10-10-2008 11:27 AM
a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}
Solved!
Go to Solution.
Attachments:
WithCaptions.png 102 KB
WithoutCaptions.png 96 KB
GraphPerformanceProblems.vi 23 KBYes, property nodes force synchronous execution and if you do that too often, other things suffer.
The above solution is good. You can simplify things even more by removing all that unneeded extra code that just complicates things.
Here's a quick draft. Let me know if you have questions.
Message Edited by altenbach on 10-10-2008 09:58 AM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
samewithlesscode.png 9 KB
GraphPerformanceProblemsMOD.vi 19 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 KBWow, 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 ?
ShivIn 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
> -
All objects property node and grouped objects
Hi
I am trying to position a the objects on my GUI in the centre of the screen using property nodes. However, I do not want to have to have a property node for every decoration, image and control. Is there a way that I can group all the objects and then use a property node to position them? I have tried using the all objects property node but none of the indexes seems to apply to my group of objects.
Help please!
Many thanks.
John
p.s. i have uploaded my test vi's. The chart, decoration and exit button have been grouped. use the control on check.vi to set the object to move.
Solved!
Go to Solution.
Attachments:
check.vi 13 KB
run.vi 13 KBTab pages are a nice way to group GUI objects.
Instead of using a decoration,
use a tab control
Remove all but the first tab
Hide the tab
Set the proprties of the tab control and the control on that page will move, hide, show along with the tab control.
I hope that helps,
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
I am using a WaveformChart to display multiple traces of data, the number of traces is variable, I use property nodes to set the number of traces and whether the digital display is visible or not, as more data is available the number of traces is increased and the digital displays are made visible. Within the Labview design environment everything works well. However when running the built application if two or more traces are to be charted I see error 1055. I suspect it is related to making the digital display visible on two or more waveform traces. See VI attached.
Why is this error happening ?
Thanks.
Single trace
Two traces
Solved!
Go to Solution.
Attachments:
Setup Plot Style.vi 29 KBWF Charts only create their plots at development time.
If you attempt to access a plot that was never there you get that error.
To work-around this detail, simply size the legend for more plots than you ever expect to use at development time so that the plots are created and availabe when you do the build.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
I have a graph chart with 3 plots. I can make any of the plots visible or not using property node as shown in the attached file.
Is there a any way I can scale the block diagram and use less case structure . for instance is it possible to use just one case structure to set the plot visible property of the three plots.
Thank you.
Attachments:
PropertyNodeChartAssign.vi 29 KB(You are using way too much code for these cases! Your true and false cases only differ by the boolean, which you already have from the control. In a first cleanup, you can delete the case structure and wire the button directly to the "visible" property. Same functionality! Right?)
Still, that's not the way to go!
Property nodes are expensive! You only need to write these properties if one of the selector changes, and not with every iteration of the loop! You should handle these thing in a seperate loop using an event structure. Attached is a simple example. See if it makes sense.
Notice that the bottom loop waits until needed and rarely spins.
Also: Instead of a column of similar controls, use an array of controls. Instead of using thee sets of "dices" use one in a FOR loop.
Message Edited by altenbach on 05-18-2007 08:32 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
ChartVisible.png 16 KB
PropertyNodeChartAssignMOD.vi 28 KB -
Where can I find docs on all the property nodes
Are all the property nodes for things like waveform charts and graphs documented somewhere. I have looked throught all the .pdf files that came with LV ( at least I think I have ) and haven't been able to find what I'm looking for.
If someone could point me to where all these are documented I would be most appreciative.
Thanks.The LabVIEW Help describes every VI Server property and method. The easiest way to find the help for a specific property and method is to select the property or method in the Property or Invoke Node, right-click the node, and select Help for xxx from the shortcut menu, where xxx is the name of the property or method.
In LabVIEW 6.0, you can browse the property and method help by selecting Help>Contents and Index, clicking the Contents tab, and navigating to Networking in LabVIEW>Properties and Methods.
In LabVIEW 6.1, select Help>VI, Function, & How-To Help, click the Contents tab, and navigate to Programmatically Controlling VIs>VI Server Properties and Methods.
Kelly H
LabVIEW Documentation
National Instruments -
How to find Property Nodes in other VI's
I am working on an application that I have inherited from others. It has huge, and in my opinion, very complicated and difficult to follow block diagrams. Here is the essence of the problem I am facing. On the main front panel there are various controls and indicators, but on the block diagram, none of them are wired to anything. So that means that (whomever it was before me) used property nodes on these controls and indicators. However, it looks like none of the references exist anywhere within the same .vi.
I have used the "Find reference" selection, but that only seems to work within the current .vi that I am already in. So I guess I have two questions...
1 Is there a way to search aross multiple VI's for a reference to a conrol or indicator?
2. To set up a program in such a way seems completely "bonkers" to me, as there is now no easy way to find where any of the controls or indicators are actually being set from. Considering there are something like 100 .VI's in this project, finding something is a bit challenging. Of course, there is not documentation of any sort. I am certainly NOT a labview expert. Perhaps there really IS a reason to set things up this way, that I am just not thinking of. Can anyone think of reasons why it might be a good idea to set things up that way? I would think that whenever possible you would want to wire directly to a control or indicator. And if you cannot do that, at least have the reference in the same .vi, and pass it into something else if needed.
Thanks....
DanFinding the where used cases for named queues and where obtained cases for vi server references to controls can get frustrating. The "find" feature in LabVIEW does allow text searches with several options.
Finding the String "<QueueName>" within the application instance on BD only and ignoring hidden stuff gets you to string constants that are exact matches to the queuename:
Searching for property node to a specific FP Object throughout a hierarchy can get devistating. Especially if the developer used the call chain to obtain a ref to the top level vi panel and pulled a rerence to a control that way
(DO NOT DO THIS) but I've seen it done:
Its "Legal" but almost garunteed to cause the guy who inherits your code to denigrate your parentage and intelligence. HOWEVER: that same text search for the control label text will find those string constants too.
Then document that code when you find out who is messing with what and how.
Chart it out over the app and e-mail that scribbling to the original developer too! Feel free to add a thank you note.
Jeff -
Use of property nodes together with embedded remote panels
Hello,
In the LV RT 6.1 release notes is a point under 'known issues'
You can programatically change the properties of front panel controls
and indicators in LabVIEW by using Property Nodes on a block
diagram. Similarly, when you target, or connect, LabVIEW RT to the
RT Engine on an RT Series device, Property Nodes affect the front
panel of the RT Development System on the host computer. However,
if you disconnect the RTDevelopment System from the RT Engine and
subsequently reconnect it, you must reset the properties for them to
take effect on the reopened front panel. The same applies to embedded
remote panels.
I did not found the same in the LV RT 7.1 release notes. Does this still apply to 7.1?
My problem is that everything done using property nodes behaves strange. For example setting scale offsets, multipliers, maximum and minimum is working well if the front panel is displayed in the web browser during the call to the property node. If the web page containing the front panel is reloaded the scalles get messed up.
Also clearing the history of a chart seems not to work.
Is there a workaround for this. Reseting properties as mentioned in the 6.1 release notes does not work with embedded remote panels since there seems to be no way to detect remote connections in labview.
Regards, BeatFor your reference.
I have been doing this since then
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010
依恩与LabVIEW
LVVILIB.blogspot.com
Attachments:
ClusterCTRLPropertyNode.jpg 54 KB -
Automatica​lly display number when the mouse attach approach node for chart ?
Hi all,
can automatically display number when the mouse attach approach node for chart ?
For detail ,see attach file
Thanks in advance !
Attachments:
chart display.JPG 70 KBCharts don't have cursors and they also don't have the "plot images" options, so your tools are limited.
Of course you can simulate a chart using a graph by keeping your own history and display it on a graph. Use cursor move events to trigger the calculation of the distances from the new cursor position to all points on the graph and pick the one with the shortest distance to the cursor. Now you can get the annotation tools to label the point, or get its x and y value and write the info using picture tools with the "plot images" property.
LabVIEW Champion . Do more with less code and in less time .
Maybe you are looking for
-
Is there a way to create a paid Membership site using Muse?
A client is wanting a website that has an area that is available to paid memberships. I have already read on how to create the secure zones, just wondering if there was a way to create a paid membership portion to the form. I have seen several hints
-
Validation for User to Restrict vendor
Hi Experts, My client wants that some users can only display one vendor account in vendor Line item / Balance reports and they are not accepting Authorization group update in vendor Master. Can you please suggest me that how can I do validation in OB
-
How to create a link to a page in Portal
I have a portal application that has a page with multiple portlets in it. On one of the reports i want a link that will rerun the same page but with the value you clicked on returned through the parameter list to be used with a bind variable for that
-
1. when I build the examples, it builds the class files but does not create ear or war files.... 2. how do I stop the default service and run the example server... the beasvc is not in the service list...... just have to kill in the task manager?? Th
-
Hi.. Please help me to change ulimit values of Oracle user in AIX server.After changing ulimit values,any need to restart any services for effecting these values??? Thankssss