EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to find out PVs preventing SSCAN from running?
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "Li, Ji" <liji at bnl.gov>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 5 Aug 2021 03:51:05 +0000
the scan ran, $(P)$(R)PID value increased, but $(P)$(OUT) wasn't changed. Seems $(P)$(R)PID was not processed.

The fact that OUT did not change does not necessarily mean that the record did not process. Other possibilities include:
- Feedback is turned off
- The PID coefficients are such that OUT does not change
- The OUT field is being limited by DRVL or DRVH

You can set the TPRO field in the epid record to see if it is processing.

Mark


Sent from my iPhone

On Aug 4, 2021, at 10:17 PM, Li, Ji <liji at bnl.gov> wrote:


Hi Mark, Michael,

The test scan with the following definition of related records turned out that, the scan ran, $(P)$(R)PID value increased, but $(P)$(OUT) wasn't changed. Seems $(P)$(R)PID was not processed.

-----------------------------------------------------
grecord(sscan,"$(P)$(R)RampScan") {
        field(DESC,"Load ramp")
        field(PINI,"YES")
        field(PRIO,"HIGH")
        field(MPTS,"1000")
        field(NPTS,"1000")
        field(FPTS,"FREEZE")
        field(D01PV,"$(P)$(R)Value")
        field(P1PV,"$(P)$(R)PID.VAL")
}

grecord(epid,"$(P)$(R)PID") {
        field(INP,"$(P)$(R)Value")
        field(OUTL,"$(P)$(OUT) PP NMS")
        field(KP,"$(KP)")
        field(KI,"$(KI)")
        field(KD,"$(KD)")
        field(LOPR,"0")
        field(HOPR,"501")
        field(DRVL,"-100")
        field(DRVH,"100")
        field(PREC,"3")
}
-----------------------------------------------------

Best,

Ji Li


________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Li, Ji via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, August 4, 2021 20:55
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: How to find out PVs preventing SSCAN from running?

Hi Mark,

This is a legacy IOC inherited from X17B beamline at NSLS. I don't know much about the details yet, but from reading the database, XF:28IDD-CTPress_PID is a epid record that writes to a DAC to controls the pressure on the MAXPD endstation at 28ID. I will ask the beamline scientist to run a test with the current configuration. Thank you.

Best,

Ji Li

________________________________
From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Wednesday, August 4, 2021 20:25
To: Li, Ji <liji at bnl.gov>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: How to find out PVs preventing SSCAN from running?

Hi Ji Li,


I have used the scan record a lot, and I have never put "PP MS" after a PV name, and it always has processed the record with no problem.  For example if the positioner is a D/A converter it writes to the device, if it is a motor .VAL field it moves the motor, etc. without specifying "PP MS".


What type of record is XF:28IDD-CTPress_PID?  Is it an epid record (which the name suggests), or some other type of record?  What does that record do when you write to its VAL field?


Mark



________________________________
From: Li, Ji <liji at bnl.gov>
Sent: Wednesday, August 4, 2021 6:42 PM
To: Mark Rivers
Cc: tech-talk at aps.anl.gov
Subject: Re: How to find out PVs preventing SSCAN from running?

I see. The original definition of P1PV was

----------------------------------------
field(P1PV,"$(P)$(R)PID.VAL PP MS")
----------------------------------------

and it worked in base 3.14.

Now we are running base 7.0.5, and changing P1PV to

----------------------------------------
field(P1PV,"$(P)$(R)PID.VAL")
----------------------------------------

brought P1NV to PV OK and enabled the scan. But $(P)$(R)PID doesn't get processed when written. How to define the PV as PP in such fields in base 7.0.5?

Best,

Ji Li

________________________________
From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Wednesday, August 4, 2021 18:59
To: Li, Ji <liji at bnl.gov>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: How to find out PVs preventing SSCAN from running?

P1NV is “PV BAD”. Something looks wrong.


Sent from my iPhone

On Aug 4, 2021, at 5:50 PM, Li, Ji <liji at bnl.gov> wrote:


Hi Mark,

How do I access these screens? I did check the level 2 output of dbpr:

