LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application amelioration : How to display images from different sources to the same image indicator?

Hello everyone, I'm working on a Labview application, where I need some enhancements, the application is about  sending images to a python file (using system Exec) and then visualizing the results saved by the python file. 
So the user has the choice to save images by a live camera and then Test them, or to have already saved pictures and then test them

so I have already created this application but I still have some obstacles, the application is not that intuitive.. so my questions are:

1) how can I visualize the camera acquisition  and the results saved by the python file from the same Image Indicator, instead of having two image indicators?

2) how can I read the images folder directly after the python file finishes executing? I tried to use the flat sequence structure but it didn't work since I have two possibilities either (Testing existed images, or Testing images acquired and saved by a live camera ) which the folder needed to be read in either case, in my case the user has to click on "select image" to start seeing the images in the folder.

 

you can find attached the application Vi. 

 

any help would be very appreciated !  thank you in advance 


Bests 

 

0 Kudos
Message 1 of 4
(1,113 Views)

It appears that you don't understand data flow, nor how event structures work.  You should study these things.

In general, there should be a single event structure with multiple cases, and it should be inside a while loop.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 2 of 4
(1,090 Views)

Yes actually this is my first time dealing with events structure, and I didn't have that much time to study it well, I will try to create one event  with different cases, do you have an idea how can I have one image indicator that display from different sources ? 

0 Kudos
Message 3 of 4
(1,016 Views)

You can use the function Programming -> Comparisons -> Select

to send data from different sources to a single destination.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 4 of 4
(1,005 Views)