// Default
Debug(„Set default and run“);
Scope.Reset();
Scope.Run();
Debug(„Running flag: „ + Scope.IsRunning);
Debug(„Abort flag: „ + Scope.IsAborted);
Sleep(1000);
Scope.AutoScaleDisplay();
Sleep(3000);
// Debug measurement values
Debug(„RMS Ch1: „ + Scope.RMS[0]);
Debug(„RMS Ch2: „ + Scope.RMS[1]);
Debug(„AC Ch1: „ + Scope.AC[0]);
Debug(„AC Ch2: „ + Scope.AC[1]);
Debug(„DC Ch1: „ + Scope.DC[0]);
Debug(„DC Ch2: „ + Scope.DC[1]);
Debug(„Frequency Ch1: „ + Scope.Frequency[0]);
Debug(„Frequency Ch2: „ + Scope.Frequency[1]);
Debug(„THD all Ch1: „ + Scope.THDAll[0]);
Debug(„THD all Ch2: „ + Scope.THDAll[1]);
Debug(„THD even Ch1: „ + Scope.THDEven[0]);
Debug(„THD even Ch2: „ + Scope.THDEven[1]);
Debug(„THD odd Ch1: „ + Scope.THDOdd[0]);
Debug(„THD odd Ch2: „ + Scope.THDOdd[1]);
Debug(„Point to point Ch1: „ + Scope.PtoP[0]);
Debug(„Point to point Ch2: „ + Scope.PtoP[1]);
Debug(„RMS base Ch1: „ + Scope.RMSBase[0]);
Debug(„RMS base Ch2: „ + Scope.RMSBase[1]);
//Get live data
Debug(„Live data (first 10 values“);
double[] data = Scope.GetData(0);
for (int i = 0; i < 10; i++)
{