Pārlūkot izejas kodu

update post-template

Vyacheslav Vinokurov 2 dienas atpakaļ
vecāks
revīzija
417ad1dfb4
1 mainītis faili ar 32 papildinājumiem un 32 dzēšanām
  1. 32 32
      spectrometer_service/template_post.json

+ 32 - 32
spectrometer_service/template_post.json

@@ -1,51 +1,51 @@
 {
     "info": {
-        "infostr": "",
-        "engine": "",
+        "infostr": "template_signal",
+        "engine": "DefaultEngine",
         "time": null,
         "iadc": {
-            "device_model": "",
-            "srate": null,
-            "points": null,
-            "n_channels": null,
-            "channel_ranges": null,
-            "n_triggers": null,
-            "averaging": null,
-            "trigger_channel": null,
-            "trig_direction": null,
-            "threshold": null,
-            "auto_measure_time": null,
-            "enabled": false
+            "device_model": "PS4000",
+            "srate": 80000000,
+            "points": [1000],
+            "n_channels": 2,
+            "channel_ranges": [8, 8],
+            "n_triggers": 1,
+            "averaging": 1,
+            "trigger_channel": 0,
+            "trig_direction": 0,
+            "threshold": 5000,
+            "auto_measure_time": 10000,
+            "enabled": true
         },
         "isync": {
-            "device_model": "",
-            "file": "",
-            "port": null
+            "device_model": "DuePP",
+            "file": "test.xml",
+            "port": 7
         },
         "isdr": {
-            "device_model": "",
-            "srate": null,
-            "freq": null,
-            "ampl": false,
-            "gain": null,
-            "file": ""
+            "device_model": "HackRF",
+            "srate": 2000000,
+            "freq": 3000000,
+            "ampl": true,
+            "gain": 35,
+            "file": "test.bin"
         },
         "igrax": {
-            "device_model": "",
-            "ip": "",
-            "file": "",
+            "device_model": "GRU",
+            "ip": "127.0.0.1",
+            "file": "test.txt",
             "enabled": false
         },
         "igray": {
-            "device_model": "",
-            "ip": "",
-            "file": "",
+            "device_model": "GRU",
+            "ip": "127.0.0.1",
+            "file": "test.txt",
             "enabled": false
         },
         "igraz": {
-            "device_model": "",
-            "ip": "",
-            "file": "",
+            "device_model": "GRU",
+            "ip": "127.0.0.1",
+            "file": "test.txt",
             "enabled": false
         }
     }