09-01-2008 07:47 AM - edited 09-01-2008 07:47 AM
Should that propert exist for a Picture Ring?
Ben
Solved! Go to Solution.
09-01-2008 03:28 PM
Depends on what your definition of "should" is.
It's
not limited to 8.5. Also, if you don't wire an indicator to the
property there's no error. Since the control is essentially a ring, the
properties for the "Ring" class apply, and that's one of the
properties. It's just that the property doesn't make sense for a
picture ring. I suppose NI could create a separate class for the
picture ring NI or could code it so it doesn't return an error if it's
dealing with a picture ring. Of course, that would probably start a debate on whether or not it should return an error since the property is technically invalid for that control.
09-02-2008 03:24 AM
Hi there
I'd say "no, it should not". The error vanishes when removing the "Strings & Values" indicator, and it vanishes when replacing with Text&Pict ring (well, that makes sense then). There's a strange coercion dot at the indicator (see your shot). Exactly the same thing with 7.1.
09-02-2008 05:19 AM
The fact that the error is gone when you don't connect the indicator is good. Even better it is super.
It means the compiler removes that specific node from the execution stack if it isn't needed.
Ton
09-02-2008 05:49 AM
TonP wrote:The fact that the error is gone when you don't connect the indicator is good. Even better it is super.
It means the compiler removes that specific node from the execution stack if it isn't needed.
Ton
Agreed. LV will not execute nodes whos outpt is not used.
This node would be OK for the sister object "Picture ring with text" but is not appropriate fo rthis object.
(What I'd really like see is NI convert this node to "Values and images".
Ben
09-02-2008 12:54 PM
You've all hit this nail on the head. Not much left to cover here, besides the following:
This was reported to R&D (# 124796) for further investigation.
Thus, we will let the powers that be decide how to deal with this. As always, thanks for the feedback!
09-02-2008 01:42 PM
Thank you Brian.
Ben
02-25-2009 08:17 AM
Do I take it from what I have just read here that there is absoluteley no way to programatically update the values of a picture ring at run time then??? - I'm trying to find a way and I just cant seem to find it.
Actually I'm just trying to display a picture in a defined area on the front panel at run time, I thought the picture ring would allow me to do this, but I still haven't worked out how to get anything other than a blank white box yet as the documentation is rubbish.
02-25-2009 08:33 AM
James W wrote:Do I take it from what I have just read here that there is absoluteley no way to programatically update the values of a picture ring at run time then???
...
You are correct that a Picture RING can't be populated at run time. On the other hand a Picture can be updated.
THis thread has a lot of links to Picture examples.
These tags may also help getting started with the LV Picture.
have fun!
Ben