add hvolt_short

This commit is contained in:
zolliker 2023-08-09 17:39:19 +02:00
parent c40033a816
commit c69fe1571a
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{"hcp": {"base": "/hcp", "params": [
{"path": "", "type": "float", "kids": 10},
{"path": "send", "type": "text", "readonly": false, "cmd": "hcp send", "visibility": 3},
{"path": "status", "type": "text", "visibility": 3},
{"path": "set", "type": "float", "readonly": false, "cmd": "hcp set"},
{"path": "on", "type": "bool", "readonly": false, "cmd": "hcp on"},
{"path": "setcurrent", "type": "float", "readonly": false, "cmd": "hcp setcurrent"},
{"path": "ramp", "type": "float", "readonly": false, "cmd": "hcp ramp"},
{"path": "rampmode", "type": "enum", "enum": {"no ramp": 0, "always ramp": 1, "ramp up only": 2}, "readonly": false, "cmd": "hcp rampmode"},
{"path": "workset", "type": "float"},
{"path": "current", "type": "float"},
{"path": "currentlimit", "type": "float", "readonly": false, "cmd": "hcp currentlimit"}]}}

View File

@ -0,0 +1,24 @@
Node('cfg/stick/hvolt_short.cfg',
'high voltage stick',
)
Mod('sea_stick',
'frappy_psi.sea.SeaClient',
'stick sea connection for hvolt_short.stick',
config='hvolt_short.stick',
service='stick',
)
Mod('ts',
'frappy_psi.sea.SeaReadable', '',
io='sea_stick',
sea_object='tt',
json_file='ma10.config.json',
rel_paths=['ts'],
)
Mod('hcp',
'frappy_psi.sea.SeaReadable', '',
io='sea_stick',
sea_object='hcp',
)