Skip to content

Refactor HF2Server to inherits from base. #295

Description

@Relm-Arrowny

Goals

Acceptance criteria : What journeys should the user be able to complete to consider your feature done
Be as specific as you can, check them off once they work. Add more if you find more requirements during development. Issue should only be considered done after all of them are checked

Tasks

base on the goals, deduce the tasks required. check them off once they're done

  • Impermanent the network connection protocol within connect_hardware() and disconnect_hardware.
  • Impermanent the _handle_command() with the following command:
  1. Disconnect- disconnect from server.
  2. "autoVoltageInRange": trigger auto range on input voltage
  3. "setTimeConstant" : set time constant on the lockin
  4. "setDataRate" : set the rate that rate is being generated
  5. "setCurrentInRange" : set the gain on the input current
  6. "setRefFreq" : set the Reference Frequency
  7. "setRefVpk" : set Ref voltage
  8. "setRefVoff" : set Ref voltage DC offset
  9. "setsRefOutSwitch" : set Set Ref "On" or "Off"
  10. "setsRefHarm" : set Ref harmonic
  11. "autoCurrentInRange": trigger auto gain on the input current
  12. "getData countTime" : send averaged data for a given countTime
  13. "setupScope freq #
    numDataPoint channel": setup scope for static measurements

Related Resources

https://github.com/Relm-Arrowny/zhinstHF2/blob/main/src/HF2Sever.py

Related Resources

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions