]> git.zerfleddert.de Git - rigol/blobdiff - rigol.c
new "display" command to just show the display content
[rigol] / rigol.c
diff --git a/rigol.c b/rigol.c
index 22a5ceac242f798215b7eaf0003200f5a1c83b68..93b85665c0c3c2fe7f70038d95cc313534c38d0d 100644 (file)
--- a/rigol.c
+++ b/rigol.c
@@ -135,11 +135,15 @@ int main(int argc, char **argv)
                        continue;
                }
                if (strncmp (scpi, "databuf", 7) == 0) {
-                       do_get_buf (sc);
+                       do_get_buf(sc);
                        continue;
                }
                if (strncmp (scpi, "screen", 6) == 0) {
-                       do_get_screen (sc);
+                       do_get_screen(sc);
+                       continue;
+               }
+               if (strncmp (scpi, "display", 7) == 0) {
+                       do_display_screen(sc);
                        continue;
                }
 
Impressum, Datenschutz