Copy & Paste in the Sequencer

:rocket: New Feature: Copy & Paste in the Sequencer!

We’re excited to introduce Copy & Paste functionality in the SweepMe! Sequencer! :tada:
You can now duplicate sequencer elements easily using either:

  • The right-click context menu
  • The Ctrl+C / Ctrl+V keyboard shortcuts

:pushpin: How It Works

CopyPaste

:sparkles: Uses

  • Need a driver, module, or sequence twice? β†’ Just copy it!
  • Want to share sequencer parts between different settings? β†’ Copy the desired elements, open another setting or a second instance of SweepMe!, and paste them!

dragndrop

:memo: Copy Data is JSON Formatted

  • Easily share sequencer parts with other users!
  • Import shared sequences from the forum into your own settings.
  • Edit sequences in your favorite text editor and copy them back into SweepMe!

CopyPaste_editor

:warning: Limitations

  • Some modules like Robot and Form are not fully integrated yet. They can be copied, but their module-specific parameters won’t transfer (yet!).

:hammer_and_wrench: Try It Yourself!

Copy the JSON snippet below and paste it into SweepMe! to see the new feature in action:

{
  "child_items": [
    {
      "child_items": [
        {
          "child_items": [
            {
              "child_items": [
                {
                  "child_items": [],
                  "is_checked": true,
                  "is_expanded": true,
                  "module_details": {
                    "module_type": "Delay",
                    "Label": "Delay",
                    "value": "1",
                    "Comment": ""
                  }
                }
              ],
              "is_checked": true,
              "is_expanded": true,
              "module_details": {
                "module_type": "Calc",
                "Label": "Countdown",
                "value": "",
                "Variable": "Parameter",
                "Unit": "a.u.",
                "Function": "10 - x1",
                "Plot": true,
                "Save": true,
                "Execution": "Always",
                "Value1": "Sweep index of Loop",
                "Value2": "",
                "Value3": "",
                "Comment": ""
              }
            }
          ],
          "is_checked": true,
          "is_expanded": true,
          "module_details": {
            "module_type": "SMU",
            "Label": "Flux Capacitor",
            "value": "",
            "Device": "SMU-Simulation_Diode",
            "Channel": "",
            "Port": "",
            "SweepValue": "SweepEditor",
            "SweepMode": "Voltage in V",
            "RouteOut": "Front",
            "4wire": false,
            "Compliance": "0.001",
            "SkipCompliance": false,
            "Speed": "Fast",
            "Range": "Auto",
            "RangeVoltage": "Auto",
            "Average": 1,
            "Configuration": "",
            "PostProcessingResistance": false,
            "PostProcessingConductance": false,
            "PostProcessingPower": false,
            "ShowPulse": false,
            "CheckPulse": false,
            "PulseCount": "1",
            "PulseOffLevel": "0",
            "PulseOnTime": "200e-6",
            "PulseOffTime": "200e-3",
            "PulsePeriod": "1e-3",
            "PulseDelay": "0.0",
            "PulseMeasStart": 50,
            "PulseMeasTime": 30,
            "PulseRiseTime": "100e-9",
            "PulseFallTime": "100e-9",
            "PulseImpedance": "200e-3",
            "SweepEditor": {
              "sweeps": [
                {
                  "loop": "1",
                  "start": "0.0",
                  "end": "0.0",
                  "step_points": "0.1",
                  "scaling": "Step width",
                  "hold": "0.0"
                }
              ]
            },
            "ListSweepCheck": true,
            "ListSweepType": "Sweep",
            "ListSweepStart": "0.5",
            "ListSweepEnd": "1.0",
            "ListSweepStepPointsType": "Step width:",
            "ListSweepStepPointsValue": "0.1",
            "ListSweepDual": false,
            "ListSweepCustomValues": "",
            "ListSweepHoldtime": "0.1",
            "ListSweepDelaytime": "0.1",
            "Comment": ""
          }
        }
      ],
      "is_checked": true,
      "is_expanded": true,
      "module_details": {
        "module_type": "Loop",
        "Label": "Loop",
        "value": "10",
        "Repetitions": "10",
        "UseReduction": false,
        "MaxPoints": 10000,
        "Reduction": "Quadratic",
        "KeepLastPoints": 10,
        "Comment": ""
      }
    }
  ],
  "data_type": "Sequencer",
  "version": "v1"
}
2 Likes