----------------------------------------------------------------------
epics> dbpr XF:28IDD-CTPress_RampScan 2
A1CD: 1             A1NV: No PV         A1PV:               AAWAIT: NO
ACKS: NO_ALARM      ACKT: YES           ACQM: NORMAL        ACQT: SCALAR
ALRT: 0             ASCD: 1             ASG :               ASNV: No PV
ASPV:               ASWAIT: Wait        ATIME: 0            AWAIT: 0
AWCT: 0             BCPT: 0             BKPT: 00            BSCD: 1
BSNV: No PV         BSPV:               BSWAIT: Wait        BUSY: 0
CMND: Clear msg     COPYTO: 0           CPT : 0             D01CA: PTR (nil)
D01CV: 0            D01DA: PTR 0x147ed20                    D01EU:
D01HR: 0            D01LR: 0            D01LV: 0            D01NE: 0
D01NV: PV OK        D01PR: 1            D01PV: XF:28IDD-CTPress_Value
D02CA: PTR (nil)    D02CV: 0            D02DA: PTR 0x1480c80
D02EU:              D02HR: 0            D02LR: 0            D02LV: 0
D02NE: 0            D02NV: No PV        D02PR: 0            D02PV:
D03CA: PTR (nil)    D03CV: 0            D03DA: PTR 0x1482be0
D03EU:              D03HR: 0            D03LR: 0            D03LV: 0
D03NE: 0            D03NV: No PV        D03PR: 0            D03PV:
D04CA: PTR (nil)    D04CV: 0            D04DA: PTR 0x1484b40
D04EU:              D04HR: 0            D04LR: 0            D04LV: 0
D04NE: 0            D04NV: No PV        D04PR: 0            D04PV:
D05CA: PTR (nil)    D05CV: 0            D05DA: PTR 0x147cdc0
D05EU:              D05HR: 0            D05LR: 0            D05LV: 0
D05NE: 0            D05NV: No PV        D05PR: 0            D05PV:
D06CA: PTR (nil)    D06CV: 0            D06DA: PTR 0x147cdc0
D06EU:              D06HR: 0            D06LR: 0            D06LV: 0
D06NE: 0            D06NV: No PV        D06PR: 0            D06PV:
D07CA: PTR (nil)    D07CV: 0            D07DA: PTR 0x147cdc0
D07EU:              D07HR: 0            D07LR: 0            D07LV: 0
D07NE: 0            D07NV: No PV        D07PR: 0            D07PV:
D08CA: PTR (nil)    D08CV: 0            D08DA: PTR 0x147cdc0
D08EU:              D08HR: 0            D08LR: 0            D08LV: 0
D08NE: 0            D08NV: No PV        D08PR: 0            D08PV:
D09CA: PTR (nil)    D09CV: 0            D09DA: PTR 0x147cdc0
D09EU:              D09HR: 0            D09LR: 0            D09LV: 0
D09NE: 0            D09NV: No PV        D09PR: 0            D09PV:
D10CA: PTR (nil)    D10CV: 0            D10DA: PTR 0x147cdc0
D10EU:              D10HR: 0            D10LR: 0            D10LV: 0
D10NE: 0            D10NV: No PV        D10PR: 0            D10PV:
D11CA: PTR (nil)    D11CV: 0            D11DA: PTR 0x147cdc0
D11EU:              D11HR: 0            D11LR: 0            D11LV: 0
D11NE: 0            D11NV: No PV        D11PR: 0            D11PV:
D12CA: PTR (nil)    D12CV: 0            D12DA: PTR 0x147cdc0
D12EU:              D12HR: 0            D12LR: 0            D12LV: 0
D12NE: 0            D12NV: No PV        D12PR: 0            D12PV:
D13CA: PTR (nil)    D13CV: 0            D13DA: PTR 0x147cdc0
D13EU:              D13HR: 0            D13LR: 0            D13LV: 0
D13NE: 0            D13NV: No PV        D13PR: 0            D13PV:
D14CA: PTR (nil)    D14CV: 0            D14DA: PTR 0x147cdc0
D14EU:              D14HR: 0            D14LR: 0            D14LV: 0
D14NE: 0            D14NV: No PV        D14PR: 0            D14PV:
D15CA: PTR (nil)    D15CV: 0            D15DA: PTR 0x147cdc0
D15EU:              D15HR: 0            D15LR: 0            D15LV: 0
D15NE: 0            D15NV: No PV        D15PR: 0            D15PV:
D16CA: PTR (nil)    D16CV: 0            D16DA: PTR 0x147cdc0
D16EU:              D16HR: 0            D16LR: 0            D16LV: 0
D16NE: 0            D16NV: No PV        D16PR: 0            D16PV:
D17CA: PTR (nil)    D17CV: 0            D17DA: PTR 0x147cdc0
D17EU:              D17HR: 0            D17LR: 0            D17LV: 0
D17NE: 0            D17NV: No PV        D17PR: 0            D17PV:
D18CA: PTR (nil)    D18CV: 0            D18DA: PTR 0x147cdc0
D18EU:              D18HR: 0            D18LR: 0            D18LV: 0
D18NE: 0            D18NV: No PV        D18PR: 0            D18PV:
D19CA: PTR (nil)    D19CV: 0            D19DA: PTR 0x147cdc0
D19EU:              D19HR: 0            D19LR: 0            D19LV: 0
D19NE: 0            D19NV: No PV        D19PR: 0            D19PV:
D20CA: PTR (nil)    D20CV: 0            D20DA: PTR 0x147cdc0
D20EU:              D20HR: 0            D20LR: 0            D20LV: 0
D20NE: 0            D20NV: No PV        D20PR: 0            D20PV:
D21CA: PTR (nil)    D21CV: 0            D21DA: PTR 0x147cdc0
D21EU:              D21HR: 0            D21LR: 0            D21LV: 0
D21NE: 0            D21NV: No PV        D21PR: 0            D21PV:
D22CA: PTR (nil)    D22CV: 0            D22DA: PTR 0x147cdc0
D22EU:              D22HR: 0            D22LR: 0            D22LV: 0
D22NE: 0            D22NV: No PV        D22PR: 0            D22PV:
D23CA: PTR (nil)    D23CV: 0            D23DA: PTR 0x147cdc0
D23EU:              D23HR: 0            D23LR: 0            D23LV: 0
D23NE: 0            D23NV: No PV        D23PR: 0            D23PV:
D24CA: PTR (nil)    D24CV: 0            D24DA: PTR 0x147cdc0
D24EU:              D24HR: 0            D24LR: 0            D24LV: 0
D24NE: 0            D24NV: No PV        D24PR: 0            D24PV:
D25CA: PTR (nil)    D25CV: 0            D25DA: PTR 0x147cdc0
D25EU:              D25HR: 0            D25LR: 0            D25LV: 0
D25NE: 0            D25NV: No PV        D25PR: 0            D25PV:
D26CA: PTR (nil)    D26CV: 0            D26DA: PTR 0x147cdc0
D26EU:              D26HR: 0            D26LR: 0            D26LV: 0
D26NE: 0            D26NV: No PV        D26PR: 0            D26PV:
D27CA: PTR (nil)    D27CV: 0            D27DA: PTR 0x147cdc0
D27EU:              D27HR: 0            D27LR: 0            D27LV: 0
D27NE: 0            D27NV: No PV        D27PR: 0            D27PV:
D28CA: PTR (nil)    D28CV: 0            D28DA: PTR 0x147cdc0
D28EU:              D28HR: 0            D28LR: 0            D28LV: 0
D28NE: 0            D28NV: No PV        D28PR: 0            D28PV:
D29CA: PTR (nil)    D29CV: 0            D29DA: PTR 0x147cdc0
D29EU:              D29HR: 0            D29LR: 0            D29LV: 0
D29NE: 0            D29NV: No PV        D29PR: 0            D29PV:
D30CA: PTR (nil)    D30CV: 0            D30DA: PTR 0x147cdc0
D30EU:              D30HR: 0            D30LR: 0            D30LV: 0
D30NE: 0            D30NV: No PV        D30PR: 0            D30PV:
D31CA: PTR (nil)    D31CV: 0            D31DA: PTR 0x147cdc0
D31EU:              D31HR: 0            D31LR: 0            D31LV: 0
D31NE: 0            D31NV: No PV        D31PR: 0            D31PV:
D32CA: PTR (nil)    D32CV: 0            D32DA: PTR 0x147cdc0
D32EU:              D32HR: 0            D32LR: 0            D32LV: 0
D32NE: 0            D32NV: No PV        D32PR: 0            D32PV:
D33CA: PTR (nil)    D33CV: 0            D33DA: PTR 0x147cdc0
D33EU:              D33HR: 0            D33LR: 0            D33LV: 0
D33NE: 0            D33NV: No PV        D33PR: 0            D33PV:
D34CA: PTR (nil)    D34CV: 0            D34DA: PTR 0x147cdc0
D34EU:              D34HR: 0            D34LR: 0            D34LV: 0
D34NE: 0            D34NV: No PV        D34PR: 0            D34PV:
D35CA: PTR (nil)    D35CV: 0            D35DA: PTR 0x147cdc0
D35EU:              D35HR: 0            D35LR: 0            D35LV: 0
D35NE: 0            D35NV: No PV        D35PR: 0            D35PV:
D36CA: PTR (nil)    D36CV: 0            D36DA: PTR 0x147cdc0
D36EU:              D36HR: 0            D36LR: 0            D36LV: 0
D36NE: 0            D36NV: No PV        D36PR: 0            D36PV:
D37CA: PTR (nil)    D37CV: 0            D37DA: PTR 0x147cdc0
D37EU:              D37HR: 0            D37LR: 0            D37LV: 0
D37NE: 0            D37NV: No PV        D37PR: 0            D37PV:
D38CA: PTR (nil)    D38CV: 0            D38DA: PTR 0x147cdc0
D38EU:              D38HR: 0            D38LR: 0            D38LV: 0
D38NE: 0            D38NV: No PV        D38PR: 0            D38PV:
D39CA: PTR (nil)    D39CV: 0            D39DA: PTR 0x147cdc0
D39EU:              D39HR: 0            D39LR: 0            D39LV: 0
D39NE: 0            D39NV: No PV        D39PR: 0            D39PV:
D40CA: PTR (nil)    D40CV: 0            D40DA: PTR 0x147cdc0
D40EU:              D40HR: 0            D40LR: 0            D40LV: 0
D40NE: 0            D40NV: No PV        D40PR: 0            D40PV:
D41CA: PTR (nil)    D41CV: 0            D41DA: PTR 0x147cdc0
D41EU:              D41HR: 0            D41LR: 0            D41LV: 0
D41NE: 0            D41NV: No PV        D41PR: 0            D41PV:
D42CA: PTR (nil)    D42CV: 0            D42DA: PTR 0x147cdc0
D42EU:              D42HR: 0            D42LR: 0            D42LV: 0
D42NE: 0            D42NV: No PV        D42PR: 0            D42PV:
D43CA: PTR (nil)    D43CV: 0            D43DA: PTR 0x147cdc0
D43EU:              D43HR: 0            D43LR: 0            D43LV: 0
D43NE: 0            D43NV: No PV        D43PR: 0            D43PV:
D44CA: PTR (nil)    D44CV: 0            D44DA: PTR 0x147cdc0
D44EU:              D44HR: 0            D44LR: 0            D44LV: 0
D44NE: 0            D44NV: No PV        D44PR: 0            D44PV:
D45CA: PTR (nil)    D45CV: 0            D45DA: PTR 0x147cdc0
D45EU:              D45HR: 0            D45LR: 0            D45LV: 0
D45NE: 0            D45NV: No PV        D45PR: 0            D45PV:
D46CA: PTR (nil)    D46CV: 0            D46DA: PTR 0x147cdc0
D46EU:              D46HR: 0            D46LR: 0            D46LV: 0
D46NE: 0            D46NV: No PV        D46PR: 0            D46PV:
D47CA: PTR (nil)    D47CV: 0            D47DA: PTR 0x147cdc0
D47EU:              D47HR: 0            D47LR: 0            D47LV: 0
D47NE: 0            D47NV: No PV        D47PR: 0            D47PV:
D48CA: PTR (nil)    D48CV: 0            D48DA: PTR 0x147cdc0
D48EU:              D48HR: 0            D48LR: 0            D48LV: 0
D48NE: 0            D48NV: No PV        D48PR: 0            D48PV:
D49CA: PTR (nil)    D49CV: 0            D49DA: PTR 0x147cdc0
D49EU:              D49HR: 0            D49LR: 0            D49LV: 0
D49NE: 0            D49NV: No PV        D49PR: 0            D49PV:
D50CA: PTR (nil)    D50CV: 0            D50DA: PTR 0x147cdc0
D50EU:              D50HR: 0            D50LR: 0            D50LV: 0
D50NE: 0            D50NV: No PV        D50PR: 0            D50PV:
D51CA: PTR (nil)    D51CV: 0            D51DA: PTR 0x147cdc0
D51EU:              D51HR: 0            D51LR: 0            D51LV: 0
D51NE: 0            D51NV: No PV        D51PR: 0            D51PV:
D52CA: PTR (nil)    D52CV: 0            D52DA: PTR 0x147cdc0
D52EU:              D52HR: 0            D52LR: 0            D52LV: 0
D52NE: 0            D52NV: No PV        D52PR: 0            D52PV:
D53CA: PTR (nil)    D53CV: 0            D53DA: PTR 0x147cdc0
D53EU:              D53HR: 0            D53LR: 0            D53LV: 0
D53NE: 0            D53NV: No PV        D53PR: 0            D53PV:
D54CA: PTR (nil)    D54CV: 0            D54DA: PTR 0x147cdc0
D54EU:              D54HR: 0            D54LR: 0            D54LV: 0
D54NE: 0            D54NV: No PV        D54PR: 0            D54PV:
D55CA: PTR (nil)    D55CV: 0            D55DA: PTR 0x147cdc0
D55EU:              D55HR: 0            D55LR: 0            D55LV: 0
D55NE: 0            D55NV: No PV        D55PR: 0            D55PV:
D56CA: PTR (nil)    D56CV: 0            D56DA: PTR 0x147cdc0
D56EU:              D56HR: 0            D56LR: 0            D56LV: 0
D56NE: 0            D56NV: No PV        D56PR: 0            D56PV:
D57CA: PTR (nil)    D57CV: 0            D57DA: PTR 0x147cdc0
D57EU:              D57HR: 0            D57LR: 0            D57LV: 0
D57NE: 0            D57NV: No PV        D57PR: 0            D57PV:
D58CA: PTR (nil)    D58CV: 0            D58DA: PTR 0x147cdc0
D58EU:              D58HR: 0            D58LR: 0            D58LV: 0
D58NE: 0            D58NV: No PV        D58PR: 0            D58PV:
D59CA: PTR (nil)    D59CV: 0            D59DA: PTR 0x147cdc0
D59EU:              D59HR: 0            D59LR: 0            D59LV: 0
D59NE: 0            D59NV: No PV        D59PR: 0            D59PV:
D60CA: PTR (nil)    D60CV: 0            D60DA: PTR 0x147cdc0
D60EU:              D60HR: 0            D60LR: 0            D60LV: 0
D60NE: 0            D60NV: No PV        D60PR: 0            D60PV:
D61CA: PTR (nil)    D61CV: 0            D61DA: PTR 0x147cdc0
D61EU:              D61HR: 0            D61LR: 0            D61LV: 0
D61NE: 0            D61NV: No PV        D61PR: 0            D61PV:
D62CA: PTR (nil)    D62CV: 0            D62DA: PTR 0x147cdc0
D62EU:              D62HR: 0            D62LR: 0            D62LV: 0
D62NE: 0            D62NV: No PV        D62PR: 0            D62PV:
D63CA: PTR (nil)    D63CV: 0            D63DA: PTR 0x147cdc0
D63EU:              D63HR: 0            D63LR: 0            D63LV: 0
D63NE: 0            D63NV: No PV        D63PR: 0            D63PV:
D64CA: PTR (nil)    D64CV: 0            D64DA: PTR 0x147cdc0
D64EU:              D64HR: 0            D64LR: 0            D64LV: 0
D64NE: 0            D64NV: No PV        D64PR: 0            D64PV:
D65CA: PTR (nil)    D65CV: 0            D65DA: PTR 0x147cdc0
D65EU:              D65HR: 0            D65LR: 0            D65LV: 0
D65NE: 0            D65NV: No PV        D65PR: 0            D65PV:
D66CA: PTR (nil)    D66CV: 0            D66DA: PTR 0x147cdc0
D66EU:              D66HR: 0            D66LR: 0            D66LV: 0
D66NE: 0            D66NV: No PV        D66PR: 0            D66PV:
D67CA: PTR (nil)    D67CV: 0            D67DA: PTR 0x147cdc0
D67EU:              D67HR: 0            D67LR: 0            D67LV: 0
D67NE: 0            D67NV: No PV        D67PR: 0            D67PV:
D68CA: PTR (nil)    D68CV: 0            D68DA: PTR 0x147cdc0
D68EU:              D68HR: 0            D68LR: 0            D68LV: 0
D68NE: 0            D68NV: No PV        D68PR: 0            D68PV:
D69CA: PTR (nil)    D69CV: 0            D69DA: PTR 0x147cdc0
D69EU:              D69HR: 0            D69LR: 0            D69LV: 0
D69NE: 0            D69NV: No PV        D69PR: 0            D69PV:
D70CA: PTR (nil)    D70CV: 0            D70DA: PTR 0x147cdc0
D70EU:              D70HR: 0            D70LR: 0            D70LV: 0
D70NE: 0            D70NV: No PV        D70PR: 0            D70PV:
DATA: 1             DDLY: 0             DESC: Load ramp     DISA: 0
DISP: 0             DISS: NO_ALARM      DISV: 1             DPT : 0
DSTATE: POSTED      DTYP: <nil>         EVNT:               EXSC: 0
FAZE: IDLE          FFO : USE F-FLAGS   FLNK: CONSTANT      FPTS: FREEZE
KILL: 0             LCNT: 0             LPAU: GO            MPTS: 1000
NAME: XF:28IDD-CTPress_RampScan         NPTS: 1000          NSEV: NO_ALARM
NSTA: NO_ALARM      P1AR: ABSOLUTE      P1CA: PTR (nil)     P1CP: 0
P1CV: 0             P1DV: 0             P1EP: 0             P1EU:
P1FC: NO            P1FE: NO            P1FI: NO            P1FS: NO
P1FW: NO            P1HR: 0             P1LR: 0             P1LV: 0
P1NV: PV BAD        P1PA: PTR 0x1465600 P1PP: 0             P1PR: 0
P1PV: XF:28IDD-CTPress_PID.VAL PP MS    P1RA: PTR 0x146d340 P1SI: 0
P1SM: LINEAR        P1SP: 0             P1WD: 0             P2AR: ABSOLUTE
P2CA: PTR (nil)     P2CP: 0             P2CV: 0             P2DV: 0
P2EP: 0             P2EU:               P2FC: NO            P2FE: NO
P2FI: NO            P2FS: NO            P2FW: NO            P2HR: 0
P2LR: 0             P2LV: 0             P2NV: No PV         P2PA: PTR 0x1467550
P2PP: 0             P2PR: 0             P2PV:               P2RA: PTR 0x14711e0
P2SI: 0             P2SM: LINEAR        P2SP: 0             P2WD: 0
P3AR: ABSOLUTE      P3CA: PTR (nil)     P3CP: 0             P3CV: 0
P3DV: 0             P3EP: 0             P3EU:               P3FC: NO
P3FE: NO            P3FI: NO            P3FS: NO            P3FW: NO
P3HR: 0             P3LR: 0             P3LV: 0             P3NV: No PV
P3PA: PTR 0x14694a0 P3PP: 0             P3PR: 0             P3PV:
P3RA: PTR 0x1475080 P3SI: 0             P3SM: LINEAR        P3SP: 0
P3WD: 0             P4AR: ABSOLUTE      P4CA: PTR (nil)     P4CP: 0
P4CV: 0             P4DV: 0             P4EP: 0             P4EU:
P4FC: NO            P4FE: NO            P4FI: NO            P4FS: NO
P4FW: NO            P4HR: 0             P4LR: 0             P4LV: 0
P4NV: No PV         P4PA: PTR 0x146b3f0 P4PP: 0             P4PR: 0
P4PV:               P4RA: PTR 0x1478f20 P4SI: 0             P4SM: LINEAR
P4SP: 0             P4WD: 0             PACT: 0             PASM: STAY
PAUS: GO            PCPT: 0             PDLY: 0.04          PHAS: 0
PINI: YES           PRIO: HIGH          PUTF: 0             PXSC: 0
R1CV: 0             R1DL: 0             R1LV: 0             R1NV: No PV
R1PV:               R2CV: 0             R2DL: 0             R2LV: 0
R2NV: No PV         R2PV:               R3CV: 0             R3DL: 0
R3LV: 0             R3NV: No PV         R3PV:               R4CV: 0
R4DL: 0             R4LV: 0             R4NV: No PV         R4PV:
RDLY: 0             REFD: 1             RPRO: 0             SCAN: Passive
SDIS: CONSTANT      SEVR: NO_ALARM      SMSG: Killing scan (kill=1/3)
STAT: NO_ALARM      T1CD: 1             T1NV: No PV         T1PV:
T2CD: 1             T2NV: No PV         T2PV:               T3CD: 1
T3NV: No PV         T3PV:               T4CD: 1             T4NV: No PV
T4PV:               TIME: <undefined>   TLAP: 00 00 00 00 00 00 00 00
TOLP: 8e 6e 6c 3b 12 c6 39 20           TPRO: 0             TSE : 0
TSEL: CONSTANT      UDF : 0             UDFS: INVALID       VAL : 0
VERS: 5.53          WAIT: 0             WCNT: 0             WTNG: 0
XSC : 0
----------------------------------------------------------------------

