add hvolt_long and varioxstick (zebra)

This commit is contained in:
zolliker 2023-05-02 16:37:19 +02:00
parent e2c51b3dd1
commit e38139089f
3 changed files with 58 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,26 @@
Node('cfg/stick/hvolt_long.cfg',
'high voltage stick (extended can)',
interface='5000',
name='hvolt_long',
)
Mod('sea_stick',
'secop_psi.sea.SeaClient',
'stick sea connection for hvolt_long.stick',
config='hvolt_long.stick',
service='stick',
)
Mod('ts',
'secop_psi.sea.SeaReadable',
io='sea_stick',
sea_object='tt',
json_file=['ma6.config.json'],
rel_paths=['ts'],
)
Mod('hcp',
'secop_psi.sea.SeaReadable',
io='sea_stick',
sea_object='hcp',
)

View File

@ -0,0 +1,20 @@
Node('cfg/stick/varioxstick.cfg',
'Variox standard sample stick',
interface='5000',
name='varioxstick',
)
Mod('sea_stick',
'secop_psi.sea.SeaClient',
'SEA stick connection',
config='variox.stick',
service='stick',
)
Mod('ts',
'secop_psi.sea.SeaReadable',
io='sea_stick',
sea_object='tt',
json_file=['variox.config.json'],
rel_paths=['ts'],
)