Automated SEM/EDX imaging