Best,

Ji Li

________________________________
From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: Wednesday, August 4, 2021 18:31
To: Li, Ji <liji at bnl.gov>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: How to find out PVs preventing SSCAN from running?

Did you look at the screens for all 4 positioners and all 70 detectors to see if there is a disconnected PV?

Send the output of

dbpr scanrec 2

Mark


Sent from my iPhone

On Aug 4, 2021, at 5:04 PM, Li, Ji via Tech-talk <tech-talk at aps.anl.gov> wrote:


Hi,

We have an IOC doing ramps (1-D scan) using sscan record. It had been working properly in Debian 7 until recently we switched to RHEL8. When setting the EXSC field of the sscan record to 1, the scan didn't start as expected. The IOC reported:

----------------------------------------------
Starting new scan with unexpected faze ('SCAN_PENDING').
----------------------------------------------

The SMSG field or the sscan record read:

----------------------------------------------
Waiting for PV's to connect
----------------------------------------------

And the CPT field remained 0.

The sscan record has D01PV and P1PV associated with PVs also created in this IOC, both shown as connected, readable and writable from cainfo.

Is it possible to find out what PVs, or actually something else causing this problem?

Thanks for any comments.

Ji Li


Replies:
Re: How to find out PVs preventing SSCAN from running? Li, Ji via Tech-talk
Re: How to find out PVs preventing SSCAN from running? Li, Ji via Tech-talk
References:
How to find out PVs preventing SSCAN from running? Li, Ji via Tech-talk
Re: How to find out PVs preventing SSCAN from running? Mark Rivers via Tech-talk
Re: How to find out PVs preventing SSCAN from running? Li, Ji via Tech-talk
Re: How to find out PVs preventing SSCAN from running? Mark Rivers via Tech-talk
Re: How to find out PVs preventing SSCAN from running? Li, Ji via Tech-talk
Re: How to find out PVs preventing SSCAN from running? Mark Rivers via Tech-talk
Re: How to find out PVs preventing SSCAN from running? Li, Ji via Tech-talk
Re: How to find out PVs preventing SSCAN from running? Li, Ji via Tech-talk

Navigate by Date:
Prev: Re: How to find out PVs preventing SSCAN from running? Mark Rivers via Tech-talk
Next: Re: How to find out PVs preventing SSCAN from running? Li, Ji via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: How to find out PVs preventing SSCAN from running? Mark Rivers via Tech-talk
Next: Re: How to find out PVs preventing SSCAN from running? Li, Ji via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 05 Aug 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·