[Ca...] Posted September 19 Share Posted September 19 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 More sharing options...
[Ri...] Posted October 2 Share Posted October 2 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 More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in