Files
e_power_switch/startioc.sh
T

21 lines
457 B
Bash
Executable File

#!/bin/bash
#an exemple of how to strat this epics drivers
## The device name that will appeard on epics
export DEVICE_NAME="ePowerSwitch"
# The number of outlet that the device had
# This drivers only support 4 or 8 outlet
export EPOWERSWITCH_SOCKET_NUMBER=8
# The host name and port of the ePowerSwitch device
export HOST_NAME="localhost"
export HOST_PORT="55555"
echo "${PWD}/st.cmd"
/usr/local/bin/procServ -L - -f -i ^D^C 20001 "${PWD}/st.cmd"