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 2021 2022 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 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Wait for pv to connect sscan |
From: | "Mooney, Tim M." <[email protected]> |
To: | l123173 <[email protected]>, tech-talk <[email protected]> |
Date: | Tue, 1 May 2018 15:52:05 +0000 |
Hi Li,
I don't see where you're telling saveData where to write the data files. It should tell you (xxx:saveData_message) if it thinks it has a good path name.
"Waiting for pv's to connect" is not a saveData problem. It's the sscan record failing to connect to one or more PVs. Every single PV (positioner, trigger, and detector) must connect before a scan can start.
Tim Mooney ([email protected]) (630)252-5417
Beamline Controls Group (www.aps.anl.gov) Advanced Photon Source, Argonne National Lab From: [email protected] <[email protected]> on behalf of l123173 <[email protected]>
Sent: Tuesday, May 1, 2018 10:35:11 AM To: tech-talk Subject: Wait for pv to connect sscan Hi Mark and all,
I used sscan-2-10-1( 2D scan ), base 3.15.
I always got "Waiting for pv's to connect" after I clicked the "scan" in scan1.
But it work fine when I disable the saveData in st.cmd with the same setting. It could do the scan 1 and scan 2.
So I think the error was saveData. But saveData should be easy. The error was "I/O error, can't open file" though I am root.
The following was some strange message I got.
When I set the parameters, I got these message in st.cmd.
*******************************
dbpf("xxx:scan1.R1PV", "xxx:m1.RBV")
DBR_STRING: "xxx:m1.RBV"
dbpf("xxx:scan1.P1PV", "xxx:m1.VAL")
DBR_STRING: "xxx:m1.VAL"
dbpf("xxx:scan1.T1PV", "xxx:m2.EXSC")
DBR_STRING: "xxx:m2.EXSC"
dbpf("xxx:scan2.R1PV", "xxx:m2.RBV")
DBR_STRING: "xxx:m2.RBV"
dbpf("xxx:scan2.P1PV", "xxx:m2.VAL")
DBR_STRING: "xxx:m2.VAL"
dbpf("xxx:scan2.T1PV", "XSPRESS3-EXAMPLE:HDF5:Capture")
xxx:scan2:special:connect already in progress for link T1. Waiting... (The sentence came out sometime, 50%)
DBR_STRING: "XSPRESS3-EXAMPLE:HDF5:Capture"
dbpf("xxx:scan2.T2PV", "XSPRESS3-EXAMPLE:Acquire")
DBR_STRING: "XSPRESS3-EXAMPLE:Acquire"
motorUtilInit('xxx:')
saveData_Init(saveData.req, 'P=xxx:')
saveData: message queue created
saveData:maxAllowedRetries = 10
saveData:retryWaitInSecs = 15
seq &scanProgress, 'S=xxx:, P=xxx:scanProgress:'
sevr=info Sequencer release 2.2.4, compiled Sun Apr 15 20:26:45 2018
sevr=info Spawning sequencer program "scanProgress", thread 0x26a0de0: "scanProgress"
# write all the PV names to a local file
dbl > dbl-all.txt
# Report states of database CA links
#dbcar(*,1)
# print the time our boot was finished
date
2018/05/01 23:01:14.875178
asynSetTraceIOMask("L0",0,2)
asynSetTraceMask("L0",0,9)
sevr=info scanProgress[0]: all channels connected & received 1st monitor
"
Source File: ../cac.cpp line 1298
Current Time: Tue May 01 2018 23:01:14.903656005
..................................................................
CA.Client.Exception...............................................
Warning: "Identical process variable names on multiple servers"
Context: "Channel: "XSPRESS3-EXAMPLE:HDF5:Capture", Connecting to: 192.168.0.1:5064, Ignored: 192.168.1.106:5064"
Source File: ../cac.cpp line 1298
Current Time: Tue May 01 2018 23:01:14.902491275
..................................................................
CA.Client.Exception...............................................
Warning: "Identical process variable names on multiple servers"
Context: "Channel: "XSPRESS3-EXAMPLE:Acquire", Connecting to:
Then I click the stop button to stop. I saw these.
It should not be like these. I do have the permission since I am always root.
**************************************
saveData: ...will retry in 15 seconds
saveData:writeScanRecCompleted(xxx:scan1): can't open data file!!
saveData: ...will retry in 15 seconds
saveData:writeScanRecCompleted(xxx:scan1): can't open data file!!
saveData: ...will retry in 15 seconds
saveData: too many retries; abandoning data from scan 'xxx:scan1'
saveData: *******************************************
Regards,
Li xing
|