09-12-2012 04:24 AM
Hi,
I have a following issue. I have a VI that displays three images (all of them have the same size). I can display every image in selected Image Display from Vision palette. As you can see in the picture below two Image Displays have the same size, and one is bigger.
What I want to achieve is the ability to select (via using e.g. buttons) which image should be diplayed in which Image Display. For example when I push the 'Image1' button then first image is displayed in the biggest Image Display (both rest images are diplayed in smalled Image Displays). When I push the 'Image2' button then second image is displayed in the biggest Image Display, and so on... Is it possible to do it?
Solved! Go to Solution.
09-12-2012 05:38 AM - edited 09-12-2012 05:39 AM
09-12-2012 05:46 AM
hah 🙂 OK. It is good to know that this is possible. But any ideas how to do it? Any suggestions?
09-12-2012 05:47 AM
09-12-2012 05:50 AM
I thought about event structure, but it is good to ask someone more experienced before building the app...
09-12-2012 05:52 AM - edited 09-12-2012 05:52 AM
09-12-2012 05:54 AM
Ok, I think it's time to start building the app. Thanks a lot
09-12-2012 07:32 AM
Hi GerdW,
I used case structure, but It doesn't work as it should work. Can you look at the VI from attachment?
09-12-2012 07:51 AM
Hi bike,
what's wrong with your VI?
You have programmed a certain order of image display in those indicators and you can select that order by a control. When you need other selections you have just to create more cases in the case structure. With 3 images in 3 indicators there are just 6 combinations...
09-12-2012 07:54 AM
Hi,
Take a look at the attached VI. You should study more about flowcontrol so that you get rid of the sequence structure. I don't have IMAQ so I can't test my example.