Jump to content

Questions about zeiss crash


---
 Share

Recommended Posts

Hello all,

For an automated inspection system, I am using a setup where I have a master inspection template.

For each measurement request, my code copies the ginspect-zinspect program to another directory, and then perform measurement using the template.

  1. My question is if any inspect instance crashes during process, will it cause issues for the main program or future copies?
  2. Also, when a zeiss inspect crash occurs, is there a way to close the crash dialog automatically so that workflow can continue?

Thanks,

Canset

Link to comment
Share on other sites

1. are you talking an unrelated software instance? or an instance executed by the main program? 
2. you can try to wrap a subprocess in a try except block.  although when I did this a long time ago, I think the software crash in the subprocess halted the main program. might have just been me though...

https://zeissiqs.github.io/zeiss-inspect-addon-api/2025/howtos/starting_options/starting_options.html#starting-zeiss-inspect-as-a-subprocess-in-a-python-script

Link to comment
Share on other sites

 Share

×
×
  • Create New...