10-09-2007 07:43 AM
10-09-2007 12:43 PM - edited 10-09-2007 12:43 PM
Message Edited by smercurio_fc on 10-09-2007 12:43 PM
10-09-2007 12:49 PM - edited 10-09-2007 12:49 PM
Message Edited by Steve.Briggs on 10-09-2007 01:50 PM
10-10-2007 03:58 AM
10-10-2007 04:31 AM - edited 10-10-2007 04:31 AM
Hi,
I too have had the same problem you have come across. The only way i got this to do vaguely what i wanted was to use strict type property nodes in the subvi (not sure if that is the correct name for a strict property node either!) and pass in control references bundled up into the subvi. to get the strict property node i made one in the vi where the control is and cut and pasted into the subvi (The property node then became strict). Not even sure that that is a good style of programming. Perhaps someone else can enlighten both of us.
Regards
Craig
Message Edited by craigc on 10-10-2007 04:33 AM
10-10-2007 07:12 AM
A comment to smercurio_fc and Steve Briggs reply on how to change the color of a certain plot in a xy-graph:
If you have more than one plot in the graph, you first need to set the correct one to active with Active plot. All further changes in color etc. change the active plot.
Ola
10-10-2007 12:25 PM
Yes, we're aware of this.
If you have more than one plot in the graph, you first need to set the correct one to active with Active plot. All further changes in color etc. change the active plot.
10-11-2007 02:04 AM
10-11-2007 08:00 AM - edited 10-11-2007 08:00 AM
Hey Ola_a,
It's good to see you are progressing with this matter...
@smercurio_fc wrote:
Yes, we're aware of this.We don't always remember to tell people every little tidbit...
Those little tidbit's always comeback to bite ya right in the
...well, we all know where ![]()
I won't forget the little tidbit here though! I couldn't agree more with looking at the shipped examples that NI provides. They have a wealth of information that is given without even having to ask anyone for. Especially when it comes to Property and Invoke Nodes, they can be a bit tricky when you first start working with them.
In regard to the datatype information, well...there's nothing more I can really say to what smercurio said other than don't mismatch your wires from the source/output to sink/input. The representation can be changed in such a way...
I hope this helps in a way. Feel free to continue asking questions.
Message Edited by Steve.Briggs on 10-11-2007 09:01 AM
10-11-2007 08:52 AM
Yes. You can just access the "Value" property. This is the same as writing directly to a graph indicator.
Can I also add plots to the graf from the sub-vi using control references?