Objective:
- Setup a continuous image monitoring of the sample on the conveyor.
- ImageOut will display the live sample monitoring.
- Trigger condition
- Monitor a continuous analog input channel.
- And configure a trigger condition if the analog input fluctuates a certain user-defined threshold.
- When the trigger condition is satisfied:
- The image should be captured.
- Processed by the vision assistant algorithm.
- Automatically save it in the designated folder.
- Display the processed static image in an ImageOut display. This ImageOut display will update to output the recently processed image.
- When the trigger condition is not satisfied:
- ImageOut will continue to display the live sample monitoring.
Right now, in my attempt:
- I have setup the continuous monitoring
- I am simulating the analog signal and controlling the trigger condition
- Have the vision assistant algorithm built for integration
What I need is almost complete help to code 3: When the trigger condition is satisfied:
Issues I am facing are:
- I don't know how to trigger the cam to capture/save the image.
- Currently passing live acquisition through case structure. Where the ImageOut does not work as expected inside the case structure neither with True( vision assistant processing) nor with False condition(continue to display the live sample monitoring)
Attached is my code ( both LabVIEW and Vision Assistant files)for reference. I will greatly appreciate help and suggestion to execute the logic I described above.