]> git.zerfleddert.de Git - rigol/blobdiff - scope.c
export reset functionality
[rigol] / scope.c
diff --git a/scope.c b/scope.c
index d2bae1324d3bfe42a67d46f491febc0c07ec0e49..d6aff93bf9a81a71a383cbdd9703ce3674085920 100644 (file)
--- a/scope.c
+++ b/scope.c
@@ -25,11 +25,16 @@ void claimscope(struct scope* sc)
 
 void releasescope(struct scope* sc)
 {
-       //Disable keylock, so the user doesn't have to press the 'force'-button
+       /* Disable keylock, so the user doesn't have to press the 'force'-button */
        sendscpi(sc, ":KEY:LOCK DISABLE",NULL,0); 
        return usbtmc_release(sc);
 }
 
+void resetscope(struct scope* sc)
+{
+       return usbtmc_reset(sc);
+}
+
 struct scope* initscope(void)
 {
        struct scope *sc;
Impressum, Datenschutz