msr-consulting / exscalabar_server

Repository for the EXSCALABAR server.
http://www.msrconsults.com/ukmet-gh/exscalabar
0 stars 1 forks source link

Add Modulation Control to Web service #98

Closed lo-co closed 8 years ago

lo-co commented 8 years ago

There is currently no modulation VI for the PAS_CMD resource. The command and message is there but these are not currently exposed to the client.

lo-co commented 8 years ago

Connected on the UI now.

lo-co commented 8 years ago

Will be closed in the next check-in. Goes through client -> web service -> PAS Actor -> PAS. Returns json that looks like

 "pas": {
        "spk": {
            "fcenter": 1350,
            "df": 100,
            "cycle": true,
            "length": 20,
            "enabled": false,
            "period": 300,
            "vrange": 0.000000,
            "voffset": 5.000000,
            "ienabled": [true]
        },
        "las": {
            "voffset": [2.50, 2.50, 2.50, 2.50, 2.50],
            "f0": [1351.00, 1351.00, 1354.00, 1355.00, 1354.00],
            "vrange": [5.00, 5.00, 5.00, 5.00, 5.00],
            "enabled": [true, false, false, false, false],
            "mod": ["Square", "Square", "Sine", "Sine", "Square"],
            "modulation": [1, 1, 0, 0, 1]
        }

Need to get rid of the cvt response of mod and stick with modulation.