Hi again,
Still trying to run down some more details about talking to these lovely Keysight boxes via EPICS. I've got the stock SCPI stuff working, so next I wanted to read some resistance values. I added this to my protocol file:
getResistance {
out "measure:resistance? \$1,\$2,\$3";
in "%E";
}
And added this to my .db file:
record(longin, "$(P)$(R)GetIG")
{
field(DESC, "Get Alphatross Ion Gauge Value")
field(DTYP, "stream")
field(INP, "@devswag6.proto getResistance(10,0.1,(@5012)) $(PORT) $(A)")
}
After starting the ioc, I can do ' dbtr swag6testGetIG`, which sends the correct string, and gets a reply from the mainframe. What I'm stuck on is handing the reply. The box replies with:
+9.90000000E+37\n
But the way I have things configured I get:
2023/01/24 12:49:07.000698 LAN0 swag6testGetIG: Format "%E" has data type double which is not supported by "swag6testGetIG".
It seems like that should work, based on: https://paulscherrerinstitute.github.io/StreamDevice/formats.html
I don't know if I managed to compile StreamDevice with some missing library, or if I've done something else wrong along the way.
Thanks for any pointers,
Greg
--
Gregory Leblanc
Accelerator Engineer
Edwards Accelerator Lab - Ohio University
123 University Terrace
Athens, OH 45701 USA
leblanc at ohio.edu
M: (401) 52-OUAL1 or (401) 526-8251