This example VI uses ActiveX to call into VBAI and programmatically choose an inspection based on the inspection's file path. Block diagram is documented with explanations of each step. This VI could be used as a subVI in a larger program. However, it does not execute very quickly (10+ seconds), so take that into consideration.