when i open a sample file that comes with the program i press simulate , but everything is going blank and nothing happens
Use the simutor examples. You cannot simulate arduinos. Check the blog post about the simulator to discover the simulator features.