std-rs 0.8.2

Rust port of EPICS std module (epid, throttle, timestamp records)
Documentation
#! Generated by VisualDCT v2.5
#! DBDSTART
#! DBDEND


record(compress, "$(P)history$(N)_date") {
  field(DESC, "Time for last 24 hrs")
  field(INP, "$(P)history$(N)_secsPastEpoch.VAL NPP NMS")
  field(ALG, "Circular Buffer")
  field(PINI, "NO")
  field(NSAM, "$(MAXSAMPLES)")
  field(EGU, "seconds")
  field(FLNK, "$(P)history$(N)")
}

record(fanout, "$(P)history$(N)_FillArrays") {
  field(LNK1, "$(P)history$(N)_date PP NMS")
}

record(ai, "$(P)history$(N)_secsPastEpoch") {
  field(DESC, "Seconds Past Epoch")
  field(SCAN, "1 second")
  field(FLNK, "$(P)history$(N)_timeOfDay2 PP NMS")
  field(PINI, "NO")
  field(DTYP, "Sec Past Epoch")
}

record(stringin, "$(P)history$(N)_timeOfDay2") {
  field(FLNK, "$(P)history$(N)_timeOfDay PP NMS")
  field(DTYP, "Soft Timestamp")
  field(INP, "@%m/%d/%y %H:%M:%S")
}

record(stringin, "$(P)history$(N)_timeOfDay") {
  field(FLNK, "$(P)history$(N)_Interval PP NMS")
  field(DTYP, "Soft Timestamp")
  field(INP, "@%b %d, %Y %H:%M")
}

record(bi, "$(P)history$(N)_StopScan") {
  field(DESC, "Stop Scanning for Arrays")
  field(PINI, "YES")
  field(INP, "1")
  field(ZNAM, "Scan")
  field(ONAM, "Stop")
}

record(calcout, "$(P)history$(N)_Interval") {
  field(SDIS, "$(P)history$(N)_StopScan.VAL NPP NMS")
  field(CALC, "A%B = 0? 1:0")
  field(INPA, "$(P)history$(N)_secsPastEpoch.VAL NPP NMS")
  field(INPB, "60")
  field(OUT, "$(P)history$(N)_FillArrays.PROC PP NMS")
  field(OOPT, "When Non-zero")
}

record(ai, "$(P)history$(N)_PV1_curr") {
  field(DTYP, "Soft Channel")
  field(PREC, "4")
}

record(ai, "$(P)history$(N)_PV2_curr") {
  field(DTYP, "Soft Channel")
  field(PREC, "4")
}

record(ai, "$(P)history$(N)_PV3_curr") {
  field(DTYP, "Soft Channel")
  field(PREC, "4")
}

record(aSub, "$(P)history$(N)") {
  field(DESC, "Time for up to last 24 hrs")
  field(PINI, "YES")
  field(INAM, "pvHistory_init")
  field(SNAM, "pvHistory")
  field(PREC, "4")
  field(FTA, "LONG")
  field(EFLG, "ON CHANGE")
  field(INPB, "$(P)history$(N)_secsPastEpoch.VAL")
  field(FTB, "DOUBLE")
  field(FTVB, "DOUBLE")
  field(FTVC, "DOUBLE")
  field(NOVB, "$(MAXSAMPLES)")
  field(NOVC, "$(MAXSAMPLES)")
  field(INPD, "$(P)history$(N)_PV1_curr PP")
  field(INPE, "$(P)history$(N)_PV2_curr PP")
  field(INPF, "$(P)history$(N)_PV3_curr PP")
  field(FTD, "DOUBLE")
  field(FTE, "DOUBLE")
  field(FTF, "DOUBLE")
  field(FTVD, "DOUBLE")
  field(FTVE, "DOUBLE")
  field(FTVF, "DOUBLE")
  field(NOVD, "$(MAXSAMPLES)")
  field(NOVE, "$(MAXSAMPLES)")
  field(NOVF, "$(MAXSAMPLES)")
  field(OUTB, "$(P)history$(N)_time.VAL PP")
  field(OUTC, "$(P)history$(N)_timeHoursRel PP")
  field(OUTD, "$(P)history$(N)_PV1 PP")
  field(OUTE, "$(P)history$(N)_PV2 PP")
  field(OUTF, "$(P)history$(N)_PV3 PP")
}

