Skip to content

Commit

Permalink
Merge pull request #3 from Afroza-BNL/change-precision-acq-time
Browse files Browse the repository at this point in the history
[HEX] changed the precision from2 to 5
  • Loading branch information
jwlodek authored Apr 19, 2024
2 parents 1e32e52 + 69697f9 commit ee1359d
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions kinetixApp/Db/ADKinetix.template
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,46 @@ record(mbbi,"$(P)$(R)TriggerMode_RBV") {
field(TWST,"Exp. Gate")
}


record(ao, "$(P)$(R)AcquireTime")
{
field(PINI, "YES")
field(DTYP, "asynFloat64")
field(OUT, "@asyn($(PORT),$(ADDR=0),$(TIMEOUT=1))ACQ_TIME")
field(PREC, "5")
field(VAL, "1.0")
info(autosaveFields, "VAL")
}

record(ai, "$(P)$(R)AcquireTime_RBV")
{
field(DTYP, "asynFloat64")
field(INP, "@asyn($(PORT),$(ADDR=0),$(TIMEOUT=1))ACQ_TIME")
field(PREC, "5")
field(SCAN, "I/O Intr")
}

record(ao, "$(P)$(R)AcquirePeriod")
{
field(PINI, "YES")
field(DTYP, "asynFloat64")
field(OUT, "@asyn($(PORT),$(ADDR=0),$(TIMEOUT=1))ACQ_PERIOD")
field(PREC, "5")
field(VAL, "0")
info(autosaveFields, "VAL")
}

record(ai, "$(P)$(R)AcquirePeriod_RBV")
{
field(DTYP, "asynFloat64")
field(INP, "@asyn($(PORT),$(ADDR=0),$(TIMEOUT=1))ACQ_PERIOD")
field(PREC, "5")
field(SCAN, "I/O Intr")
}


##### End overridden records

record(bo, "$(P)$(R)StopAcqOnTimeout")
{
field(DTYP, "asynInt32")
Expand Down

0 comments on commit ee1359d

Please sign in to comment.