/**
* Oscilloscope létrehozása a osc parancs hatására ezzel a függvénnyel történik
*/
private void createOscilloscope() throws FileNotFoundException, IOException {
if (!param1.equals("") && param2.equals("")) {
Oscilloscope osc = new Oscilloscope();
Main.controller.getDisplayView().addComponentView(new OscilloscopeView(getPosX(param1), getPosY(param1), osc));
this.ExecuteCommand("connect "+SystemClock.getInstance().getName()+",0 "+osc.getName()+",0");
System.out.println(osc.getName() + " CREATED.");
output += osc.getName() + " CREATED.\n";
//Prototype.PrintStateAfterUpdate(osc);
} else {
System.out.println("Bad command for creating osc. Try osc (x,y)");