add hvolt_long and varioxstick (zebra)
This commit is contained in:
parent
e2c51b3dd1
commit
e38139089f
12
cfg/sea/hvolt_long.stick.json
Normal file
12
cfg/sea/hvolt_long.stick.json
Normal 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"}]}}
|
26
cfg/stick/hvolt_long_cfg.py
Normal file
26
cfg/stick/hvolt_long_cfg.py
Normal 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',
|
||||
)
|
20
cfg/stick/varioxstick_cfg.py
Normal file
20
cfg/stick/varioxstick_cfg.py
Normal 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'],
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user