LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug? Picture Ring proprty String and Values" returns error 1054 in LV 8.5

Solved!
Go to solution

 

Should that propert exist for a Picture Ring?

 

 

Ben

Message Edited by Ben on 09-01-2008 07:47 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 1 of 9
(4,683 Views)

Depends on what your definition of "should" is. Smiley Wink

 

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.  Smiley Happy

Message 2 of 9
(4,659 Views)

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.

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
Message 3 of 9
(4,641 Views)

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

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 4 of 9
(4,632 Views)

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". Smiley Wink

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 5 of 9
(4,621 Views)

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!

Brian A.
National Instruments
Applications Engineer
Message 6 of 9
(4,595 Views)

Thank you Brian.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 7 of 9
(4,586 Views)

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.

CLD; LabVIEW since 8.0, Currently have LabVIEW 2015 SP1, 2018SP1 & 2020 installed
0 Kudos
Message 8 of 9
(4,271 Views)
Solution
Accepted by topic author Ben

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 9 of 9
(4,261 Views)