We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1802988 commit a47e2c4Copy full SHA for a47e2c4
docs/examples/arduino_dlog_bookmarks/arduino_dlog_bookmarks.ino
@@ -28,18 +28,23 @@ void setup() {
28
Serial1.println("INST CH1");
29
Serial1.println("CURR 2");
30
Serial1.println("OUTP 1");
31
+
32
+ // make sure all previous commands are executed
33
+ Serial1.println("*OPC?");
34
+ while (!Serial1.available());
35
36
// wait 1sec
- delay(1000);
37
+ delay (1000);
38
39
// add "start" bookmark
40
Serial1.println("SENS:DLOG:TRAC:BOOK 'Start'");
41
42
// change output voltage 5 times on CH1
43
for (int i = 0; i < 5; i++) {
44
Serial1.println("VOLT 10");
- delay(500);
45
+ Serial1.println("SYST:DEL 500");
46
Serial1.println("VOLT 5");
47
+ Serial1.println("SYST:DEL 1000");
48
}
49
50
// add "pause" bookmark
0 commit comments