Files
e_power_switch/README.md
T

1.0 KiB

ePowerSwitch epics stream device

An EPICS drivers based on stream device allowig to controle remotly both ePowerSwitch 4 IEC and 8M+

How to use

For a device with 4 outlets

$ startioc.sh 4

For a device with 8 outlets

$ startioc.sh 8

Documentation

Setters

the stream device expose 4 or 8 individual setters record.

$(DEVICE)_set_$(PARAMETER_NAME)_$(PARAMETER_ID)

By default, it should look like :

ePowerSwitch_get_outlet_0
ePowerSwitch_get_outlet_1
ePowerSwitch_get_outlet_2
ePowerSwitch_get_outlet_3

Getters

The stream device expose 4 or 8 individual getters record named :

$(DEVICE)_get_$(PARAMETER_NAME)_$(PARAMETER_ID)

By default, it should look like :

ePowerSwitch_set_outlet_0
ePowerSwitch_set_outlet_1
ePowerSwitch_set_outlet_2
ePowerSwitch_set_outlet_3

Furthermore, a record expose the number of socket of this device It should not be overwrite

$(DEVICE)_config_$(CONFIG_PARAMETER_NAME)

By default, it should be called

ePowerSwitch_config_maxOutlet

Test

TODO