]> git.zerfleddert.de Git - rigol/blobdiff - scope.h
export data through webinterface
[rigol] / scope.h
diff --git a/scope.h b/scope.h
index 86ce9df009d67399d1f53fa179b43d9496e7d687..a74809b3985af1d4d4c9a532ccd85dc8c83a05a2 100644 (file)
--- a/scope.h
+++ b/scope.h
@@ -26,7 +26,16 @@ struct measure_s {
 };
 
 struct channel_s {
-       /* TODO */
+       int bwlimit_enabled;
+       char coupling[32];
+       int displayed;
+       int inverted;
+       double offset;
+       double probe;
+       double scale;
+       int filter_enabled;
+       int memory_depth;
+       char vernier[32];
 };
 
 struct scope {
@@ -100,9 +109,14 @@ struct scope {
                } la;
 
                struct {
-                       /* TODO */
+                       int displayed;
                } math;
+
+               struct {
+                       int displayed;
+               } fft;
        } status;
+
        char idn[128];
 };
 
@@ -119,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