]> git.zerfleddert.de Git - rigol/blobdiff - scope.h
export data through webinterface
[rigol] / scope.h
diff --git a/scope.h b/scope.h
index 453aaf6c99f35549e34aeba582f936dd80c6ef9d..a74809b3985af1d4d4c9a532ccd85dc8c83a05a2 100644 (file)
--- a/scope.h
+++ b/scope.h
@@ -109,9 +109,14 @@ struct scope {
                } la;
 
                struct {
-                       /* TODO */
+                       int displayed;
                } math;
+
+               struct {
+                       int displayed;
+               } fft;
        } status;
+
        char idn[128];
 };
 
@@ -128,3 +133,4 @@ int scope_get_int(struct scope *sc, char *cmd);
 double scope_get_double(struct scope *sc, char*cmd);
 void update_scope_measurements(struct scope *sc);
 int update_scope_status(struct scope *sc);
+char *scope_get_data(struct scope *sc, char *source, int *len);
Impressum, Datenschutz