levylabpitt / Instrument-Framework

An object-oriented framework for LabVIEW based on JKI SMOs.
BSD 3-Clause "New" or "Revised" License
6 stars 7 forks source link

API Style #91

Open ciozi137 opened 1 year ago

ciozi137 commented 1 year ago

old:

{
    "jsonrpc": "2.0",
    "method": "Set Magnet",
    "params": {
        "Field (T)": 0,
        "Rate (T/min)": 0,
        "Axis": "Z",
        "Mode": "Persistent"
    },
    "id": "5f33f29a28a3f2018034cefa8c763baf"
}

new:

{
    "jsonrpc": "2.0",
    "method": "setMagnetField",
    "params": {
        "field": 0,
        "rate": 0,
        "axis": "z",
        "mode": "persistent"
    },
    "id": "ac3caf5f75f9d4ed9b1bf5cd8a3812d2"
}
ciozi137 commented 4 weeks ago

Unified API commands to be enforced in Instrument Framework v1.14+:

Instrument.CBridge.lvclass:

Instrument.Cryostat.lvclass:

Instrument.DelayLine.lvclass:

Instrument.LockinAPI.lvclass:

Instrument.Strain.lvclass:

Instrument.VNA.lvclass:

Instrument.SCPI.lvclass:

Instrument.SignalGenerator.lvclass:

ciozi137 commented 4 days ago

Instrument.Amplifier.lvclass: