$> . epics
st.cmd
...
drvAsynIPPortConfigure ("ps002" ,"hadpszzz.gsi.de:xxyy") ; where xxy is the port number
...
.db files
field (OUT, "@Agilent.proto debug ps002 ")
field (DTYP, "stream")
Agilent.proto
: #
# Agilent.proto (stream device protocol file)
#
# Genesys/Agilent/Lambda DC Power Supply
# Connect a stringout record to this to get
# a generic command interface.
# After processing finishes, the record contains the reply.
debug {
ExtraInput = Ignore;
out "%s"; in "%39c"}
st.cmd
...
epicsEnvSet ("STREAM_PROTOCOL_PATH","...some path...")
...
corvus.proto
: InTerminator="\r\n";
OutTerminator=" ";
debug {
ExtraInput=Ignore;
out "%s"; in "%39c";
}
status {
out "st"; in "%d";
}
getpos {
out "pos"; in "%(\$1.VAL)f" "%f";
}
setpos {
out "%(\$1.VAL)f %(\$2.VAL)f move";
}
# get number of axes
getdim {
out "getdim"; in "%d";
}
zero {
out "cal";
}
range {
out "rm";
}