LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

case structure with multiple output PROBLEM

hallo altenbach, thanks for your quick respond. Basically I know how to insert pictures into picture ring. Maybe my explanation wasnt really good. Sorry for that.

 

But my main problem is:
I want to have case structure, which display only 1 Picture Ring at one time whenever a certain number plate is selected. Please see the attachment.

So example, if I put 3 in "Number of Plates", then my Front Panel should display only the Picture Ring 3, not all of them. I hope you can help me to solve this problem.

 

Thanks again.

0 Kudos
Message 11 of 15
(792 Views)

If you want to go that route you can solve it through Visible Property, but better, simpler and faster is to simply add all pictures to the same picture ring (it's an array) and index the right one.

 

/Y 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 12 of 15
(787 Views)

A picture ring is NOT really suitable for this application, because there are too many possibilities, especially if the number of disks is high. (It would be slightly easier if you would only have one tower in the picture ring and then use an array of three such picture rings to show the three towers.).

 

You really need to use a plain picture indicator and dynamically build the towers by drawing squares, for example.

 

 

0 Kudos
Message 13 of 15
(781 Views)

@ Yamaeda: what do you mean by indexing the right one in an array? Can you please explain or better give an example in Labview.

@altenbach: honestly i didnt get the main picture of your idea..sorry..im still new to this LabView..It would be nice if you can explain/show it in details..perhaps in Labview..sorry if I ask to much from you..

 

Thank to both of you.

 

Regards,

Putra

0 Kudos
Message 14 of 15
(769 Views)

I agree Altenbach, since the number of combinations is high, but the number of discs low (5?) it'd be better to simply move them around. 🙂

Not that i have tried, but i assume there's some position property that can be used with a picture for this.

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 15 of 15
(734 Views)