#  Beamcode TMSK. This is a temporary home for this PV. 
#  Ultimately it will move to the new EVG.

record(genSub, "TRIG:SYS0:1:BEAMCODE1_TMSK_SUB") {
  field(DESC, "Build TMSK waveform")
  field(INAM, "tmBcTmskInit")
  field(SNAM, "tmBcTmsk")
  field(PINI, "YES")
  field(BRSV, "INVALID") 
  field(INPA, "1227133513")
  field(FTA, "ULONG")
  field(INPB, "201326594")
  field(FTB, "ULONG")
  field(OUTA, "TRIG:SYS0:1:BEAMCODE1_TMSK PP MS")
  field(FTVA,"ULONG")
  field(NOVA,"2")
  field(ASG, "NOWRITE")
}

record(waveform, "TRIG:SYS0:1:BEAMCODE1_TMSK") {
  field(DESC, "Trigger Mask for Beamcode")
  field(NELM, "2")
  field(FTVL, "ULONG")
  field(ASG, "NOWRITE")
}


#  Beamcode TMSK. This is a temporary home for this PV. 
#  Ultimately it will move to the new EVG.

record(genSub, "TRIG:SYS0:1:BEAMCODE2_TMSK_SUB") {
  field(DESC, "Build TMSK waveform")
  field(INAM, "tmBcTmskInit")
  field(SNAM, "tmBcTmsk")
  field(PINI, "YES")
  field(BRSV, "INVALID") 
  field(INPA, "0")
  field(FTA, "ULONG")
  field(INPB, "0")
  field(FTB, "ULONG")
  field(OUTA, "TRIG:SYS0:1:BEAMCODE2_TMSK PP MS")
  field(FTVA,"ULONG")
  field(NOVA,"2")
  field(ASG, "NOWRITE")
}

record(waveform, "TRIG:SYS0:1:BEAMCODE2_TMSK") {
  field(DESC, "Trigger Mask for Beamcode")
  field(NELM, "2")
  field(FTVL, "ULONG")
  field(ASG, "NOWRITE")
}


#  Beamcode TMSK. This is a temporary home for this PV. 
#  Ultimately it will move to the new EVG.

record(genSub, "TRIG:SYS0:1:BEAMCODE3_TMSK_SUB") {
  field(DESC, "Build TMSK waveform")
  field(INAM, "tmBcTmskInit")
  field(SNAM, "tmBcTmsk")
  field(PINI, "YES")
  field(BRSV, "INVALID") 
  field(INPA, "0")
  field(FTA, "ULONG")
  field(INPB, "0")
  field(FTB, "ULONG")
  field(OUTA, "TRIG:SYS0:1:BEAMCODE3_TMSK PP MS")
  field(FTVA,"ULONG")
  field(NOVA,"2")
  field(ASG, "NOWRITE")
}

record(waveform, "TRIG:SYS0:1:BEAMCODE3_TMSK") {
  field(DESC, "Trigger Mask for Beamcode")
  field(NELM, "2")
  field(FTVL, "ULONG")
  field(ASG, "NOWRITE")
}


#  Beamcode TMSK. This is a temporary home for this PV. 
#  Ultimately it will move to the new EVG.

record(genSub, "TRIG:SYS0:1:BEAMCODE4_TMSK_SUB") {
  field(DESC, "Build TMSK waveform")
  field(INAM, "tmBcTmskInit")
  field(SNAM, "tmBcTmsk")
  field(PINI, "YES")
  field(BRSV, "INVALID") 
  field(INPA, "0")
  field(FTA, "ULONG")
  field(INPB, "0")
  field(FTB, "ULONG")
  field(OUTA, "TRIG:SYS0:1:BEAMCODE4_TMSK PP MS")
  field(FTVA,"ULONG")
  field(NOVA,"2")
  field(ASG, "NOWRITE")
}

record(waveform, "TRIG:SYS0:1:BEAMCODE4_TMSK") {
  field(DESC, "Trigger Mask for Beamcode")
  field(NELM, "2")
  field(FTVL, "ULONG")
  field(ASG, "NOWRITE")
}


