how to make a control system in solidwork simulation

i want to make a part(assembly) with contros system and use a light for indicator if the part is workly. and., how to make my PC work corectly