Closed MDallOsso closed 10 years ago
Hi Martino,
what was your scanning range of the DacScan?
/Simon
the range was 0 - 255.
Hi Martino,
scanning Vdig from 0 means losing your device configuration! (Vdig = 0 is equal to turing the ROC off) So I find it more interesting that you get anything back at all...
/Simon
On 02/10/2014 11:22 AM, MDallOsso wrote:
the range was 0 - 255.
— Reply to this email directly or view it on GitHub https://github.com/psi46/pxar/issues/58#issuecomment-34616563.
Hi Simon, set dac 1 = 0 is not equal to set Vdig = 0 V. In psi46test, if I do 'dac 1 0' I get Idig = 22.5mA, not equal to 0. While if I call i.e. 'vd 1000' then I get Idig = 3.2 mA. Also in the pxar gui if I set Vdig = 0 then I get Idig = 24mA. I think that 'dacscan' use the first command so starting from Vdig=0 it is not equal to turning the ROC off. By the way, I restarted the gui and I did a dacscan starting from Vdig=2 and I get the same behavior.
Martino
Hi Martino,
I played a bit around and you are right, the settings still are there even after reducing vdig to 0.
Could you (just in case) attach a log of a run with non-working vdig settings so I can check if anything weird is going on on API level? Please run pxar with the -v DEBUGHAL
flag so we get enough information about the low-level routines running.
Thanks and cheers, Simon
Hi Simon, I did a pixelalive and dacscan with default DACs(no pulse) and then I repeated it with Vdig=4. Cheers Martino
[root@lxcmsi07 pxar-master]# ./bin/pXar -d data/testROC -g -v DEBUGHAL
[14:01:00.773] INFO: *** Welcome to pxar ***
[14:01:00.774] INFO: no rootlogon.C found, live with the defaults provided
[14:01:00.774] INFO: pxar: reading config parameters from data/testROC/configParameters.dat
[14:01:00.774] INFO: reading data/testROC/dacParameters_C0.dat
[14:01:00.774] INFO: reading data/testROC/defaultMaskFile.dat
[14:01:00.775] INFO: reading data/testROC/trimParameters_C0.dat
[14:01:00.792] INFO: reading data/testROC/tbParameters.dat
[14:01:00.792] QUIET: Instanciating API for pxar PXAR_VERSION
[14:01:00.792] INFO: Log level: DEBUGHAL
[14:01:15.828] INFO: pxar caught an exception from the board. Exiting.
[root@lxcmsi07 pxar-master]# ./bin/pXar -d data/testROC -g -v DEBUGHAL
[14:01:31.875] INFO: *** Welcome to pxar ***
[14:01:31.876] INFO: no rootlogon.C found, live with the defaults provided
[14:01:31.876] INFO: pxar: reading config parameters from data/testROC/configParameters.dat
[14:01:31.876] INFO: reading data/testROC/dacParameters_C0.dat
[14:01:31.876] INFO: reading data/testROC/defaultMaskFile.dat
[14:01:31.877] INFO: reading data/testROC/trimParameters_C0.dat
[14:01:31.894] INFO: reading data/testROC/tbParameters.dat
[14:01:31.894] QUIET: Instanciating API for pxar PXAR_VERSION
[14:01:31.895] INFO: Log level: DEBUGHAL
[14:01:31.929] QUIET: Connection to board DTB_WWVID2 opened.
[14:01:31.936] INFO: DTB startup information
--- DTB info------------------------------------------
Board id: 131
HW version: DTB1.2
FW version: 1.10
SW version: 1.17
USB id: DTB_WWVID2
MAC address: 40D855118083
Hostname: pixelDTB131
Comment:
------------------------------------------------------
[14:01:31.940] DEBUGHAL: <hal.cc/CheckCompatibility:L285> Hashing Host RPC command list.
[14:01:31.940] DEBUGHAL: <hal.cc/CheckCompatibility:L287> Host Hash: 233128999
[14:01:31.940] DEBUGHAL: <hal.cc/CheckCompatibility:L290> Fetching DTB RPC command hash.
[14:01:31.944] DEBUGHAL: <hal.cc/CheckCompatibility:L292> Host Hash: 233128999
[14:01:31.944] INFO: RPC call hashes of host and DTB match: 233128999
[14:01:31.946] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "clk" (0): 2 (max 255)
[14:01:31.946] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "ctr" (1): 2 (max 255)
[14:01:31.946] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "sda" (2): 17 (max 255)
[14:01:31.946] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "tin" (3): 7 (max 255)
[14:01:31.946] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "deser160phase" (254): 4 (max 255)
[14:01:31.947] DEBUGHAL: <hal.cc/setTBva:L421> Set DTB analog output voltage to VA = 1.9V
[14:01:32.777] DEBUGHAL: <hal.cc/setTBvd:L433> Set DTB digital output voltage to VD = 2.6V
[14:01:32.780] DEBUGHAL: <hal.cc/setTBia:L415> Set DTB analog current limit to IA = 1.19A
[14:01:32.784] DEBUGHAL: <hal.cc/setTBid:L427> Set DTB digital current limit to ID = 1.1A
[14:01:32.788] DEBUGHAL: <hal.cc/initTestboard:L104> Voltages/current limits set.
[14:01:32.788] DEBUGHAL: <hal.cc/initTestboard:L115> Set DTB delay 0 to value 2
[14:01:32.796] DEBUGHAL: <hal.cc/initTestboard:L115> Set DTB delay 1 to value 2
[14:01:32.796] DEBUGHAL: <hal.cc/initTestboard:L115> Set DTB delay 2 to value 17
[14:01:32.796] DEBUGHAL: <hal.cc/initTestboard:L115> Set DTB delay 3 to value 7
[14:01:32.796] DEBUGHAL: <hal.cc/initTestboard:L111> Set DTB deser160 phase to value 4
[14:01:32.800] DEBUGHAL: <hal.cc/initTestboard:L122> Testboard delays set.
[14:01:32.801] DEBUGHAL: <hal.cc/SetupPatternGenerator:L138> Setting PG cmd 819 (addr 0 pat 800 del 25)
[14:01:32.804] DEBUGHAL: <hal.cc/SetupPatternGenerator:L138> Setting PG cmd 469 (addr 1 pat 400 del 105)
[14:01:32.804] DEBUGHAL: <hal.cc/SetupPatternGenerator:L138> Setting PG cmd 210 (addr 2 pat 200 del 16)
[14:01:32.804] DEBUGHAL: <hal.cc/SetupPatternGenerator:L138> Setting PG cmd 100 (addr 3 pat 100 del 0)
[14:01:32.845] DEBUGAPI: <api.cc/initDUT:L173> We have 1 DAC configs and 1 pixel configs, with 21 and 4160 entries for the first ROC, respectively.
[14:01:32.845] DEBUGAPI: <api.cc/stringToDeviceCode:L335> Looking up device type for "psi46digv2"
[14:01:32.845] DEBUGAPI: <api.cc/stringToDeviceCode:L342> Device type return: 6
[14:01:32.845] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vdig" (1): 8 (max 15)
[14:01:32.845] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vana" (2): 136 (max 255)
[14:01:32.845] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vsf" (3): 40 (max 255)
[14:01:32.845] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vcomp" (4): 12 (max 15)
[14:01:32.845] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vwllpr" (7): 60 (max 255)
[14:01:32.845] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vwllsh" (9): 60 (max 255)
[14:01:32.845] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vhlddel" (10): 117 (max 255)
[14:01:32.845] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vtrim" (11): 29 (max 255)
[14:01:32.845] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vthrcomp" (12): 50 (max 255)
[14:01:32.845] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vibias_bus" (13): 30 (max 255)
[14:01:32.845] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vbias_sf" (14): 6 (max 15)
[14:01:32.845] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "voffsetop" (15): 60 (max 255)
[14:01:32.845] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "voffsetro" (17): 150 (max 255)
[14:01:32.846] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vion" (18): 45 (max 255)
[14:01:32.846] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vcomp_adc" (19): 50 (max 255)
[14:01:32.846] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "viref_adc" (20): 70 (max 255)
[14:01:32.846] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vicolor" (22): 99 (max 255)
[14:01:32.846] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vcal" (25): 200 (max 255)
[14:01:32.846] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "caldel" (26): 68 (max 255)
[14:01:32.846] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "ctrlreg" (253): 0 (max 255)
[14:01:32.846] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "wbc" (254): 100 (max 255)
[14:01:32.846] DEBUGHAL: <hal.cc/Pon:L911> Powering up testboard DUT connection...
[14:01:33.151] DEBUGAPI: <api.cc/programDUT:L278> Programming ROCs...
[14:01:33.153] DEBUGHAL: <hal.cc/initROC:L251> Setting DAC vector for ROC 0.
[14:01:33.155] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC1 to 8
[14:01:33.157] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC2 to 136
[14:01:33.157] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC3 to 40
[14:01:33.157] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC4 to 12
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC7 to 60
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC9 to 60
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC10 to 117
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC11 to 29
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC12 to 50
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC13 to 30
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC14 to 6
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC15 to 60
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC17 to 150
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC18 to 45
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC19 to 50
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC20 to 70
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC22 to 99
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC25 to 200
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC26 to 68
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC253 to 0
[14:01:33.158] DEBUGHAL: <hal.cc/rocSetDACs:L445> Set DAC254 to 100
[14:01:33.158] DEBUGAPI: <api.cc/MaskAndTrim:L1443> ROC 0 features 0 masked pixels.
[14:01:33.159] DEBUGAPI: <api.cc/MaskAndTrim:L1452> Masking ROC 0 in one go.
[14:01:33.159] DEBUGHAL: <hal.cc/RocSetMask:L505> Masking ROC 0
[14:01:33.160] INFO: DUT info:
[14:01:33.160] INFO: The DUT currently contains the following objects:
[14:01:33.161] INFO: 0 TBMs (0 ON)
[14:01:33.161] INFO: 1 ROCs (1 ON) with 4160 pixelConfigs
[14:01:33.161] INFO: ROC 0: 21 DACs set, Pixels: 0 masked, 4160 active.
[14:01:33.161] DEBUG: <PixTestParameters.cc/dump:L105> PixTestParameters: ->CurVsDac<-
[14:01:33.161] DEBUG: <PixTestParameters.cc/dump:L108> DAC: Vana
[14:01:33.161] DEBUG: <PixTestParameters.cc/dump:L105> PixTestParameters: ->DAQ<-
[14:01:33.161] DEBUG: <PixTestParameters.cc/dump:L108> Ntrig: 100
[14:01:33.161] DEBUG: <PixTestParameters.cc/dump:L105> PixTestParameters: ->DacDacScan<-
[14:01:33.161] DEBUG: <PixTestParameters.cc/dump:L108> Ntrig: 10
[14:01:33.161] DEBUG: <PixTestParameters.cc/dump:L108> DAC1: caldel
[14:01:33.161] DEBUG: <PixTestParameters.cc/dump:L108> DAC1LO: 0
[14:01:33.161] DEBUG: <PixTestParameters.cc/dump:L108> DAC1HI: 120
[14:01:33.161] DEBUG: <PixTestParameters.cc/dump:L108> DAC2: vthrcomp
[14:01:33.161] DEBUG: <PixTestParameters.cc/dump:L108> DAC2LO: 0
[14:01:33.161] DEBUG: <PixTestParameters.cc/dump:L108> DAC2HI: 120
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> PIX1: 11,20
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L105> PixTestParameters: ->DacScan<-
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> Ntrig: 10
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> DAC: caldel
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> DACLO: 0
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> DACHI: 250
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> PIX1: 11,20
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> PIX2: 20,30
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> PIX3: 40,50
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L105> PixTestParameters: ->PhDacScan<-
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> Ntrig: 10
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> DAC: Vcal
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> DACLO: 0
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> DACHI: 200
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> PIX1: 11,20
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L105> PixTestParameters: ->PixelAlive<-
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> Ntrig: 10
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> Vcal: 200
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L105> PixTestParameters: ->Pretest<-
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> targetIa: 24
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> setVana: button
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> noiseWidth: 22
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> noiseMargin: 15
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> setVthrCompId: button
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> PIX1: 11,20
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> Ntrig: 10
[14:01:33.162] DEBUG: <PixTestParameters.cc/dump:L108> setCalDel: button
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> SaveDacs: button
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L105> PixTestParameters: ->Scurves<-
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> Ntrig: 50
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> Npix: 10
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> DAC: Vcal
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> DacLo: 0
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> DacHi: 100
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L105> PixTestParameters: ->Setup<-
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> Ntrig: 10
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> Vcal: 200
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L105> PixTestParameters: ->Trim<-
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> TrimBits: button
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> Ntrig: 10
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> Vcal: 40
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> VcalLo: 25
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> VcalHi: 75
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> VthrCompLo: 0
[14:01:33.163] DEBUG: <PixTestParameters.cc/dump:L108> VthrCompHi: 50
[14:01:33.163] DEBUG: <PixSetup.cc/init:L69> PixSetup init
[14:01:33.163] DEBUG: <PixSetup.cc/PixSetup:L17> PixSetup ctor(pxar::api *a, PixTestParameters *tp, ConfigParameters *cp), api = 0x997fc60
[14:01:33.163] INFO: pxar: dumping results into data/testROC/pxar.root
[14:01:33.390] DEBUGHAL: <hal.cc/HVon:L895> Turning on High Voltage for sensor bias...
[14:01:33.806] DEBUG: <PixGui.cc/hvOn:L328> HV set On
[14:01:33.812] DEBUG: <PixParTab.cc/init:L340> PixParTab::init()
[14:01:33.816] DEBUG: <PixParTab.cc/PixParTab:L64> Creating TGTextEntry for clk
[14:01:33.817] DEBUG: <PixParTab.cc/PixParTab:L64> Creating TGTextEntry for ctr
[14:01:33.818] DEBUG: <PixParTab.cc/PixParTab:L64> Creating TGTextEntry for sda
[14:01:33.818] DEBUG: <PixParTab.cc/PixParTab:L64> Creating TGTextEntry for tin
[14:01:33.819] DEBUG: <PixParTab.cc/PixParTab:L64> Creating TGTextEntry for deser160phase
[14:01:33.820] DEBUG: <PixParTab.cc/PixParTab:L89> Creating TGTextEntry for ia
[14:01:33.820] DEBUG: <PixParTab.cc/PixParTab:L89> Creating TGTextEntry for id
[14:01:33.821] DEBUG: <PixParTab.cc/PixParTab:L89> Creating TGTextEntry for va
[14:01:33.821] DEBUG: <PixParTab.cc/PixParTab:L89> Creating TGTextEntry for vd
[14:01:33.845] DEBUG: <PixParTab.cc/PixParTab:L262> Creating TGTextEntry for vdd
[14:01:33.846] DEBUG: <PixParTab.cc/PixParTab:L262> Creating TGTextEntry for iana
[14:01:33.846] DEBUG: <PixParTab.cc/PixParTab:L262> Creating TGTextEntry for vsf
[14:01:33.847] DEBUG: <PixParTab.cc/PixParTab:L262> Creating TGTextEntry for vcomp
[14:01:33.848] DEBUG: <PixParTab.cc/PixParTab:L262> Creating TGTextEntry for fbpre
[14:01:33.848] DEBUG: <PixParTab.cc/PixParTab:L262> Creating TGTextEntry for fbsh
[14:01:33.849] DEBUG: <PixParTab.cc/PixParTab:L262> Creating TGTextEntry for holddel
[14:01:33.850] DEBUG: <PixParTab.cc/PixParTab:L262> Creating TGTextEntry for trimscale
[14:01:33.850] DEBUG: <PixParTab.cc/PixParTab:L262> Creating TGTextEntry for globalthr
[14:01:33.851] DEBUG: <PixParTab.cc/PixParTab:L262> Creating TGTextEntry for vibias_bus
[14:01:33.851] DEBUG: <PixParTab.cc/PixParTab:L262> Creating TGTextEntry for vbias_sf
[14:01:33.852] DEBUG: <PixParTab.cc/PixParTab:L287> Creating TGTextEntry for voffsetop
[14:01:33.852] DEBUG: <PixParTab.cc/PixParTab:L287> Creating TGTextEntry for phoffset
[14:01:33.853] DEBUG: <PixParTab.cc/PixParTab:L287> Creating TGTextEntry for vion
[14:01:33.854] DEBUG: <PixParTab.cc/PixParTab:L287> Creating TGTextEntry for adcpower
[14:01:33.854] DEBUG: <PixParTab.cc/PixParTab:L287> Creating TGTextEntry for ibias_dac
[14:01:33.855] DEBUG: <PixParTab.cc/PixParTab:L287> Creating TGTextEntry for vicolor
[14:01:33.856] DEBUG: <PixParTab.cc/PixParTab:L287> Creating TGTextEntry for vcal
[14:01:33.856] DEBUG: <PixParTab.cc/PixParTab:L287> Creating TGTextEntry for caldel
[14:01:33.857] DEBUG: <PixParTab.cc/PixParTab:L287> Creating TGTextEntry for ccr
[14:01:33.858] DEBUG: <PixParTab.cc/PixParTab:L287> Creating TGTextEntry for wbc
[14:01:33.861] DEBUG: <PixTestFactory.cc/instance:L32> PixTestFactory* PixTestFactory::instance()
[14:01:33.861] DEBUG: <PixTestFactory.cc/PixTestFactory:L43> PixTestFactory::PixTestFactory()
[14:01:33.861] DEBUG: <PixTest.cc/init:L43> fParameters.size() = 1
[14:01:33.861] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DAC<- to ->Vana<-
[14:01:33.892] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 1
[14:01:33.892] DEBUG: <PixTestFactory.cc/instance:L32> PixTestFactory* PixTestFactory::instance()
[14:01:33.892] DEBUG: <PixTest.cc/init:L43> fParameters.size() = 1
[14:01:33.892] DEBUG: <PixTest.cc/init:L45> setting parameter: ->Ntrig<- to ->100<-
[14:01:33.892] DEBUG: <PixTestDaq.cc/setParameter:L35> ==> parName: Ntrig
[14:01:33.892] DEBUG: <PixTestDaq.cc/setParameter:L36> ==> sval: 100
[14:01:33.892] DEBUG: <PixTestDaq.cc/init:L50> PixTestDaq::init()
[14:01:33.892] DEBUG: <PixTestDaq.cc/PixTestDaq:L18> PixTestDaq ctor(PixSetup &a, string, TGTab *)
[14:01:33.900] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 2
[14:01:33.900] DEBUG: <PixTestFactory.cc/instance:L32> PixTestFactory* PixTestFactory::instance()
[14:01:33.900] DEBUG: <PixTest.cc/init:L43> fParameters.size() = 8
[14:01:33.901] DEBUG: <PixTest.cc/init:L45> setting parameter: ->Ntrig<- to ->10<-
[14:01:33.901] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DAC1<- to ->caldel<-
[14:01:33.901] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DAC1LO<- to ->0<-
[14:01:33.901] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DAC1HI<- to ->120<-
[14:01:33.902] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DAC2<- to ->vthrcomp<-
[14:01:33.902] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DAC2LO<- to ->0<-
[14:01:33.902] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DAC2HI<- to ->120<-
[14:01:33.902] DEBUG: <PixTest.cc/init:L45> setting parameter: ->PIX1<- to ->11,20 <-
[14:01:33.902] DEBUG: <PixTestDacDacScan.cc/init:L127> PixTestDacDacScan::init()
[14:01:33.903] DEBUG: <PixTestDacDacScan.cc/PixTestDacDacScan:L19> PixTestDacDacScan ctor(PixSetup &a, string, TGTab *)
[14:01:33.951] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 3
[14:01:33.951] DEBUG: <PixTestFactory.cc/instance:L32> PixTestFactory* PixTestFactory::instance()
[14:01:33.951] DEBUG: <PixTest.cc/init:L43> fParameters.size() = 7
[14:01:33.951] DEBUG: <PixTest.cc/init:L45> setting parameter: ->Ntrig<- to ->10<-
[14:01:33.952] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DAC<- to ->caldel<-
[14:01:33.952] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DACLO<- to ->0<-
[14:01:33.952] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DACHI<- to ->250<-
[14:01:33.952] DEBUG: <PixTest.cc/init:L45> setting parameter: ->PIX1<- to ->11,20 <-
[14:01:33.952] DEBUG: <PixTest.cc/init:L45> setting parameter: ->PIX2<- to ->20,30 <-
[14:01:33.952] DEBUG: <PixTest.cc/init:L45> setting parameter: ->PIX3<- to ->40,50 <-
[14:01:33.952] DEBUG: <PixTestDacScan.cc/PixTestDacScan:L22> setting fPIX0 ->11/20
[14:01:33.952] DEBUG: <PixTestDacScan.cc/PixTestDacScan:L22> setting fPIX1 ->20/30
[14:01:33.953] DEBUG: <PixTestDacScan.cc/PixTestDacScan:L22> setting fPIX2 ->40/50
[14:01:33.971] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 4
[14:01:33.985] DEBUG: <PixTestFactory.cc/instance:L32> PixTestFactory* PixTestFactory::instance()
[14:01:33.985] DEBUG: <PixTest.cc/init:L43> fParameters.size() = 5
[14:01:33.985] DEBUG: <PixTest.cc/init:L45> setting parameter: ->Ntrig<- to ->10<-
[14:01:33.985] DEBUG: <PixTestPhDacScan.cc/setParameter:L46> setting fParNtrig ->10<- from sval = 10
[14:01:33.985] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DAC<- to ->Vcal<-
[14:01:33.985] DEBUG: <PixTestPhDacScan.cc/setParameter:L51> setting fParDAC ->Vcal<- from sval = Vcal
[14:01:33.986] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DACLO<- to ->0<-
[14:01:33.986] DEBUG: <PixTestPhDacScan.cc/setParameter:L56> setting fParLoDAC ->0<- from sval = 0
[14:01:33.986] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DACHI<- to ->200<-
[14:01:33.986] DEBUG: <PixTestPhDacScan.cc/setParameter:L61> setting fParHiDAC ->200<- from sval = 200
[14:01:33.986] DEBUG: <PixTest.cc/init:L45> setting parameter: ->PIX1<- to ->11,20<-
[14:01:33.986] DEBUG: <PixTestPhDacScan.cc/PixTestPhDacScan:L21> setting fPIX0 ->11/20
[14:01:34.021] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 5
[14:01:34.021] DEBUG: <PixTestFactory.cc/instance:L32> PixTestFactory* PixTestFactory::instance()
[14:01:34.021] DEBUG: <PixTest.cc/init:L43> fParameters.size() = 2
[14:01:34.021] DEBUG: <PixTest.cc/init:L45> setting parameter: ->Ntrig<- to ->10<-
[14:01:34.023] DEBUG: <PixTestAlive.cc/setParameter:L35> ==> parName: Ntrig
[14:01:34.023] DEBUG: <PixTestAlive.cc/setParameter:L36> ==> sval: 10
[14:01:34.023] DEBUG: <PixTest.cc/init:L45> setting parameter: ->Vcal<- to ->200<-
[14:01:34.023] DEBUG: <PixTestAlive.cc/setParameter:L35> ==> parName: Vcal
[14:01:34.023] DEBUG: <PixTestAlive.cc/setParameter:L36> ==> sval: 200
[14:01:34.023] DEBUG: <PixTestAlive.cc/init:L54> PixTestAlive::init()
[14:01:34.024] DEBUG: <PixTestAlive.cc/PixTestAlive:L18> PixTestAlive ctor(PixSetup &a, string, TGTab *)
[14:01:34.036] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 6
[14:01:34.037] DEBUG: <PixTestFactory.cc/instance:L32> PixTestFactory* PixTestFactory::instance()
[14:01:34.037] DEBUG: <PixTest.cc/init:L43> fParameters.size() = 9
[14:01:34.037] DEBUG: <PixTest.cc/init:L45> setting parameter: ->targetIa<- to ->24<-
[14:01:34.037] DEBUG: <PixTestPretest.cc/setParameter:L49> target Ia 24 mA/ROC
[14:01:34.037] DEBUG: <PixTest.cc/init:L45> setting parameter: ->setVana<- to ->button<-
[14:01:34.037] DEBUG: <PixTest.cc/init:L45> setting parameter: ->noiseWidth<- to ->22<-
[14:01:34.037] DEBUG: <PixTestPretest.cc/setParameter:L54> Id vs VthrComp noise peak width 22 DAC units
[14:01:34.037] DEBUG: <PixTest.cc/init:L45> setting parameter: ->noiseMargin<- to ->15<-
[14:01:34.037] DEBUG: <PixTestPretest.cc/setParameter:L60> safety margin for VthrComp below noise 15 DAC units
[14:01:34.037] DEBUG: <PixTest.cc/init:L45> setting parameter: ->setVthrCompId<- to ->button<-
[14:01:34.037] DEBUG: <PixTest.cc/init:L45> setting parameter: ->PIX1<- to ->11,20 <-
[14:01:34.037] DEBUG: <PixTest.cc/init:L45> setting parameter: ->Ntrig<- to ->10<-
[14:01:34.037] DEBUG: <PixTestPretest.cc/setParameter:L66> PixTestPretest setting fParNtrig ->10<- from sval = 10
[14:01:34.037] DEBUG: <PixTest.cc/init:L45> setting parameter: ->setCalDel<- to ->button<-
[14:01:34.037] DEBUG: <PixTest.cc/init:L45> setting parameter: ->SaveDacs<- to ->button<-
[14:01:34.037] DEBUG: <PixTestPretest.cc/PixTestPretest:L24> PixTestPretest setting fPIX0 ->11/20
[14:01:34.069] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 7
[14:01:34.069] DEBUG: <PixTestFactory.cc/instance:L32> PixTestFactory* PixTestFactory::instance()
[14:01:34.069] DEBUG: <PixTest.cc/init:L43> fParameters.size() = 5
[14:01:34.070] DEBUG: <PixTest.cc/init:L45> setting parameter: ->Ntrig<- to ->50<-
[14:01:34.070] DEBUG: <PixTestScurves.cc/setParameter:L37> setting fParNtrig ->50<- from sval = 50
[14:01:34.070] DEBUG: <PixTest.cc/init:L45> setting parameter: ->Npix<- to ->10<-
[14:01:34.070] DEBUG: <PixTestScurves.cc/setParameter:L41> setting fParNpix ->10<- from sval = 10
[14:01:34.070] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DAC<- to ->Vcal <-
[14:01:34.071] DEBUG: <PixTestScurves.cc/setParameter:L45> setting fParDac ->Vcal<- from sval = Vcal
[14:01:34.071] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DacLo<- to ->0<-
[14:01:34.071] DEBUG: <PixTestScurves.cc/setParameter:L49> setting fParDacLo ->0<- from sval = 0
[14:01:34.071] DEBUG: <PixTest.cc/init:L45> setting parameter: ->DacHi<- to ->100<-
[14:01:34.071] DEBUG: <PixTestScurves.cc/setParameter:L53> setting fParDacHi ->100<- from sval = 100
[14:01:34.095] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 8
[14:01:34.095] DEBUG: <PixTestFactory.cc/instance:L32> PixTestFactory* PixTestFactory::instance()
[14:01:34.095] DEBUG: <PixTest.cc/init:L43> fParameters.size() = 2
[14:01:34.095] DEBUG: <PixTest.cc/init:L45> setting parameter: ->Ntrig<- to ->10<-
[14:01:34.095] DEBUG: <PixTestSetup.cc/setParameter:L34> ==> parName: Ntrig
[14:01:34.095] DEBUG: <PixTestSetup.cc/setParameter:L35> ==> sval: 10
[14:01:34.095] DEBUG: <PixTestSetup.cc/setParameter:L38> ==> setting fParNtrig to 10
[14:01:34.096] DEBUG: <PixTest.cc/init:L45> setting parameter: ->Vcal<- to ->200<-
[14:01:34.096] DEBUG: <PixTestSetup.cc/setParameter:L34> ==> parName: Vcal
[14:01:34.096] DEBUG: <PixTestSetup.cc/setParameter:L35> ==> sval: 200
[14:01:34.096] DEBUG: <PixTestSetup.cc/setParameter:L43> ==> setting fParVcal to 200
[14:01:34.096] DEBUG: <PixTestSetup.cc/init:L55> PixTestSetup::init()
[14:01:34.096] DEBUG: <PixTestSetup.cc/PixTestSetup:L18> PixTestSetup ctor(PixSetup &a, string, TGTab *)
[14:01:34.122] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 9
[14:01:34.122] DEBUG: <PixTestFactory.cc/instance:L32> PixTestFactory* PixTestFactory::instance()
[14:01:34.122] DEBUG: <PixTest.cc/init:L43> fParameters.size() = 7
[14:01:34.122] DEBUG: <PixTest.cc/init:L45> setting parameter: ->TrimBits<- to ->button<-
[14:01:34.122] DEBUG: <PixTest.cc/init:L45> setting parameter: ->Ntrig<- to ->10<-
[14:01:34.122] DEBUG: <PixTestTrim.cc/setParameter:L41> setting fParNtrig ->10<- from sval = 10
[14:01:34.122] DEBUG: <PixTest.cc/init:L45> setting parameter: ->Vcal<- to ->40<-
[14:01:34.122] DEBUG: <PixTestTrim.cc/setParameter:L45> setting fParVcal ->40<- from sval = 40
[14:01:34.122] DEBUG: <PixTest.cc/init:L45> setting parameter: ->VcalLo<- to ->25 <-
[14:01:34.122] DEBUG: <PixTestTrim.cc/setParameter:L49> setting fParVcalLo ->25<- from sval = 25
[14:01:34.123] DEBUG: <PixTest.cc/init:L45> setting parameter: ->VcalHi<- to ->75 <-
[14:01:34.123] DEBUG: <PixTestTrim.cc/setParameter:L53> setting fParVcalHi ->75<- from sval = 75
[14:01:34.123] DEBUG: <PixTest.cc/init:L45> setting parameter: ->VthrCompLo<- to ->0 <-
[14:01:34.123] DEBUG: <PixTestTrim.cc/setParameter:L57> setting fParVthrCompLo ->0<- from sval = 0
[14:01:34.123] DEBUG: <PixTest.cc/init:L45> setting parameter: ->VthrCompHi<- to ->50 <-
[14:01:34.123] DEBUG: <PixTestTrim.cc/setParameter:L61> setting fParVthrCompHi ->50<- from sval = 50
[14:01:34.143] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 10
[14:01:48.253] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 0
[14:01:49.213] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 6
[14:01:50.533] INFO: PixTestAlive::doTest() ntrig = 10
[14:01:50.534] DEBUGAPI: <dut.cc/testAllPixels:L377> Set enable bit to 1 for all pixels on all ROCs
[14:01:50.534] DEBUGAPI: <api.cc/getEfficiencyMap:L1035> Efficiency flag set, flags now at 65536
[14:01:50.534] DEBUGAPI: <api.cc/MaskAndTrim:L1443> ROC 0 features 0 masked pixels.
[14:01:50.534] DEBUGAPI: <api.cc/MaskAndTrim:L1447> Unmasking and trimming ROC 0 in one go.
[14:01:50.534] DEBUGHAL: <hal.cc/RocSetMask:L512> Updating mask bits & trim values of ROC 0
[14:01:50.557] DEBUGAPI: <api.cc/expandLoop:L1249> "The Loop" contains 1 calls to 'rocfn'
[14:01:50.557] DEBUGHAL: <hal.cc/RocCalibrateMap:L587> Called RocCalibrateMap with flags 65536, running 10 triggers.
[14:01:51.009] DEBUGHAL: <hal.cc/RocCalibrateMap:L600> Function returns: 1
[14:01:51.010] DEBUGHAL: <hal.cc/RocCalibrateMap:L605> Data size: nReadouts 4160, PHsum 4160, address 4160
[14:01:51.010] DEBUGHAL: <hal.cc/RocCalibrateMap:L617> Returning nReadouts for efficiency measurement.
[14:01:51.010] DEBUGAPI: <api.cc/compactRocLoopData:L1414> Segment size: 1
[14:01:51.010] DEBUGAPI: <api.cc/compactRocLoopData:L1430> Joined data has 1 segments with each 4160 entries.
[14:01:51.010] DEBUGAPI: <api.cc/MaskAndTrim:L1443> ROC 0 features 0 masked pixels.
[14:01:51.010] DEBUGAPI: <api.cc/MaskAndTrim:L1452> Masking ROC 0 in one go.
[14:01:51.010] DEBUGHAL: <hal.cc/RocSetMask:L505> Masking ROC 0
[14:01:51.010] DEBUGAPI: <api.cc/expandLoop:L1327> Test took 476ms.
[14:01:51.010] DEBUGAPI: <api.cc/repackMapData:L1338> Simple Map Repack of 1 data blocks.
[14:01:51.010] DEBUGAPI: <api.cc/repackMapData:L1346> Correctly repacked Map data for delivery.
[14:01:51.062] INFO: PixTestAlive::doTest() done
[14:01:54.533] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 4
[14:01:55.941] INFO: PixTestDacScan::doTest() ntrig = 10
[14:01:55.941] DEBUGAPI: <dut.cc/testAllPixels:L377> Set enable bit to 0 for all pixels on all ROCs
[14:01:55.942] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "caldel" (26): 250 (max 255)
[14:01:55.942] DEBUGAPI: <api.cc/getEfficiencyVsDAC:L698> Efficiency flag set, flags now at 65536
[14:01:55.942] DEBUGAPI: <api.cc/MaskAndTrim:L1443> ROC 0 features 0 masked pixels.
[14:01:55.942] DEBUGAPI: <api.cc/MaskAndTrim:L1447> Unmasking and trimming ROC 0 in one go.
[14:01:55.943] DEBUGHAL: <hal.cc/RocSetMask:L512> Updating mask bits & trim values of ROC 0
[14:01:55.962] DEBUGAPI: <api.cc/expandLoop:L1269> "The Loop" contains 1 enabled ROCs.
[14:01:55.962] DEBUGAPI: <api.cc/expandLoop:L1276> "The Loop" for the current ROC contains 3 calls to 'pixelfn'
[14:01:55.962] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L781> Called PixelCalibrateDacScan with flags 65536, running 10 triggers.
[14:01:55.962] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L782> Scanning DAC 26 from 0 to 250
[14:01:56.017] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L795> Function returns: 1
[14:01:56.017] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L799> Data size: nReadouts 250, PHsum 250
[14:01:56.017] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L826> Result has size 250
[14:01:56.017] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L781> Called PixelCalibrateDacScan with flags 65536, running 10 triggers.
[14:01:56.017] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L782> Scanning DAC 26 from 0 to 250
[14:01:56.061] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L795> Function returns: 1
[14:01:56.061] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L799> Data size: nReadouts 250, PHsum 250
[14:01:56.061] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L826> Result has size 250
[14:01:56.061] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L781> Called PixelCalibrateDacScan with flags 65536, running 10 triggers.
[14:01:56.061] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L782> Scanning DAC 26 from 0 to 250
[14:01:56.107] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L795> Function returns: 1
[14:01:56.107] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L799> Data size: nReadouts 250, PHsum 250
[14:01:56.107] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L826> Result has size 250
[14:01:56.107] DEBUGAPI: <api.cc/compactRocLoopData:L1414> Segment size: 250
[14:01:56.107] DEBUGAPI: <api.cc/compactRocLoopData:L1430> Joined data has 250 segments with each 3 entries.
[14:01:56.107] DEBUGAPI: <api.cc/MaskAndTrim:L1443> ROC 0 features 0 masked pixels.
[14:01:56.108] DEBUGAPI: <api.cc/MaskAndTrim:L1452> Masking ROC 0 in one go.
[14:01:56.108] DEBUGHAL: <hal.cc/RocSetMask:L505> Masking ROC 0
[14:01:56.108] DEBUGAPI: <api.cc/expandLoop:L1327> Test took 166ms.
[14:01:56.108] DEBUGAPI: <api.cc/repackDacScanData:L1354> Packing range 0-250, data has 250 entries.
[14:01:56.108] DEBUGAPI: <api.cc/repackDacScanData:L1361> Repack end: current 250 (max 250)
[14:01:56.108] DEBUGAPI: <api.cc/repackDacScanData:L1369> Correctly repacked DacScan data for delivery.
[14:01:56.108] DEBUGAPI: <api.cc/getEfficiencyVsDAC:L719> Reset DAC "caldel" to original value 68
[14:01:56.108] DEBUGHAL: <hal.cc/rocSetDAC:L460> Set DAC26 to 68
[14:01:56.108] DEBUG: <PixTestDacScan.cc/doTest:L185> dacscandata.size(): 250
[14:02:00.989] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 2
[14:02:06.877] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 4
[14:02:09.013] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 0
[14:02:11.949] DEBUG: <PixParTab.cc/setRocParameter:L557> PixParTab::setRocParameter:
[14:02:11.950] DEBUG: <PixParTab.cc/setRocParameter:L575> ROC 0 is selected. id = 0
[14:02:11.950] DEBUG: <PixParTab.cc/setRocParameter:L577> xxx: ID = 0 roc = 0 -> vdd set to int(udac) = 4
[14:02:11.950] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "vdd" (1): 4 (max 15)
[14:02:11.950] DEBUGAPI: <api.cc/setDAC:L501> DAC "vdd" updated with value 4
[14:02:11.950] DEBUGHAL: <hal.cc/rocSetDAC:L460> Set DAC1 to 4
[14:02:18.093] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 6
[14:02:19.660] INFO: PixTestAlive::doTest() ntrig = 10
[14:02:19.699] DEBUGAPI: <dut.cc/testAllPixels:L377> Set enable bit to 1 for all pixels on all ROCs
[14:02:19.700] DEBUGAPI: <api.cc/getEfficiencyMap:L1035> Efficiency flag set, flags now at 65536
[14:02:19.700] DEBUGAPI: <api.cc/MaskAndTrim:L1443> ROC 0 features 0 masked pixels.
[14:02:19.701] DEBUGAPI: <api.cc/MaskAndTrim:L1447> Unmasking and trimming ROC 0 in one go.
[14:02:19.701] DEBUGHAL: <hal.cc/RocSetMask:L512> Updating mask bits & trim values of ROC 0
[14:02:19.720] DEBUGAPI: <api.cc/expandLoop:L1249> "The Loop" contains 1 calls to 'rocfn'
[14:02:19.720] DEBUGHAL: <hal.cc/RocCalibrateMap:L587> Called RocCalibrateMap with flags 65536, running 10 triggers.
[14:02:20.420] DEBUGHAL: <hal.cc/RocCalibrateMap:L600> Function returns: 1
[14:02:20.420] DEBUGHAL: <hal.cc/RocCalibrateMap:L605> Data size: nReadouts 4160, PHsum 4160, address 4160
[14:02:20.420] DEBUGHAL: <hal.cc/RocCalibrateMap:L617> Returning nReadouts for efficiency measurement.
[14:02:20.421] DEBUGAPI: <api.cc/compactRocLoopData:L1414> Segment size: 1
[14:02:20.421] DEBUGAPI: <api.cc/compactRocLoopData:L1430> Joined data has 1 segments with each 4160 entries.
[14:02:20.421] DEBUGAPI: <api.cc/MaskAndTrim:L1443> ROC 0 features 0 masked pixels.
[14:02:20.421] DEBUGAPI: <api.cc/MaskAndTrim:L1452> Masking ROC 0 in one go.
[14:02:20.421] DEBUGHAL: <hal.cc/RocSetMask:L505> Masking ROC 0
[14:02:20.421] DEBUGAPI: <api.cc/expandLoop:L1327> Test took 721ms.
[14:02:20.421] DEBUGAPI: <api.cc/repackMapData:L1338> Simple Map Repack of 1 data blocks.
[14:02:20.421] DEBUGAPI: <api.cc/repackMapData:L1346> Correctly repacked Map data for delivery.
Warning in <TDirectoryFile::Append>: Replacing existing TH1: PixelAlive_C0 (Potential memory leak).
[14:02:20.458] INFO: PixTestAlive::doTest() done
[14:02:25.574] DEBUG: <PixGui.cc/selectedTab:L392> Switched to tab 4
[14:02:27.511] INFO: PixTestDacScan::doTest() ntrig = 10
[14:02:27.513] DEBUGAPI: <dut.cc/testAllPixels:L377> Set enable bit to 0 for all pixels on all ROCs
Warning in <TDirectoryFile::Append>: Replacing existing TH1: scanRange_caldel_C0 (Potential memory leak).
Warning in <TDirectoryFile::Append>: Replacing existing TH1: NhitsVscaldel_c11_r20_C0 (Potential memory leak).
Warning in <TDirectoryFile::Append>: Replacing existing TH1: NhitsVscaldel_c20_r30_C0 (Potential memory leak).
Warning in <TDirectoryFile::Append>: Replacing existing TH1: NhitsVscaldel_c40_r50_C0 (Potential memory leak).
[14:02:27.513] DEBUGAPI: <api.cc/verifyRegister:L325> Verified register "caldel" (26): 250 (max 255)
[14:02:27.514] DEBUGAPI: <api.cc/getEfficiencyVsDAC:L698> Efficiency flag set, flags now at 65536
[14:02:27.514] DEBUGAPI: <api.cc/MaskAndTrim:L1443> ROC 0 features 0 masked pixels.
[14:02:27.514] DEBUGAPI: <api.cc/MaskAndTrim:L1447> Unmasking and trimming ROC 0 in one go.
[14:02:27.514] DEBUGHAL: <hal.cc/RocSetMask:L512> Updating mask bits & trim values of ROC 0
[14:02:27.543] DEBUGAPI: <api.cc/expandLoop:L1269> "The Loop" contains 1 enabled ROCs.
[14:02:27.543] DEBUGAPI: <api.cc/expandLoop:L1276> "The Loop" for the current ROC contains 3 calls to 'pixelfn'
[14:02:27.543] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L781> Called PixelCalibrateDacScan with flags 65536, running 10 triggers.
[14:02:27.543] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L782> Scanning DAC 26 from 0 to 250
[14:02:27.616] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L795> Function returns: 1
[14:02:27.616] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L799> Data size: nReadouts 250, PHsum 250
[14:02:27.617] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L826> Result has size 250
[14:02:27.617] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L781> Called PixelCalibrateDacScan with flags 65536, running 10 triggers.
[14:02:27.617] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L782> Scanning DAC 26 from 0 to 250
[14:02:27.686] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L795> Function returns: 1
[14:02:27.687] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L799> Data size: nReadouts 250, PHsum 250
[14:02:27.687] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L826> Result has size 250
[14:02:27.687] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L781> Called PixelCalibrateDacScan with flags 65536, running 10 triggers.
[14:02:27.687] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L782> Scanning DAC 26 from 0 to 250
[14:02:27.756] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L795> Function returns: 1
[14:02:27.757] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L799> Data size: nReadouts 250, PHsum 250
[14:02:27.757] DEBUGHAL: <hal.cc/PixelCalibrateDacScan:L826> Result has size 250
[14:02:27.757] DEBUGAPI: <api.cc/compactRocLoopData:L1414> Segment size: 250
[14:02:27.757] DEBUGAPI: <api.cc/compactRocLoopData:L1430> Joined data has 250 segments with each 3 entries.
[14:02:27.757] DEBUGAPI: <api.cc/MaskAndTrim:L1443> ROC 0 features 0 masked pixels.
[14:02:27.757] DEBUGAPI: <api.cc/MaskAndTrim:L1452> Masking ROC 0 in one go.
[14:02:27.757] DEBUGHAL: <hal.cc/RocSetMask:L505> Masking ROC 0
[14:02:27.757] DEBUGAPI: <api.cc/expandLoop:L1327> Test took 243ms.
[14:02:27.758] DEBUGAPI: <api.cc/repackDacScanData:L1354> Packing range 0-250, data has 250 entries.
[14:02:27.758] DEBUGAPI: <api.cc/repackDacScanData:L1361> Repack end: current 250 (max 250)
[14:02:27.758] DEBUGAPI: <api.cc/repackDacScanData:L1369> Correctly repacked DacScan data for delivery.
[14:02:27.758] DEBUGAPI: <api.cc/getEfficiencyVsDAC:L719> Reset DAC "caldel" to original value 68
[14:02:27.758] DEBUGHAL: <hal.cc/rocSetDAC:L460> Set DAC26 to 68
[14:02:27.758] DEBUG: <PixTestDacScan.cc/doTest:L185> dacscandata.size(): 250
[14:02:31.094] DEBUG: <PixGui.cc/handleButtons:L282> PixGui::exit called
[14:02:31.094] DEBUG: <PixTestCurrentVsDac.cc/~PixTestCurrentVsDac:L92> PixTestCurrentVsDac dtor
[14:02:31.094] DEBUG: <PixTest.cc/~PixTest:L350> PixTestBase dtor(), writing out histograms
[14:02:31.094] DEBUG: <PixTestDaq.cc/~PixTestDaq:L79> PixTestDaq dtor
[14:02:31.094] DEBUG: <PixTest.cc/~PixTest:L350> PixTestBase dtor(), writing out histograms
[14:02:31.094] DEBUG: <PixTestDacDacScan.cc/~PixTestDacDacScan:L186> PixTestDacDacScan dtor
[14:02:31.094] DEBUG: <PixTest.cc/~PixTest:L350> PixTestBase dtor(), writing out histograms
[14:02:31.094] DEBUG: <PixTestDacScan.cc/~PixTestDacScan:L165> PixTestDacScan dtor
[14:02:31.094] DEBUG: <PixTest.cc/~PixTest:L350> PixTestBase dtor(), writing out histograms
[14:02:31.191] DEBUG: <PixTest.cc/~PixTest:L350> PixTestBase dtor(), writing out histograms
[14:02:31.192] DEBUG: <PixTestAlive.cc/~PixTestAlive:L85> PixTestAlive dtor
[14:02:31.192] DEBUG: <PixTest.cc/~PixTest:L350> PixTestBase dtor(), writing out histograms
[14:02:31.211] DEBUG: <PixTestPretest.cc/~PixTestPretest:L113> PixTestPretest dtor
[14:02:31.211] DEBUG: <PixTest.cc/~PixTest:L350> PixTestBase dtor(), writing out histograms
[14:02:31.212] DEBUG: <PixTestScurves.cc/~PixTestScurves:L102> PixTestScurves dtor
[14:02:31.212] DEBUG: <PixTest.cc/~PixTest:L350> PixTestBase dtor(), writing out histograms
[14:02:31.212] DEBUG: <PixTestSetup.cc/~PixTestSetup:L96> PixTestSetup dtor
[14:02:31.212] DEBUG: <PixTest.cc/~PixTest:L350> PixTestBase dtor(), writing out histograms
[14:02:31.212] DEBUG: <PixTestTrim.cc/~PixTestTrim:L115> PixTestTrim dtor
[14:02:31.212] DEBUG: <PixTest.cc/~PixTest:L350> PixTestBase dtor(), writing out histograms
[14:02:31.232] QUIET: Connection to board 131 closed.
Just as further information, I see the same behavior also with the Ubuntu configuration described in #60. Martino
Okay, I'm really lost here. The interesting lines
[14:02:20.420] DEBUGHAL: <hal.cc/RocCalibrateMap:L605> Data size: nReadouts 4160, PHsum 4160, address 4160
[14:02:20.420] DEBUGHAL: <hal.cc/RocCalibrateMap:L617> Returning nReadouts for efficiency measurement.
do not reveal any serious problems with the readout itself. I would suggest the following things to test:
startroc
followed by deser160
and check for the correct delay
and clk
settings.Cheers, Simon
Hi Simon, I understood the origin of my issue. It is (luckily) related to the delay settings. With the default tbParameters (clk=2, dedelayAdjust=4) I can set the DACs and see pulse height and pixelmap but I have that issue with Vdig: everything works 'fine' only with Vdig<6. With my psi46test tbParameters (clk=4, delayAdjust=4) I solved this strange issue. The PH and pixelmap are good and the Vdig increase well up to 15.
I am sorry for the trouble but I thought I had the right delay setting also because I could see good PH and pixelmap. Maybe it is worth to implement a clk-delayAdj scan also for pXar.
Cheers, Martino
Hi Martino,
I'm glad we found the issue! Implementing a delay scan is definitely on our task list!
Cheers, Simon
Hi Martino,
the skeleton is in PixTestSetup, cf https://twiki.cern.ch/twiki/bin/viewauth/CMS/Pxar#Tests_implemented_in_pXar. IF you are interested, please do it (and send an email to me).
Cheers, --U.
On Thu, Feb 13, 2014 at 11:16 AM, simonspa notifications@github.com wrote:
Hi Martino,
I'm glad we found the issue! Implementing a delay scan is definitely on our task list!
Cheers, Simon
Reply to this email directly or view it on GitHubhttps://github.com/psi46/pxar/issues/58#issuecomment-34964835 .
I've seen this strange behavior,
I tested a single ROC with the 'defaultParametersRocPSI46digV2' (Vdig=8). The Pretest was ok but when I tried PixelAlive I had no pulse from any pixel. I changed Vdig=4 and everything works fine. So I did a dacscan with Vdig and I saw that for Vdig>6 there is no pulse from the pixel! My configuration is the one described in #54 Do you have any suggestion for this?
This is not a problem of this specific ROC because if I do PH scan vs Vdig with psi46test I can see the right pulse trend. For the scan with psi46test I use windows7 on 64bit machine.
Cheers Martino Martino