some corrections after getting to test with the actual unit

This commit is contained in:
2025-10-14 11:10:14 +02:00
parent 2f4e279c47
commit 5d2378f640
2 changed files with 12 additions and 9 deletions

View File

@@ -5,15 +5,19 @@ record(stringin, "$(INSTR)$(NAME):MsgTxt")
record(longout,"$(INSTR)$(NAME):DELAY")
{
field(DESC, "delay after trigger signal")
field(DESC, "target delay after trigger signal")
field(EGU, "x 0.1 us")
field(DRVH, 200000)
field(DRVL, 0)
field(DTYP, "stream")
field(OUT, "@$(PROTO) writeDelay($(INSTR)$(NAME):) $(ASYN_PORT)")
}
record(longin,"$(INSTR)$(NAME):DELAY_RBV")
{
field(DESC, "delay after trigger signal")
field(DESC, "configured delay after trigger signal")
field(EGU, "x 0.1 us")
field(DTYP, "stream")
field(INP, "@$(PROTO) readDelay($(INSTR)$(NAME):) $(ASYN_PORT)")
field(SCAN, "1 second")
field(SCAN, "2 second")
}

View File

@@ -1,14 +1,14 @@
OutTerminator = CR;
InTerminator = CR;
ReadTimeout = 100;
WriteTimeout = 100;
ReadTimeout = 500;
WriteTimeout = 500;
ReplyTimeout = 1000;
LockTimeout = 1000;
LockTimeout = 500;
initialise {
out "RMT 1"; # Turn on Remote Control
in;
out "ECHO 0"; # Ask for reponses
out "ECHO 1"; # Ask for reponses
in;
}
@@ -20,6 +20,5 @@ readDelay {
writeDelay {
out "DT %d";
in;
@mismatch{in "%(\$1MsgTxt)s";}
}