record(scalcout, "$(P)history$(N)_PV1_descCalc") {
  field(FLNK, "$(P)history$(N)_PV1_descProc")
  field(CALC, "aa[0,' '][0,'.']+'.DESC CP'")
  field(INAA, "$(P)history$(N)_PV1_curr.INP CP")
  field(OUT, "$(P)history$(N)_PV1_DESC.DOL CA")
}

record(scalcout, "$(P)history$(N)_PV2_descCalc") {
  field(FLNK, "$(P)history$(N)_PV2_descProc")
  field(CALC, "aa[0,' '][0,'.']+'.DESC CP'")
  field(INAA, "$(P)history$(N)_PV2_curr.INP CP")
  field(OUT, "$(P)history$(N)_PV2_DESC.DOL CA")
}

record(scalcout, "$(P)history$(N)_PV3_descCalc") {
  field(FLNK, "$(P)history$(N)_PV3_descProc")
  field(CALC, "aa[0,' '][0,'.']+'.DESC CP'")
  field(INAA, "$(P)history$(N)_PV3_curr.INP CP")
  field(OUT, "$(P)history$(N)_PV3_DESC.DOL CA")
}

record(stringout, "$(P)history$(N)_PV1_DESC") {
  field(OMSL, "closed_loop")
  field(OUT, "$(P)history$(N)_PV1.DESC")
}

record(stringout, "$(P)history$(N)_PV2_DESC") {
  field(OMSL, "closed_loop")
  field(OUT, "$(P)history$(N)_PV2.DESC")
}

record(stringout, "$(P)history$(N)_PV3_DESC") {
  field(OMSL, "closed_loop")
  field(OUT, "$(P)history$(N)_PV3.DESC")
}

record(seq, "$(P)history$(N)_PV1_descProc") {
  field(DLY1, "0.1")
  field(LNK1, "$(P)history$(N)_PV1_DESC.PROC CA")
}

record(seq, "$(P)history$(N)_PV2_descProc") {
  field(DLY1, "0.1")
  field(LNK1, "$(P)history$(N)_PV2_DESC.PROC CA")
}

record(seq, "$(P)history$(N)_PV3_descProc") {
  field(DLY1, "0.1")
  field(LNK1, "$(P)history$(N)_PV3_DESC.PROC CA")
}

record(waveform, "$(P)history$(N)_timeHoursRel") {
  field(DESC, "time hours rel. to present")
  field(NELM, "$(MAXSAMPLES)")
  field(FTVL, "DOUBLE")
}


record(waveform, "$(P)history$(N)_PV1") {
  field(DESC, "PV1 data array")
  field(NELM, "$(MAXSAMPLES)")
  field(FTVL, "DOUBLE")
}

record(waveform, "$(P)history$(N)_PV2") {
  field(DESC, "PV1 data array")
  field(NELM, "$(MAXSAMPLES)")
  field(FTVL, "DOUBLE")
}

record(waveform, "$(P)history$(N)_PV3") {
  field(DESC, "PV1 data array")
  field(NELM, "$(MAXSAMPLES)")
  field(FTVL, "DOUBLE")
}


record(waveform, "$(P)history$(N)_time") {
  field(DESC, "time secondsPastEpoch")
  field(NELM, "$(MAXSAMPLES)")
  field(FTVL, "DOUBLE")
}

