Jump to content

OCR+PCM+Autorun


---
 Share

Recommended Posts

I would like to capture the component's serial number in a program during autorun using the new OCR function in O-Inspect and then start the associated test plan based on the read number.
Capturing the component number and reading it into a PCM variable works.
Is there a way to let Autorun decide which test plan to execute based on this variable?

Link to comment
Share on other sites

  • 2 weeks later...

Maybe create a Select Case in PCM?

(Not tested, just thrown together). You would have to create varaibles.

selectCase component_number

case (component_number) == "1234"

testPlan == "1234"

case (component_number) == "1234-9"

testPlan == "1234-9"

endSelect

 

Link to comment
Share on other sites

  • 1 month later...

Please sign in to view this quote.

This is achievable through FACs and CBA but not generally supported through CALYPSO.  In order for this to work you would need to have each and every individual plan in a mini-plan or macro within a larger inspection plan.  Reading the part number could be used to initiate a specific mini-plan but it wont allow you to exit the plan then open another and start it without an automation interface.

Link to comment
Share on other sites

 Share

×
×
  • Create New...