#! Generated by VisualDCT v2.5 #! DBDSTART #! DBDEND # # Wire Scanner Database Entries for $(dev):$(area):$(location) # # # Start or Stop Scanning $(dev):$(area):$(location) # record(bo, "$(dev):$(area):$(location):STARTSCAN") { field(DESC, "Start Wire Scan with $(mad)") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Scanning") field(ZNAM, "Scan Stopped") } # # Normally scanning moves from inner position to outer # position, against the force of the vacuum. If this # PV is set to true, then $(dev):$(area):$(location) # will scan from the outer to inner position, moving # with the force of the vacuum. The scanner is expected # to provide best results when moving against the force # of the vacuum. # record(bo, "$(dev):$(area):$(location):SCANTOCENTER") { field(DESC, "$(mad) will scan inwards") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Scan to Center") field(ZNAM, "Scan from Center") info(autosaveFields, "VAL") } # # Angle of $(dev):$(area):$(location) from beam's point of view # record(ao, "$(dev):$(area):$(location):INSTALLANGLE") { field(DESC, "Orientation of $(mad)") field(ASG, "WIREADMIN") field(EGU, "degrees") field(VAL, "$(orient)") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # Repeatability of $(dev):$(area):$(location) when doing a wire scan. # If the motion returns to the original LVDT-measured position, within # POSNTHRESH $(units), the scan is considered successful. If not, then # RETRIES number of scans (in total) will be attempted. # record(ao, "$(dev):$(area):$(location):POSNTHRESH") { field(DESC, "$(mad) Position Deadband") field(ASG, "WIREUSER") field(EGU, "$(units)") field(VAL, "$(thresh)") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # Calculated time for wire scan; actual time that wire is spent moving. # record(ao, "$(dev):$(area):$(location):SCANTIME") { field(DESC, "$(mad) Calc. Scan Time") field(ASG, "WIREUSER") field(EGU, "seconds") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") } # # The most recent scan $(dev):$(area):$(location) # was considered to have successfully moved. # record(mbbo, "$(dev):$(area):$(location):HADSUCCESS") { field(DESC, "$(mad) Scan Successful") field(ASG, "$WIREUSER") field(OMSL, "supervisory") field(VAL, "0") field(SCAN, "Passive") field(DTYP, "Raw Soft Channel") field(NOBT, "32") field(ZRST, "No Scan Attempt") field(ZRVL, "0") field(ONST, "Scan Successful") field(ONVL, "1") field(TWST, "Scan Failed") field(TWVL, "2") field(PINI, "YES") } # # The total number of scans to be done by $(dev):$(area):$(location) # for a given scan request; if the scanner motion does not return # to POSNTHRESH $(units) of where it started, then a retry is made. # record(ao, "$(dev):$(area):$(location):RETRIES") { field(DESC, "$(mad) Retries to Do") field(ASG, "WIREUSER") field(VAL, "$(retries)") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The current retry attempt of $(dev):$(area):$(location) to # perform a scan. Up to RETRIES attempts will be made, and this # value indicates which attempt is currently underway. # record(ao, "$(dev):$(area):$(location):CURRENTRETRY") { field(DESC, "$(mad) Current Retry Count") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") } # # Does $(dev):$(area):$(location) Have a Working X Wire? # record(bo, "$(dev):$(area):$(location):HASXWIRE") { field(DESC, "Is X Wire Avail. on $(mad)") field(ASG, "WIREADMIN") field(VAL, "$(hasx)") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "X Wire is Usable") field(ZNAM, "X Wire NOT Usable") info(autosaveFields, "VAL") } # # Will the X Wire from $(dev):$(area):$(location) be Used? # record(bo, "$(dev):$(area):$(location):USEXWIRE") { field(DESC, "Is X Wire Used on $(mad)") field(ASG, "WIREUSER") field(VAL, "$(hasx)") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "X Wire Selected") field(ZNAM, "X Wire NOT Selected") info(autosaveFields, "VAL") } # # Distance of $(dev):$(area):$(location) X Wire from beam centerline, # when motor is at the 0 position. The U Wire intersecting with the # beam centerline is defined as 0. # record(ao, "$(dev):$(area):$(location):XWIREOFFSET") { field(DESC, "Offset of $(mad) X Wire") field(ASG, "WIREADMIN") field(EGU, "$(units)") field(VAL, "$(xoffs)") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The location at which the X Wire can be positioned to # start a scan in pull-through-beam mode on $(dev):$(area):$(location) # record(longout, "$(dev):$(area):$(location):XWIREOUTER") { field(DESC, "Outer X on $(mad)") field(ASG, "WIREUSER") field(VAL, "$(xout)") field(EGU, "$(units)") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "$(hilim)") field(DRVL, "$(lolim)") field(HOPR, "$(hilim)") field(LOPR, "$(lolim)") info(autosaveFields, "VAL") } # # The location at which the X Wire can be positioned to # start a scan in push-through-beam mode on $(dev):$(area):$(location) # record(longout, "$(dev):$(area):$(location):XWIREINNER") { field(DESC, "Inner X on $(mad)") field(ASG, "WIREUSER") field(VAL, "$(xin)") field(EGU, "$(units)") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "$(hilim)") field(DRVL, "$(lolim)") field(HOPR, "$(hilim)") field(LOPR, "$(lolim)") info(autosaveFields, "VAL") } # # Does $(dev):$(area):$(location) Have a Working Y Wire? # record(bo, "$(dev):$(area):$(location):HASYWIRE") { field(DESC, "Is Y Wire Avail. on $(mad)") field(ASG, "WIREADMIN") field(VAL, "$(hasy)") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Y Wire is Usable") field(ZNAM, "Y Wire NOT Usable") info(autosaveFields, "VAL") } # # Will the Y Wire from $(dev):$(area):$(location) be Used? # record(bo, "$(dev):$(area):$(location):USEYWIRE") { field(DESC, "Is Y Wire Used on $(mad)") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "Y Wire Selected") field(ZNAM, "Y Wire NOT Selected") info(autosaveFields, "VAL") } # # Distance of $(dev):$(area):$(location) Y Wire from beam centerline, # when motor is at the 0 position. The U Wire intersecting with the # beam centerline is defined as 0. # record(ao, "$(dev):$(area):$(location):YWIREOFFSET") { field(DESC, "Offset of $(mad) Y Wire") field(ASG, "WIREADMIN") field(EGU, "$(units)") field(VAL, "$(yoffs)") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The location at which the Y Wire can be positioned to # start a scan in pull-through-beam mode on $(dev):$(area):$(location) # record(longout, "$(dev):$(area):$(location):YWIREOUTER") { field(DESC, "Outer Y on $(mad)") field(ASG, "WIREUSER") field(VAL, "$(yout)") field(EGU, "$(units)") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "$(hilim)") field(DRVL, "$(lolim)") field(HOPR, "$(hilim)") field(LOPR, "$(lolim)") info(autosaveFields, "VAL") } # # The location at which the Y Wire can be positioned to # start a scan in push-through-beam mode on $(dev):$(area):$(location) # record(longout, "$(dev):$(area):$(location):YWIREINNER") { field(DESC, "Inner Y on $(mad)") field(ASG, "WIREUSER") field(VAL, "$(yin)") field(EGU, "$(units)") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "$(hilim)") field(DRVL, "$(lolim)") field(HOPR, "$(hilim)") field(LOPR, "$(lolim)") info(autosaveFields, "VAL") } # Does $(dev):$(area):$(location) Have a Working U (diagonal) Wire? # record(bo, "$(dev):$(area):$(location):HASUWIRE") { field(DESC, "Is U Wire Avail. on $(mad)") field(ASG, "WIREADMIN") field(VAL, "$(hasu)") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "U Wire is Usable") field(ZNAM, "U Wire NOT Usable") info(autosaveFields, "VAL") } # # Will the U Wire from $(dev):$(area):$(location) be Used? # record(bo, "$(dev):$(area):$(location):USEUWIRE") { field(DESC, "Is U Wire Used on $(mad)") field(ASG, "WIREUSER") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") field(ONAM, "U Wire Selected") field(ZNAM, "U Wire NOT Selected") info(autosaveFields, "VAL") } # # Distance of $(dev):$(area):$(location) U Wire from beam centerline, # when motor is at the 0 position. The U Wire intersecting with the # beam centerline is defined as 0. # record(ao, "$(dev):$(area):$(location):UWIREOFFSET") { field(DESC, "Offset of $(mad) U Wire") field(ASG, "WIREADMIN") field(EGU, "$(units)") field(VAL, "0") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The location at which the U Wire can be positioned to # start a scan in pull-through-beam mode on $(dev):$(area):$(location) # record(longout, "$(dev):$(area):$(location):UWIREOUTER") { field(DESC, "Outer U on $(mad)") field(ASG, "WIREUSER") field(VAL, "$(uout)") field(EGU, "$(units)") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "$(hilim)") field(DRVL, "$(lolim)") field(HOPR, "$(hilim)") field(LOPR, "$(lolim)") info(autosaveFields, "VAL") } # # The location at which the U Wire can be positioned to # start a scan in push-through-beam mode on $(dev):$(area):$(location) # record(longout, "$(dev):$(area):$(location):UWIREINNER") { field(DESC, "Inner U on $(mad)") field(ASG, "WIREUSER") field(VAL, "$(uin)") field(EGU, "$(units)") field(SCAN, "Passive") field(PINI, "YES") field(DRVH, "$(hilim)") field(DRVL, "$(lolim)") field(HOPR, "$(hilim)") field(LOPR, "$(lolim)") info(autosaveFields, "VAL") } # # The position at which the current scan will start, set to # the value of :XWIREOUTER, :YWIREOUTER or UWIREOUTER if in # pull-through-beam mode, or set to :XWIREINNER, :YWIREINNER # or UWIREINNER if in push-through-beam mode, for $(dev):$(area):$(location) # record(ao, "$(dev):$(area):$(location):SCANPOSSTART") { field(DESC, "$(mad) Wire Start Pos") field(ASG, "WIREUSER") field(VAL, "$(xin)") field(EGU, "$(units)") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The position at which the current scan will stop, set to # the value of :XWIREOUTER, :YWIREOUTER or UWIREOUTER if in # push-through-beam mode, or set to :XWIREINNER, :YWIREINNER # or UWIREINNER if in pull-through-beam mode, for $(dev):$(area):$(location) # record(ao, "$(dev):$(area):$(location):SCANPOSSTOP") { field(DESC, "$(mad) Stop Position") field(ASG, "WIREUSER") field(VAL, "$(xout)") field(EGU, "$(units)") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The number of beam pulses which $(dev):$(area):$(location) # will intercept as it moves across the total range of travel. # This is typically selected by the user. # record(ao, "$(dev):$(area):$(location):SCANPULSES") { field(DESC, "Pulses needed by $(mad)") field(ASG, "WIREUSER") field(VAL, "$(pulses)") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # The time to delay between motion stop and position readout # record(ao, "$(dev):$(area):$(location):SCANDELAY") { field(DESC, "$(mad) Position Delay Time") field(ASG, "WIREUSER") field(VAL, "$(delay)") field(EGU, "seconds") field(SCAN, "Passive") field(PINI, "YES") info(autosaveFields, "VAL") } # # An indication of progress in terms of percent # completion of $(dev):$(area):$(location) # record(ao, "$(dev):$(area):$(location):SCANPROGRESS") { field(DESC, "Progress $(mad) WireScan") field(ASG, "WIREUSER") field(VAL, "0") field(EGU, "percent") field(HOPR, "100") field(LOPR, "0") field(PREC, "0") field(SCAN, "Passive") field(PINI, "YES") } # # A textual indication of the status of $(dev):$(area):$(location) # record(stringout, "$(dev):$(area):$(location):SCANTEXT") { field(DESC, "$(mad) Wire Scan Status") field(ASG, "WIREUSER") field(VAL, "READY to START Wire Scan") field(SCAN, "Passive") field(PINI, "YES") } #! Further lines contain data used by VisualDCT #! View(-194,-11,0.7) #! Record("$(dev):$(area):$(location):STARTSCAN",20,23,0,0,"$(dev):$(area):$(location):STARTSCAN") #! Record("$(dev):$(area):$(location):SCANTOCENTER",260,23,0,0,"$(dev):$(area):$(location):SCANTOCENTER") #! Record("$(dev):$(area):$(location):INSTALLANGLE",500,18,0,0,"$(dev):$(area):$(location):INSTALLANGLE") #! Record("$(dev):$(area):$(location):POSNTHRESH",740,18,0,0,"$(dev):$(area):$(location):POSNTHRESH") #! Record("$(dev):$(area):$(location):SCANTIME",980,12,0,0,"$(dev):$(area):$(location):SCANTIME") #! Record("$(dev):$(area):$(location):HADSUCCESS",1220,22,0,0,"$(dev):$(area):$(location):HADSUCCESS") #! Record("$(dev):$(area):$(location):RETRIES",1460,12,0,0,"$(dev):$(area):$(location):RETRIES") #! Record("$(dev):$(area):$(location):CURRENTRETRY",1700,12,0,0,"$(dev):$(area):$(location):CURRENTRETRY") #! Record("$(dev):$(area):$(location):HASXWIRE",1940,23,0,0,"$(dev):$(area):$(location):HASXWIRE") #! Record("$(dev):$(area):$(location):USEXWIRE",2180,23,0,0,"$(dev):$(area):$(location):USEXWIRE") #! Record("$(dev):$(area):$(location):XWIREOFFSET",2420,18,0,0,"$(dev):$(area):$(location):XWIREOFFSET") #! Record("$(dev):$(area):$(location):XWIREOUTER",20,19,0,0,"$(dev):$(area):$(location):XWIREOUTER") #! Record("$(dev):$(area):$(location):XWIREINNER",260,19,0,0,"$(dev):$(area):$(location):XWIREINNER") #! Record("$(dev):$(area):$(location):HASYWIRE",3140,23,0,0,"$(dev):$(area):$(location):HASYWIRE") #! Record("$(dev):$(area):$(location):USEYWIRE",3380,23,0,0,"$(dev):$(area):$(location):USEYWIRE") #! Record("$(dev):$(area):$(location):YWIREOFFSET",3620,18,0,0,"$(dev):$(area):$(location):YWIREOFFSET") #! Record("$(dev):$(area):$(location):YWIREOUTER",3860,19,0,0,"$(dev):$(area):$(location):YWIREOUTER") #! Record("$(dev):$(area):$(location):YWIREINNER",4100,19,0,0,"$(dev):$(area):$(location):YWIREINNER") #! Record("$(dev):$(area):$(location):HASUWIRE",4340,23,0,0,"$(dev):$(area):$(location):HASUWIRE") #! Record("$(dev):$(area):$(location):USEUWIRE",4580,23,0,0,"$(dev):$(area):$(location):USEUWIRE") #! Record("$(dev):$(area):$(location):UWIREOFFSET",20,378,0,0,"$(dev):$(area):$(location):UWIREOFFSET") #! Record("$(dev):$(area):$(location):UWIREOUTER",260,319,0,0,"$(dev):$(area):$(location):UWIREOUTER") #! Record("$(dev):$(area):$(location):UWIREINNER",500,319,0,0,"$(dev):$(area):$(location):UWIREINNER") #! Record("$(dev):$(area):$(location):SCANPOSSTART",740,378,0,0,"$(dev):$(area):$(location):SCANPOSSTART") #! Record("$(dev):$(area):$(location):SCANPOSSTOP",980,378,0,0,"$(dev):$(area):$(location):SCANPOSSTOP") #! Record("$(dev):$(area):$(location):SCANPULSES",1220,372,0,0,"$(dev):$(area):$(location):SCANPULSES") #! Record("$(dev):$(area):$(location):SCANDELAY",1460,378,0,0,"$(dev):$(area):$(location):SCANDELAY") #! Record("$(dev):$(area):$(location):SCANPROGRESS",1700,373,0,0,"$(dev):$(area):$(location):SCANPROGRESS") #! Record("$(dev):$(area):$(location):SCANTEXT",1940,372,0,0,"$(dev):$(area):$(location):SCANTEXT")