looks like it is working

the program can now acquire eds spectrum from the sample without any
problem