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  <20092010  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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to get array and float at the same time by sscan
From: 闫芬 <[email protected]>
To: "Mark Rivers" <[email protected]>, <[email protected]>
Date: Fri, 17 Apr 2009 10:51:59 +0800
Hi Mark,
 
In order to confirm whether scan1.DnnPV later than scanH.DnnPV, I set scan1.DDLY as 0 and scanH.DDLY as 5. 
 
The order of operations: (I just watch the interface)
move motor
mda.VAL turn to 0 and mda.ERTM turn to 0
after about 5 seconds, scanH.CPT turn to 2048
after about 1 second, all the scan1.DnnCV, scan1.P1DV and scan1.R1CV change values
then mda.VAL turn to 0 and mda.ERTM from about 6 to 0
 
The process above mentioned just by watching. May be the truth is others. Would you mind give me some suggestions?
 
Thank you!
 
Best wishes,
 
Yan Fen
 
----- Original Message -----
Sent: Thursday, April 16, 2009 9:34 PM
Subject: RE: How to get array and float at the same time by sscan

> Now, I want to save the ADC.VAL, DAC.VAL and mca.VAL at the same time. But I can't get it.

> I find the data of ADC is later than the data of mca evenif  I set scan1.DDLY as 0. So please tell me how to gain the float data and the array data at the same time.

 

How much later is the ADC than the MCA?  What times are you looking at to determine this?

 

> I find the value of RnROI field are different from the value of specture in the saved file.

> That means scan1.DnnPV and scanH.DnnPV be saved in the different time even if I set scan1.DDLY as 0 second. 

> So would you mind tell me how to set the value of scanH.DDLY, scan1.PDLY,  scan1.DDLY and scan2.PDLY?

>  I don't know wheater they should gain in the same time or not.

 

I don’t understand how the RnROI field could be different from that of the spectra.  The RnROI field is computed when the MCA stops acquiring, which is also when the sscan record reads both the spectra and the ROIs.

 

What is the evidence that the ROIs are incorrect?

 

Mark

 


From: [email protected] [mailto:[email protected]] On Behalf Of ??
Sent: Wednesday, April 15, 2009 9:12 PM
To: [email protected]
Subject: How to get array and float at the same time by sscan

 

Hi everyone,

 

I set up a 2-D scan as follows:

 

scan1 record: Drive is X motor VAL field, trigger is scanH.EXSC field. I set its detectors to be ADC.VAL, DAC.VAL and so on.

 

scanH record: No positions. Detector trigger is the field for starting  MCA. The detector is mca.VAL which is the array .

 

Now, I want to save the ADC.VAL, DAC.VAL and mca.VAL at the same time. But I can't get it. I find the data of ADC is later than the data of mca evenif  I set scan1.DDLY as 0. So please tell me how to gain the float data and the array data at the same time.

 

Thank you!

 

Best wishes.

 

Yan Fen

 

===================================
Yan Fen
Shanghai Synchrotron Radiation Facility
Shanghai Institute of Applied Physics
Chinese Academy of Sciences
Zhangheng Rd 239,Pudong Dist.,
Shanghai 201204
China
Tel:+86-21-33933191
===================================


Replies:
RE: How to get array and float at the same time by sscan Mark Rivers
References:
How to get array and float at the same time by sscan 闫芬
RE: How to get array and float at the same time by sscan Mark Rivers

Navigate by Date:
Prev: RE: where to download elog? Hall, Robert D.
Next: RE: How to get array and float at the same time by sscan Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: How to get array and float at the same time by sscan Mark Rivers
Next: RE: How to get array and float at the same time by sscan Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·