Examples of Oscilloscope


Examples of multichannel.Oscilloscope

  IThemeManager themeManager = PlatformUI.getWorkbench().getThemeManager();
  ITheme currentTheme = themeManager.getCurrentTheme();
  ColorRegistry colorRegistry = currentTheme.getColorRegistry();

  myScope = new Oscilloscope(6, dsp, parent, SWT.NONE, colorRegistry.get("it.baeyens.scope.color.background"),
    colorRegistry.get("it.baeyens.scope.color.foreground"), colorRegistry.get("it.baeyens.scope.color.grid"));
  GridData theGriddata = new GridData(SWT.FILL, SWT.FILL, true, true);
  theGriddata.horizontalSpan = 7;

  myScope.setLayoutData(theGriddata);
View Full Code Here

Examples of sw_digitalworks.Model.Oscilloscope


                        }

                        if (c.getName().substring(0, 3).equals("osc")) {
                            Oscilloscope o = (Oscilloscope) c;
                            System.out.print("  Memory: ");
                            output += "  Memory: \n";
                            output += o.showMemory();


                        }

                    } else {
View Full Code Here

Examples of sw_digitalworks.Model.Oscilloscope

    private void listOscilloscope() {
        if (!param1.equals("")) {
            if (param2.equals("")) {
                if (Main.Components.containsKey(param1)) {
                    Component c = Main.Components.get(param1);
                    Oscilloscope o = (Oscilloscope) c;
                    System.out.print("State list of oscilloscope " + param1 + ": ");
                    output += "State list of oscilloscope " + param1 + ": \n";
                    output += o.showMemory();
                    //System.out.println();


                } else {
                    System.out.println("Ocilloscope with this name does not exists. Create it first.");
View Full Code Here

Examples of sw_digitalworks.Model.Oscilloscope

    /**
     * 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)");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.