#! Further lines contain data used by VisualDCT
#! View(2082,729,1.1)
#! Record("$(P)history$(N)_date",1860,668,0,0,"$(P)history$(N)_date")
#! Field("$(P)history$(N)_date.INP",16777215,0,"$(P)history$(N)_date.INP")
#! Link("$(P)history$(N)_date.INP","$(P)history$(N)_date/INP")
#! Field("$(P)history$(N)_date.FLNK",16777215,1,"$(P)history$(N)_date.FLNK")
#! Link("$(P)history$(N)_date.FLNK","$(P)history$(N)")
#! Connector("$(P)history$(N)_date/INP","S:SRdateCP/INP2",1700,835,16777215,"",0)
#! Connector("S:SRdateCP/INP2","$(P)history$(N)_secsPastEpoch.VAL",1075,840,16777215,"",0)
#! Record("$(P)history$(N)_FillArrays",1400,611,0,0,"$(P)history$(N)_FillArrays")
#! Field("$(P)history$(N)_FillArrays.PROC",16777215,0,"$(P)history$(N)_FillArrays.PROC")
#! Field("$(P)history$(N)_FillArrays.LNK1",16777215,1,"$(P)history$(N)_FillArrays.LNK1")
#! Link("$(P)history$(N)_FillArrays.LNK1","$(P)history$(N)_date")
#! Record("$(P)history$(N)_secsPastEpoch",240,556,0,0,"$(P)history$(N)_secsPastEpoch")
#! Field("$(P)history$(N)_secsPastEpoch.FLNK",16777215,1,"$(P)history$(N)_secsPastEpoch.FLNK")
#! Link("$(P)history$(N)_secsPastEpoch.FLNK","$(P)history$(N)_timeOfDay2")
#! Field("$(P)history$(N)_secsPastEpoch.VAL",16777215,1,"$(P)history$(N)_secsPastEpoch.VAL")
#! Visibility("$(P)history$(N)_secsPastEpoch.SCAN",1)
#! Record("$(P)history$(N)_timeOfDay2",520,643,0,0,"$(P)history$(N)_timeOfDay2")
#! Field("$(P)history$(N)_timeOfDay2.FLNK",16777215,1,"$(P)history$(N)_timeOfDay2.FLNK")
#! Link("$(P)history$(N)_timeOfDay2.FLNK","$(P)history$(N)_timeOfDay")
#! Record("$(P)history$(N)_timeOfDay",800,598,0,0,"$(P)history$(N)_timeOfDay")
#! Field("$(P)history$(N)_timeOfDay.FLNK",16777215,1,"$(P)history$(N)_timeOfDay.FLNK")
#! Link("$(P)history$(N)_timeOfDay.FLNK","$(P)history$(N)_Interval")
#! Record("$(P)history$(N)_StopScan",800,476,0,0,"$(P)history$(N)_StopScan")
#! Field("$(P)history$(N)_StopScan.VAL",16777215,1,"$(P)history$(N)_StopScan.VAL")
#! Record("$(P)history$(N)_Interval",1120,621,0,0,"$(P)history$(N)_Interval")
#! Field("$(P)history$(N)_Interval.SDIS",16777215,0,"$(P)history$(N)_Interval.SDIS")
#! Link("$(P)history$(N)_Interval.SDIS","$(P)history$(N)_StopScan.VAL")
#! Field("$(P)history$(N)_Interval.INPA",16777215,0,"$(P)history$(N)_Interval.INPA")
#! Link("$(P)history$(N)_Interval.INPA","$(P)history$(N)_secsPastEpoch.VAL")
#! Field("$(P)history$(N)_Interval.OUT",16777215,1,"$(P)history$(N)_Interval.OUT")
#! Link("$(P)history$(N)_Interval.OUT","$(P)history$(N)_FillArrays.PROC")
#! Record("$(P)history$(N)_PV1_curr",1340,1058,0,1,"$(P)history$(N)_PV1_curr")
#! Field("$(P)history$(N)_PV1_curr.VAL",16777215,1,"$(P)history$(N)_PV1_curr.VAL")
#! Record("$(P)history$(N)_PV2_curr",1340,1318,0,1,"$(P)history$(N)_PV2_curr")
#! Field("$(P)history$(N)_PV2_curr.VAL",16777215,1,"$(P)history$(N)_PV2_curr.VAL")
#! Record("$(P)history$(N)_PV3_curr",1340,1578,0,1,"$(P)history$(N)_PV3_curr")
#! Field("$(P)history$(N)_PV3_curr.VAL",16777215,1,"$(P)history$(N)_PV3_curr.VAL")
#! Record("$(P)history$(N)",2140,406,0,0,"$(P)history$(N)")
#! Field("$(P)history$(N).INPB",16777215,0,"$(P)history$(N).INPB")
#! Link("$(P)history$(N).INPB","$(P)history$(N)_time/INPB1")
#! Field("$(P)history$(N).INPD",16777215,0,"$(P)history$(N).INPD")
#! Link("$(P)history$(N).INPD","$(P)history$(N)_time/INPD")
#! Field("$(P)history$(N).INPE",16777215,0,"$(P)history$(N).INPE")
#! Link("$(P)history$(N).INPE","$(P)history$(N)_time/INPE")
#! Field("$(P)history$(N).INPF",16777215,0,"$(P)history$(N).INPF")
#! Link("$(P)history$(N).INPF","$(P)history$(N)_time/INPF")
#! Connector("$(P)history$(N)_time/INPD","$(P)history$(N)_PV1_curr.VAL",1660,1030,16777215,"",0)
#! Connector("$(P)history$(N)_time/INPB1","$(P)history$(N)_time/INPB",1700,865,16777215,"",0)
#! Connector("$(P)history$(N)_time/INPB","$(P)history$(N)_secsPastEpoch.VAL",1075,840,16777215,"",0)
#! Connector("$(P)history$(N)_time/INPF","$(P)history$(N)_PV3_curr.VAL",1700,1310,16777215,"",0)
#! Connector("$(P)history$(N)_time/INPE","$(P)history$(N)_PV2_curr.VAL",1680,1170,16777215,"",0)
#! Field("$(P)history$(N).OUTB",16777215,1,"$(P)history$(N).OUTB")
#! Link("$(P)history$(N).OUTB","$(P)history$(N)/OUTB")
#! Field("$(P)history$(N).OUTC",16777215,1,"$(P)history$(N).OUTC")
#! Link("$(P)history$(N).OUTC","$(P)history$(N)_timeHoursRel.VAL")
#! Field("$(P)history$(N).OUTD",16777215,1,"$(P)history$(N).OUTD")
#! Link("$(P)history$(N).OUTD","$(P)history$(N)/OUTD")
#! Connector("$(P)history$(N)/OUTB","$(P)history$(N)_time.VAL",2420,920,16777215,"",0)
#! Connector("$(P)history$(N)/OUTD","$(P)history$(N)_PV1.VAL",2420,1090,16777215,"",0)
#! Field("$(P)history$(N).OUTE",16777215,1,"$(P)history$(N).OUTE")
#! Link("$(P)history$(N).OUTE","$(P)history$(N)/OUTE")
#! Connector("$(P)history$(N)/OUTE","$(P)history$(N)_PV2.VAL",2400,1230,16777215,"",0)
#! Field("$(P)history$(N).OUTF",16777215,1,"$(P)history$(N).OUTF")
#! Link("$(P)history$(N).OUTF","$(P)history$(N)/OUTF")
#! Connector("$(P)history$(N)/OUTF","$(P)history$(N)_PV3.VAL",2380,1370,16777215,"",0)
#! Record("$(P)history$(N)_PV1_descCalc",1820,1050,0,1,"$(P)history$(N)_PV1_descCalc")
#! Field("$(P)history$(N)_PV1_descCalc.INAA",16777215,0,"$(P)history$(N)_PV1_descCalc.INAA")
#! Link("$(P)history$(N)_PV1_descCalc.INAA","$(P)history$(N)_PV1_descCalc/INAA")
#! Field("$(P)history$(N)_PV1_descCalc.OUT",16777215,1,"$(P)history$(N)_PV1_descCalc.OUT")
#! Link("$(P)history$(N)_PV1_descCalc.OUT","$(P)history$(N)_PV1_descCalc/OUT1")
#! Field("$(P)history$(N)_PV1_descCalc.FLNK",16777215,0,"$(P)history$(N)_PV1_descCalc.FLNK")
#! Link("$(P)history$(N)_PV1_descCalc.FLNK","$(P)history$(N)_PV1_descCalc/FLNK")
#! Connector("$(P)history$(N)_PV1_descCalc/FLNK","$(P)history$(N)_PV1_descProc",1760,1234,16777215,"",0)
#! Connector("$(P)history$(N)_PV1_descCalc/OUT1","$(P)history$(N)_PV1_descCalc/OUT",2060,1205,16777215,"",0)
#! Connector("$(P)history$(N)_PV1_descCalc/OUT",null,2100,1220,16777215,"",2)
#! Connector("$(P)history$(N)_PV1_descCalc/INAA",null,1540,1180,16777215,"",3)
#! Visibility("$(P)history$(N)_PV1_descCalc.SCAN",2)
#! Record("$(P)history$(N)_PV2_descCalc",1820,1310,0,1,"$(P)history$(N)_PV2_descCalc")
#! Field("$(P)history$(N)_PV2_descCalc.INAA",16777215,0,"$(P)history$(N)_PV2_descCalc.INAA")
#! Link("$(P)history$(N)_PV2_descCalc.INAA","$(P)history$(N)_PV2_descCalc/INAA")
#! Field("$(P)history$(N)_PV2_descCalc.OUT",16777215,1,"$(P)history$(N)_PV2_descCalc.OUT")
#! Link("$(P)history$(N)_PV2_descCalc.OUT","$(P)history$(N)_PV2_descCalc/OUT1")
#! Field("$(P)history$(N)_PV2_descCalc.FLNK",16777215,0,"$(P)history$(N)_PV2_descCalc.FLNK")
#! Link("$(P)history$(N)_PV2_descCalc.FLNK","$(P)history$(N)_PV2_descCalc/FLNK")
#! Connector("$(P)history$(N)_PV2_descCalc/FLNK","$(P)history$(N)_PV2_descProc",1760,1494,16777215,"",0)
#! Connector("$(P)history$(N)_PV2_descCalc/INAA",null,1540,1440,16777215,"",3)
#! Connector("$(P)history$(N)_PV2_descCalc/OUT1","$(P)history$(N)_PV2_descCalc/OUT",2060,1465,16777215,"",0)
#! Connector("$(P)history$(N)_PV2_descCalc/OUT",null,2100,1480,16777215,"",2)
#! Record("$(P)history$(N)_PV3_descCalc",1820,1570,0,1,"$(P)history$(N)_PV3_descCalc")
#! Field("$(P)history$(N)_PV3_descCalc.INAA",16777215,0,"$(P)history$(N)_PV3_descCalc.INAA")
#! Link("$(P)history$(N)_PV3_descCalc.INAA","$(P)history$(N)_PV3_descCalc/INAA")
#! Field("$(P)history$(N)_PV3_descCalc.OUT",16777215,1,"$(P)history$(N)_PV3_descCalc.OUT")
#! Link("$(P)history$(N)_PV3_descCalc.OUT","$(P)history$(N)_PV3_descCalc/OUT1")
#! Field("$(P)history$(N)_PV3_descCalc.FLNK",16777215,0,"$(P)history$(N)_PV3_descCalc.FLNK")
#! Link("$(P)history$(N)_PV3_descCalc.FLNK","$(P)history$(N)_PV3_descCalc/FLNK")
#! Connector("$(P)history$(N)_PV3_descCalc/FLNK","$(P)history$(N)_PV3_descProc",1760,1754,16777215,"",0)
#! Connector("$(P)history$(N)_PV3_descCalc/OUT1","$(P)history$(N)_PV3_descCalc/OUT",2060,1725,16777215,"",0)
#! Connector("$(P)history$(N)_PV3_descCalc/OUT",null,2100,1740,16777215,"",2)
#! Connector("$(P)history$(N)_PV3_descCalc/INAA",null,1540,1700,16777215,"",3)
#! Record("$(P)history$(N)_PV1_DESC",2140,1078,0,1,"$(P)history$(N)_PV1_DESC")
#! Field("$(P)history$(N)_PV1_DESC.PROC",16777215,0,"$(P)history$(N)_PV1_DESC.PROC")
#! Field("$(P)history$(N)_PV1_DESC.OUT",16777215,1,"$(P)history$(N)_PV1_DESC.OUT")
#! Link("$(P)history$(N)_PV1_DESC.OUT","$(P)history$(N)_PV1.DESC")
#! Record("$(P)history$(N)_PV2_DESC",2140,1338,0,1,"$(P)history$(N)_PV2_DESC")
#! Field("$(P)history$(N)_PV2_DESC.PROC",16777215,0,"$(P)history$(N)_PV2_DESC.PROC")
#! Field("$(P)history$(N)_PV2_DESC.OUT",16777215,1,"$(P)history$(N)_PV2_DESC.OUT")
#! Link("$(P)history$(N)_PV2_DESC.OUT","$(P)history$(N)_PV2.DESC")
#! Record("$(P)history$(N)_PV3_DESC",2140,1598,0,1,"$(P)history$(N)_PV3_DESC")
#! Field("$(P)history$(N)_PV3_DESC.PROC",16777215,0,"$(P)history$(N)_PV3_DESC.PROC")
#! Field("$(P)history$(N)_PV3_DESC.OUT",16777215,1,"$(P)history$(N)_PV3_DESC.OUT")
#! Link("$(P)history$(N)_PV3_DESC.OUT","$(P)history$(N)_PV3.DESC")
#! Record("$(P)history$(N)_PV1_descProc",1820,1218,0,0,"$(P)history$(N)_PV1_descProc")
#! Field("$(P)history$(N)_PV1_descProc.LNK1",16777215,1,"$(P)history$(N)_PV1_descProc.LNK1")
#! Link("$(P)history$(N)_PV1_descProc.LNK1","$(P)history$(N)_PV1_DESC.PROC")
#! Visibility("$(P)history$(N)_PV1_descProc.DLY1",1)
#! Record("$(P)history$(N)_PV2_descProc",1820,1478,0,0,"$(P)history$(N)_PV2_descProc")
#! Field("$(P)history$(N)_PV2_descProc.LNK1",16777215,1,"$(P)history$(N)_PV2_descProc.LNK1")
#! Link("$(P)history$(N)_PV2_descProc.LNK1","$(P)history$(N)_PV2_DESC.PROC")
#! Visibility("$(P)history$(N)_PV2_descProc.DLY1",1)
#! Record("$(P)history$(N)_PV3_descProc",1820,1738,0,0,"$(P)history$(N)_PV3_descProc")
#! Field("$(P)history$(N)_PV3_descProc.LNK1",16777215,1,"$(P)history$(N)_PV3_descProc.LNK1")
#! Link("$(P)history$(N)_PV3_descProc.LNK1","$(P)history$(N)_PV3_DESC.PROC")
#! Visibility("$(P)history$(N)_PV3_descProc.DLY1",1)
#! Record("$(P)history$(N)_timeHoursRel",2480,883,0,1,"$(P)history$(N)_timeHoursRel")
#! Field("$(P)history$(N)_timeHoursRel.VAL",16777215,0,"$(P)history$(N)_timeHoursRel.VAL")
#! Record("$(P)history$(N)_PV1",2480,1063,0,1,"$(P)history$(N)_PV1")
#! Field("$(P)history$(N)_PV1.VAL",16777215,0,"$(P)history$(N)_PV1.VAL")
#! Field("$(P)history$(N)_PV1.DESC",16777215,0,"$(P)history$(N)_PV1.DESC")
#! Record("$(P)history$(N)_PV2",2480,1323,0,1,"$(P)history$(N)_PV2")
#! Field("$(P)history$(N)_PV2.VAL",16777215,0,"$(P)history$(N)_PV2.VAL")
#! Field("$(P)history$(N)_PV2.DESC",16777215,0,"$(P)history$(N)_PV2.DESC")
#! Record("$(P)history$(N)_PV3",2480,1583,0,1,"$(P)history$(N)_PV3")
#! Field("$(P)history$(N)_PV3.VAL",16777215,0,"$(P)history$(N)_PV3.VAL")
#! Field("$(P)history$(N)_PV3.DESC",16777215,0,"$(P)history$(N)_PV3.DESC")
#! Record("$(P)history$(N)_time",2480,763,0,1,"$(P)history$(N)_time")
#! Field("$(P)history$(N)_time.VAL",16777215,0,"$(P)history$(N)_time.VAL")