8-ID
  8-ID Beamline logbook mirror, Page 2 of 44  Not logged in ELOG logo
ID Date Author Type Category Subject
  854   Wed Jul 27 12:43:16 2022 Eric Dufresne8-ID GeneralControlslimit of PV length in UserCalc record is 40 character for a PV


This is a follow up from this elog: https://logbook.xray.aps.anl.gov/8id/8-ID/806.
Hao Zheng had a great suggestion today. The elog below
explained that we could not use this PV in a UserCalc
DP_LAMBDA250K_1:cam1:NumImagesCounter_RBV
because it has 42 characters. This PV is a current count of images acquired,
and my users have used it to trigger a slow voltgae change using a userCalc record.

Hao found a PV which is 38 characters long for the total number of images acquired by the
Area Detector IOC. DP_LAMBDA250K_1:cam1:ArrayCounter_RBV The limit is 40 characters!
It is shown in att. 1.

ED





Quote:
[6:38 PM] Dufresne, Eric
Hi Joe, I need help with a userCalc record. I had a userCalc in the past which worked. Recently the PV changed name, it is longer,
and I cannot get userCalc to add it. Is there a maximum length for a PV in the userCalc calculation? Will show what I mean in a picture.

​[6:40 PM] Dufresne, Eric
The prefix has just changed (from 8LAMBDA2) to DP_LAMBDA250K_1 and I want to write in the B field
userCalc6.png

[6:46 PM] Dufresne, Eric
In the above image with the new prefix, I cannot enter the full PV name on the B parameter, it clips to _R instead of _RBV. It is as if
someone put a maximum record length for the string at 39 characters.

[6:55 PM] Sullivan, Joseph
I'm afraid there is a maximum string length of 40 characters in that epics version.

The PV is 41 character long: DP_LAMBDA250K_1:cam1:NumImagesCounter_RBV Smile
It is the number of images taken by Area Detector.

We wanted to use this field to control some sample conditions.
We're using python instead of a userCalc as a result of this limitation.

ED

P.S. The MSD user created a python script to run this instead.
See Sep 2021 in spec_data.

Re: Sample stage


Hi all,

unfortunately, the way I have programmed this no longer works.
It is caused by a limit of the string length provided to a userCalc record.
This length is limited to 40 characters and my PV is 41 characters!
DP_LAMBDA250K_1:cam1:NumImagesCounter_RBV
It use to work because it started with 8LLAMBDA2.
The above PV is too long, but tells you the number of image collected by AD.
I am not reprogramming the detector and beamline at this time by changing the name of the detector.

What I am proposing instead would be to ignore this altogether and write
a simple python script that detects the time elapsed since it started, and from the time,
you can program a periodic function to drive the amplitude of the Keithley.

The voltage to apply is this PV: epics_put('8ide:2400:setVoltAO',30) (epics_put is a spec command).
An idea is to get the time of day from the IOC, a useful PV would be: 8idd:HEARTBEAT (time in seconds since start up)
8idd:TOD is a string with the calendar time of day called Current Time in the IOC status screen attached.
This can be grabbed for documentation. The heartbeat is the useful data to make an arbitrary
function generator.

You can make a python script with the frequency and amplitude and call it in spec
before the padtimescan call, making sure it is put in the background and stops
after Nseconds as programmed in the padtimescan call.

Hope this helps,
Eric
Attachment 1: ADcam1-ImageCounter-Edited.png
ADcam1-ImageCounter-Edited.png
  853   Tue Jul 26 20:59:23 2022 Eric Dufresne8-ID-EManualsSome information on key 8ID-E WAXPCS controls

PG2 color camera for diffractometer
https://logbook.xray.aps.anl.gov/8id/8-ID/743
  852   Tue Jul 12 15:24:32 2022 Eric Dufresne8-ID-EOpticstested X2 magnification tube from Infini
This is a follow up from Alec's 2017 optics order: https://logbook.xray.aps.anl.gov/8id/8-ID/719

During the week of July 5, 2022 we tested the X2 adapter 690568 DL Tube (2x factor amplifier),
find a picture below:
https://anl.box.com/s/98o0o78ffusavtyssnvlcrgeyq1c0l7i
  851   Thu Jul 7 22:16:42 2022 Eric Dufresne8-ID-EProblemmissing steps on samx.

Vladimir reports of missing steps on samx.
It is quite noticeable because we have a high resolution camera looking
at his sample.

He mentions 1.5 um lost after a scan.

It is currently driven by a SPD32M running in X8 ministepping mode with 1 A.

The stage is a Huber 5102.1
https://7id.xray.aps.anl.gov/~dufresne/8ID/8ID-E/8ID-E-pictures/8-ID-E-4circle-040315/20150403_130057.jpg
https://7id.xray.aps.anl.gov/~dufresne/8ID/8ID-E/8ID-E-pictures/8-ID-E-4circle-040315/20150403_125938.jpg
https://www.xhuber.com/fileadmin/user_upload/downloads/usermanuals/series_5102_en.pdf
It quotes a Reversal error of 5 µm


7/11/2022
It lost 60 um in the past week.
Stepping motor is in this picture https://anl.box.com/s/4iv2aw7vggx12s98f74rqgq5h2coqa7e
https://www.orientalmotor.com.sg/products/st/list/detail/?product_name=PK244-01B&brand_tbl_code=ST&series_code=G000&type_code=Unipolar+6+lead+wires&type=Standard+Type

Vexta PK244-01B
1.2A, 3.3 Ohm

question about drivers setting for Vexta PK244-01B
Dufresne, Eric <[email protected]>
Mon 7/11/2022 5:39 PM
To: [email protected] <[email protected]>

Hello,

I using one of your SPD32M to drive a Vexta PK244-01B in X8 ministepping. I am loosing steps when running in 1A mode.
I am wondering whether I should push the current to 1.5A.
https://www.orientalmotor.com.sg/products/st/list/detail/?product_name=PK244-01B&brand_tbl_code=ST&series_code=G000&type_code=Unipolar+6+lead+wires&type=Standard+Type#download

I am hoping you can provide advice here.

Regards,

Eric Dufresne


PK244-01B inquiry
Augusto Burgos <[email protected]>
Tue 7/12/2022 10:15 AM
To: Dufresne, Eric <[email protected]>

Hi Eric,

Morning. Thank you for contacting Oriental motor tech support. Regarding your inquiry,
the maximum current for the motor PK244-01B is 0.85A/phase [Bipolar series]

Let me know if you have any questions.

Augusto Burgos
Technical Support Engineering Supervisor
TSE | Oriental Motor USA Corp

Re: question about drivers setting for Vexta PK244-01B
Dufresne, Eric <[email protected]>
Tue 7/12/2022 12:11 PM
To: C Marshall

Mr Marshall,

thank you for your response. In light of the message below from Oriental motor, I think I'll reduce the ministepping to
increase the torque and see if this improves.

Cheers,

Eric

July 12, 2022




Changed settings of samx to 1000 steps/revolution and on SPD32M to 5 mini steps per step.
It thus means 1000 steps/revolution for this 200 step/rev motor.

Attachment 2 shows the new set up screen. Could not increase motor current so hopefully,
this will work to increase the torque.
Attachment 1: Screenshot_from_2022-07-07_22-25-26.png
Screenshot_from_2022-07-07_22-25-26.png
Attachment 2: samx-Changed-071222.png
samx-Changed-071222.png
  850   Mon Jul 4 14:53:34 2022 Eric Dufresne8-ID-IBeamline Hardware8ID-I/E shutter problem linked to digital IO
See problem report: https://logbook.xray.aps.anl.gov/8id/controls/138

Suresh wrote me this on 7/4/2022:
"Found shutter problem with digital IO as well in 8idi fixed using softglue instead
Will do the same for you tomorrow as well
That digital io closes after opening momentarily and that is why macro wasn't working
Use showbeam and block beam or sb and bb in spec, fast shutter open/close buttons won't
work but the status is still valid"

On 7/5/2022 Suresh implemented this softglue turn around (see att 1.).
Attachment 1: 4521_001.pdf
  849   Tue Jun 28 18:53:35 2022 Eric Dufresne8-ID-EControlsReplaced BPM controller from Newport with 2 SMC100PP controller

Controls work: https://logbook.xray.aps.anl.gov/8id/controls/135

Current screen are shown in att 1 and 2.

They need to be homed to work.
HomeR (Reverse home) will bring the stage closest to the side of the cable.
I changed the direction for ebpmz
Attachment 1: ebpmx.png
ebpmx.png
Attachment 2: ebpmz.png
ebpmz.png
  848   Mon Jun 20 15:37:56 2022 Joseph Strzalka8-ID-E&IBeamline HardwareCedrat Fast Shutter Controllers Serial Numbers
Cedrat Fast Shutters:

Shutter
1. 8-ID-E WA-XPCS

2. 8-ID-E GIXS

3. 8-ID spare

Controller S/N Status
LA75-12-043 Drives WA-XPCS
LA75-12-044 Was driving GIXS, failed ~6/10/2022
LA75-20-059 Spare, now testing with the GIXS shutter 6/20/2022
  847   Wed Jun 15 10:54:14 2022 Eric Dufresne8-ID-EComputers and NetworkSuresh had to restart globus on the lambda250K

follow up from https://logbook.xray.aps.anl.gov/8id/8-ID/652

See above, his notes from Teams on 6/14/22

From Suresh:
Grid FTP Seems like it was wiped out when the machine was rebuilt but I don't
think we updated the machine after the last run

[Yesterday 4:12 PM] Dufresne, Eric
Narayanan, Suresh  Few things to fix on WA-XPCS. Running lambda-fong.do, I noted that the file transfer
wasn't happening from the DP PC. The data is collected though on the detector PC, and the metadata
is on /home/8-id-e

[Yesterday 9:25 PM] Narayanan, Suresh
took me a while to recall what to do: login as root, type:
systemctl start globus-gridftp-server

then if you did telnet lambda1dp-8id 2811 from any machineyou would get a response

[Yesterday 9:34 PM] Narayanan, Suresh
all the data from lambda server are copied over using scp to 8-id-e
tested new data transfer and DM works
Any new ccdscan or timescan should copy the data
  846   Fri Jun 10 16:43:43 2022 Eric Dufresne8-ID GeneralUser ManualVirtual Tour Eric and Qingteng recorded of 8-ID-A, D, E and I, plus a short tour of the chem lab
This is how the beamline looked before we rebuild everything.

[4/29/2021 10:44 PM] Zhang, Qingteng
Dear All, here's the Box link to the Virtual Tour Eric gave to 8-ID-A, D, E and I, plus my
short tour of the chem lab featuring the use of QNW and the loading of the cell, totaling ~43 min.
https://anl.box.com/s/sp99nqvc72wyi6b7kan8h7rlvm444wcn

[4/29/2021 10:46 PM] Zhang, Qingteng
We had to shoot it twice because of my technical mistake the first time (Never rotate camera in the middle
of the recording if you want to view it on computers later). I am very grateful for Dufresne, Eric's
understanding and his knowledge and expertise throughout the entire process. It was a great learning experience for me

[4/29/2021 10:48 PM] Zhang, Qingteng
There's an extra ~ 13 min video Eric recorded in which he went through a bit more details on the alignment
at the A hutch. It was very informative for me and may be of help to Peco, Ash and Miaoqi as well. I highly
recommend this series.
  845   Fri Jun 10 11:06:58 2022 Eric Dufresne8-ID-IDetectorsNew camera purchased by Qingteng in May for his microscope--GigE version

https://www.edmundoptics.com/p/bfs-pge-120s4c-cs-poe-gige-blackflyr-s-color-camera/41903/
https://www.flir.com/support-center/iis/machine-vision/knowledge-base/technical-documentation-bfs-gige/

See AMOS order attached in att. 1. 5/9/22
Attachment 1: viewrpt.pdf
  844   Thu Jun 9 15:34:05 2022 Eric Dufresne8-ID-EXPCS-APS-URecalibration of 8ID-E Laser tracker
https://logbook.xray.aps.anl.gov/8id/8-ID/801 Original Laser tracker set up

Last month, I sent back the laser tracker to Hexagon so that they recalibrate
the tracker, so that they can honor the 2nd year warranty.

Paper work for laser tracker shipment required a Zero $$ PO.
https://apps.inside.anl.gov/paris/req.jsp?reqNbr=G2-131056

Subject: laser tracker
Jansma, William G. <[email protected]>
Wed 4/27/2022 3:13 PM
To: Dufresne, Eric <[email protected]>

Hi Eric,

Our tracker finally arrived back on site today. We can return yours tomorrow or Friday. Let me know when you will be here.

Also, I think you received your tracker about a year ago. It was likely purchased with a 2-year warranty. The warranty
requires that the instrument be sent in for recertification after the first year in order for the second year to be
validated.
The service is free, but you have to ship it to them.

The email for the service is: [email protected]

If you send them a request for recertification with the instrument serial number they will provide am RMA number and
a schedule date. You then need to have an Argonne purchase order for $0.00 prepared in order to get a shipping order.
You will also need an ANL407 form. Once you get the shipping order the instrument can be brought to shipping/receiving
in building 46. They must strap the case to a pallet so it does not get tossed around during transport.

You may be slightly past-due, but they should honor it.

Kind regards,

Bill


RE: Hexagon - Leica tracker
Lopez, Alex <[email protected]>
Wed 6/8/2022 10:03 AM
To: Dufresne, Eric <[email protected]>
Cc: Trento, Gian <[email protected]>

Hello Eric,

It looks like the Laser tracker came back from re-certification, it is in building 401,
3rd floor across from C3261. Please let me know if you would like me to deliver
it anywhere.

https://apps.inside.anl.gov/paris/req.jsp?reqNbr=G2-131056

Thanks,

Alex

Quality Assurance Upgrade project


Re: Hexagon - Leica tracker
Jansma, William G. <[email protected]>
Wed 6/8/2022 5:35 PM
To: Dufresne, Eric <[email protected]>;Lopez, Alex <[email protected]>
Cc: Trento, Gian <[email protected]>;Ziegler, Raymond <[email protected]>

Hi Alex,

We will pick up the instrument tomorrow morning - need to borrow it for beamline survey work.

Thanks,

Bill

William G. Jansma
Survey & Alignment Engineer
Advanced Photon Source Upgrade Project
Survey & Alignment Technical Lead
Photon Sciences
Argonne National Laboratory
9700 S. Cass Avenue #401
Argonne, Illinois 60439
[email protected]
(630) 252-9353 Office
(708) 218-2264 Mobile

Re: Hexagon - Leica tracker
Jansma, William G. <[email protected]>
Thu 6/9/2022 2:40 PM
To: Dufresne, Eric <[email protected]>
1 attachments (980 KB)
Argonne National Laboratory_394712-AT403_060322BJ01.pdf;

Hi Eric,

We picked up the instrument...
The certification document is attached. There is also a printed copy I will get to you.
The certification and other pertinent information is on a USB drive that
will be kept in the case with the instrument.

Have a great day,

Bill


William G. Jansma
Survey & Alignment Engineer
Advanced Photon Source Upgrade Project
Attachment 1: Argonne_National_Laboratory_394712-AT403_060322BJ01.pdf
  843   Tue Jun 7 20:23:56 2022 Eric Dufresne8-ID-"G"Beamline HardwareIssue with 8ID-G Cedrat piezo shutter controller
Installation notes are in: https://logbook.xray.aps.anl.gov/8id/8-ID/756

RE: rebootin ioc8idg
Strzalka, Joe <[email protected]>
Tue 6/7/2022 6:30 PM
To: Walsh, Thomas R. <[email protected]>;Sullivan, Joseph <[email protected]>;
Narayanan, Suresh <[email protected]>;Dufresne, Eric <[email protected]>

Hi Tom and Eric,

Seems like swapping the VME crate went well, but I think I might not have connected the SoftGlue board well enough.
It seemed to be working as judging from the UI, but it was not working right – as judged by the input signal on
the fast shutter. I swapped things over to the SoftGlueB board and that worked.

However, I think I had a double fault, and besides the one SoftGlue board, I also had to swap the controller
for the fast shutter with the 8-ID-E (WA-XPCS) fast shutter controller.

To summarize, I was not getting the correct signal on the coax cable for the input to the fast shutter until I
swapped the soft glue board. Then with the s input to the fast shutter toggling correctly, the fast shutter was
still stuck in the open position until I swapped the fast shutter controller. I think I see on the 8-ID-G
controller that when the signal goes low to close the shutter, the LEDs on the module that accepts the
input signal go red, but the shutter does not close. With the 8-ID-E controller, toggling the input
signal makes the shutter open and close and no LEDs light on the module that accepts the input.

I hope everything else keeps working through the end of July!

Joe

From: Dufresne, Eric
Sent: Monday, June 13, 2022 9:47 AM
To: [email protected] <[email protected]>
Cc: [email protected] <[email protected]>;
Strzalka, Joe <[email protected]>; Narayanan, Suresh <[email protected]>
Subject: Problem with controller serial number: LA75-12-044

Hello,

my colleague Joe Strzalka has a problem a few weeks ago with your controller
serial number LA75-12-044. Here is what he explained to me:

"The LEDs light is red when you try to close the shutter, indicating failure. I think that it
does not occur with our other controller (SN 43). Odd, but I think it is stuck in the open position. "

As stated above, Joe borrowed my shutter controller LA75-12-043 and the piezo shutter opens and closes
fully. We currently have three controllers so we can send Joe's controller back for diagnostics and repair.

Please let us know what is our next move.

Regards,

Eric

RE: Problem with controller serial number: LA75-12-044
Boris LALUC <[email protected]>
Tue 6/14/2022 3:27 AM
To: Dufresne, Eric <[email protected]>
Cc: Strzalka, Joe <[email protected]>;Narayanan, Suresh <[email protected]>;
Alain PEDECHES <[email protected]>;Products <[email protected]>

Dear Eric,

I have forwarded your email to the electronics team.

In the meantime, please find below the link for the User Manual:
SP75A-2 Driver: https://www.cedrat-technologies.com/fileadmin/user_upload/CTEC/Mechatronic_products/User_s_manual/Inst_Man_SP75_v3.2.1_01.pdf

Best Regards,

Boris
  842   Wed May 18 12:58:47 2022 Eric Dufresne8-ID GeneralEPSPower shutdown early May 2022
W: Power Shutdown Equipment Failures
Ziegler, Raymond <[email protected]>
Wed 5/18/2022 9:44 AM
To:DYS_General <[email protected]>;[email protected] <[email protected]>
Cc:Southworth, Stephen H. <[email protected]>;Doumy, Gilles <[email protected]>;Otolski, Christopher J. <[email protected]>
1 attachments (487 bytes)
ATT00001.txt;
Hi all,

Our vacuum controllers survived the power shutdown because we handled them manually, and the few other items
we had on e-power seem ok... I’m not sure if everything else has been powered back up but might be a good
time to do so and let Clay know if you see any issues…

Thanks,

Ray
  841   Fri May 6 14:31:40 2022 Eric Dufresne8-ID-IDetectorsQingteng tested the second Flir camera from 2017 for his microscope
Follow up from previous elog:
https://logbook.xray.aps.anl.gov/8id/8-ID/743

5/9/2022



As shown below, it works but he wanted to use a beamline Linux station
to run the camera and this would require a USB3 extender.
In the end, he bought a new GigE color camera.


2) https://www.flir.com/products/chameleon3-usb3/?model=CM3-U3-28S4C-CS Also color USB3.
Chameleon3 USB3
Model: CM3-U3-28S4C-CS: 2.8 MP, 13 FPS, Sony ICX818, Color
Pixel Size: 3.69
Resolution: 1928 × 1448
Sensor Type: CCD
Sensor Format: 1/1.8"


Re: BCDA confirmed software support of CCD camera
Zhang, Qingteng <[email protected]>
Fri 5/6/2022 12:17 PM
To: Dufresne, Eric <[email protected]>
Cc: Jensen, Don P., Jr. <[email protected]>;Ziegler, Raymond <[email protected]>;
Narayanan, Suresh <[email protected]>

2 attachments (8 MB)
MicrosoftTeams-image.png; PXL_20220506_170135572.jpg;
Eric:

Mark (Engbretson) got the camera working in the BCDA lab. It came in full color mode!
I'll work with Mark to see if it's possible to run a USB extension cable
from the camera to any of the Linux workstations outside the hutch.
Thanks again for the gift,

QZ
Attachment 1: PXL_20220506_170135572.jpg
PXL_20220506_170135572.jpg
Attachment 2: MicroscopeColorImage.png
MicroscopeColorImage.png
  840   Thu Apr 21 14:11:23 2022 Eric Dufresne8-ID-EControlsrepair of MFA-PPD stage S/N B21 0044

One of the three MFA motors purchased below
https://logbook.xray.aps.anl.gov/8id/8-ID/766
will not home.

Tom Walsh is inquiring with Newport for repairs.

RE: Regarding your inquiry - MFA-PPD
Walsh, Thomas R. <[email protected]>
Thu 4/21/2022 2:06 PM
To: Sun, Albert <[email protected]>
Cc: Dufresne, Eric <[email protected]>

Albert,

We will need an RMA for the MFA-PPD stage. B21 0044. It will not home or move just buzzes. It still communicates with
controller so I think it is mechanical failure. It fails on three different SMC100-PP controllers. I

What is the warranty on these stages? It failed the second time we tried to use it and it has never
had a load on the stage. The other two MFA-PPD stages order at the same time work well.

Regards

Tom

RE: Regarding your inquiry - MFA-PPD- PO info needed.
Sun, Albert <[email protected]>
Thu 4/21/2022 2:45 PM
To: Dufresne, Eric <[email protected]>
Cc: Walsh, Thomas R. <[email protected]>

Hi Eric and Thomas,

Our RMA specalist will reachout to you shorty. Your RMA case number is 00600087.
The stage is under warranty if it is less than 1 year

Best,

Albert Sun
Senior Inside Sales Engineer
Newport® Products
MKS Instruments, Inc.

RE: Newport RMA # 7280196
Rik, Frank <[email protected]>
Fri 4/22/2022 12:21 PM
To: Dufresne, Eric <[email protected]>

Eric

This is a warranty repair.

Frank Rik





Get Outlook for iOS
From: Dufresne, Eric <[email protected]>
Sent: Thursday, May 26, 2022 1:00:55 PM
To: Walsh, Thomas R. <[email protected]>
Subject: Fw: Attached Image


This is the repaired unit, was a broken motor.

Eric


Re: Attached Image
Walsh, Thomas R. <[email protected]>
Thu 5/26/2022 5:41 PM
To: Dufresne, Eric <[email protected]>

Thanks. It worked for a few tries then went dead. Newport were very quick
to address this and get it back to you. Kudos to Newport!
Attachment 1: 4440_001.pdf
  839   Wed Apr 20 09:09:44 2022 Eric Dufresne8-ID-IComputers and Networktcsh will read .tcsh instead of .csh if the former file exists
From: Lutes, Troy E. <[email protected]>
Date: Wednesday, April 20, 2022 at 8:11 AM
To: Narayanan, Suresh <[email protected]>, Dufresne, Eric <[email protected]>, Zhang, Qingteng <[email protected]>, Robinson, Brian D. <[email protected]>, Wallis, David <[email protected]>, Strzalka, Joe <[email protected]>, Walsh, Thomas R. <[email protected]>
Subject: Re: 8id linux machines

tcsh reads startup files a little differently than csh. If you have a file named .tcshrc in your home directory,
tcsh reads that instead of .cshrc. This is what is happening probably for 8idiuser:

[root@snow ~]# su - 8idiuser

Last login: Mon Apr 18 19:55:53 CDT 2022 from 164.54.60.45 on pts/5

/usr/local/oag/apps/src/appconfig/adt

[8idiuser@snow ~]$ ll .tcshrc

-rw-rw-r-- 1 8idiuser s8staff 314 Apr 12 15:38 .tcshrc

[8idiuser@snow ~]$

Re: 8id linux machines
Narayanan, Suresh <[email protected]>
Wed 4/20/2022 9:05 AM
To:Lutes, Troy E. <[email protected]>;Dufresne, Eric <[email protected]>;Zhang, Qingteng <[email protected]>;
Robinson, Brian D. <[email protected]>;Wallis, David <[email protected]>;Strzalka, Joe <[email protected]>;
Walsh, Thomas R. <[email protected]>

Troy,

Thank you, that worked, moved .tcshrc.

Suresh
  838   Tue Apr 19 23:06:36 2022 Eric Dufresne8-ID-AOpticsMoved down 8ID-A mirror 0.5 mm today

I struggled today with flux in 8ID-I. We had about 40% of the flux
during the week of 4/5/2022 after closing the WB slit horizontally to
40 um. Things were going well, the gap was set at 40 um
https://8id.xray.aps.anl.gov/specplots/8idi/2022/04/zjiang20220419/s00009.svg
and this data above made sense.

Then I did a ta2fine scan and it didn't look good at all
https://8id.xray.aps.anl.gov/specplots/8idi/2022/04/zjiang20220419/s00011.svg
It should be a nice peak that reaches > 30,000 cps, but instead shows
a double and weak peak. I had 40% of the expected flux that we typically get
at 7.35 keV.

I did steer the ID beam vertically and horizontally, but returned
everything back with no gain.

I decided to try to move the 8ID-A mirror, and dropped it by 500um.
and eventually got a reasonable mirror fine angle scan
https://8id.xray.aps.anl.gov/specplots/8idi/2022/04/zjiang20220419/s00027.svg
typical of what we get. With this, we have about 83% of the flux from 4/5/22.

So for the record, the mirror moved down from its TableY position (in EPICS) of -2
to -2.5 mm.

ED
Attachment 1: MirrorTable2-041922-After.png
MirrorTable2-041922-After.png
Attachment 2: OAGplot.png
OAGplot.png
  837   Mon Apr 18 16:21:26 2022 Eric Dufresne8-ID-EDetectorsLambda 250k Updated IOC

Email thread with Xspectrum on 4/17/2022
Lambda 2m IOC stability (subject of thread)

From Suresh: Another problem that happens across all the Lambda’s: during repeated acquire calls after a previous “Done Acquire”,
we are able to get the IOC to hang. Tejas found that dc script has 1 sec gap between repeats. We have been using the same 1 sec.
The frequency of these hangs is proportional (not necessarily linear) to the gap between “Done and next Acquire”. If we go
below 1 sec, then we can make this happen very soon.
It seems like the Done signal is not necessarily telling us that it is Done.
Would you be able to reproduce and possibly see what is the cause?


Note the new features on the lower right of att. 1.




[4/13 12:43 PM] Guruswamy, Tejas
Lambda and chiller are now on. So Dufresne, Eric would you prefer if I left the software config as is, or upgrade
to Keenan's latest IOC so that if it does get stuck we might get a more useful error message?
[4/13 12:44 PM] Guruswamy, Tejas
I would test acquisition after upgrading of course

[4/13 1:59 PM] Narayanan, Suresh
Guruswamy, Tejas is it just ioc update or lib update as well? I would vote for it if only
ioc but it is Dufresne, Eric call

[4/13 2:02 PM] Dufresne, Eric
Guruswamy, Tejas I also agree with Suresh, would be helpful to report error so we can learn.
As long as you are around Tejas next week, let's go for it.

[4/13 2:03 PM] Guruswamy, Tejas
Ok, thanks Eric. Will keep a backup and undo if my testing suggests any problems.

[4/13 2:04 PM] Narayanan, Suresh
his most recent update also updates mode/threshold etc only if changed rather than
everytime which is the right thing to do

[4/14 11:18 AM] Guruswamy, Tejas
I think I'm satisfied that the IOC upgrade on the 250k (and 750k) has resolved several issues and not introduced any new problems
(what remains is in my email). If any of you would like to test, please go ahead. Just note that the 250k will always mark the
first frame of every acquisition as bad in its current state -- I am not restarting it yet in case X-Spectrum would like to
take a look since it seems a firmware issue.
Dufresne, Eric do I guess correctly that your SPEC script is relying on an IOC status PV returning 'Done' to start the next acquisition?

[4/14 11:26 AM] Narayanan, Suresh
thanks Guruswamy, Tejas for the thorough tests, very exhaustive tests.

[4/14 11:26 AM] Narayanan, Suresh
it is correct that we are checking for 'Done' to start next acq

[4/14 11:28 AM] Narayanan, Suresh
in usual acq, where we acq 100s of frames in a single acq and repeated over, there are plenty of overheads
in spec and so should not be an issue. When people do detector scans is when at each point in the scan,
they take 1-2 images and that usually has been problematic


[4/18/22 4:18 PM] Guruswamy, Tejas

Sure. As far as I can tell, the 250K has two outstanding issues: '1 bad frame' (acquisitions finish ok but the first frame
always is marked as incomplete; the IOC may crash on the first occurrence of this); and also the same issue as other Lambdas
with getting stuck starting an acquisition if it is too soon since the previous one ("done" is not reliable).

Currently the detector is on but the firmware is in the 1 bad frame state. You may want to power cycle it to reset that.
And based on our findings if it's not already there you probably want to add a delay between acquisitions in your SPEC
scripts to reduce the chance of it getting stuck.

[4:28 PM] Guruswamy, Tejas
If it does happen to crash, the system is set up to automatically save a core dump now

[4/19/2022 5:01 PM] Narayanan, Suresh


Lang, Keenan C. i heard from JoAnne and Mark that Mark pointed some issues in the lambda driver and that
they are now fixed by you. Is it related to the 2m problem? Should we update 2m and 250k ioc, keeping in
mind that we are getting ready to take data soon.

[7:04 PM] Dufresne, Eric
Guruswamy, Tejas We are taking data now on 250K. We started alignment and spec scans where we take one image
and move a motor. This is now worse than before the upgrade... The IOC doesn't crash but the scan hangs.
We managed to do what we need for now, so we started a long time series, 6 hours. This is done with multiple
image and is typically stable so I am hoping this will remain so. Let's cross our finger and hope for
the best.

[7:05 PM] Narayanan, Suresh
maybe we should add more sleep to the scan

[7:05 PM] Narayanan, Suresh
there is a global variable in spec that one can set

[7:05 PM] Dufresne, Eric
Good idea. This was also done quickly, maybe 0.5 s per step. You are probably right.

[7:06 PM] Narayanan, Suresh
just making 0.5 sec longer wont help

[7:06 PM] Narayanan, Suresh
we need to add a sleep after each point

[7:07 PM] Narayanan, Suresh
the neat way to do this would be to set all the images at once and then trigger each
frame with hardware, is a bit of work to do that

[7:09 PM] Narayanan, Suresh
Dufresne, Eric set sleep, it is a global var that is not set, default is zero, set that to
1 sec and then run the scan, at the end of the scan, make it 0. In either case, it should not affect padtimescan

[7:09 PM] Narayanan, Suresh
sorry, its "_sleep", the _ made all italics above

[7:09 PM] Narayanan, Suresh
set underscore_sleep=1



4/20/2022 setscans command



https://certif.com/spec_print/setscans.html

The setscan command allows one to sleep for a set number of seconds before counting.

Quote:
Setting the sleep time to a nonzero value causes the scan macros to delay for that many
seconds before counting at each point. The value entered here is assigned to the _sleep global variable,
which can also be assigned to directly.


slowing down diffractometer scans
Dufresne, Eric
Wed 4/20/2022 1:48 PM
To: 8ID-E user

Hellow,

we should be able to reduce the hanging problem in a scan by sleeping a bit before
taking an image.

You can type:
fourc8IDE> p _sleep=1
1
and this will set a sleep time of 1s before starting to count.
This is described in the setscans command:
https://certif.com/spec_print/setscans.html

Suresh thinks it will not affect on time series data collection.
If you don't want to take a chance, set it to 0 after the alignment is completed.

Eric
Attachment 1: LambdaBase.png
LambdaBase.png
  836   Wed Apr 6 13:15:20 2022 Eric Dufresne8-ID GeneralDetectors8-ID Pixirad transfered to Nino Miceli 3/29/2022
https://logbook.xray.aps.anl.gov/8id/8-ID/432 Manual for Pixirad

Itr was transfered to A. Miceli.

From: Ziegler, Raymond <[email protected]>
Sent: Monday, March 28, 2022 2:15 PM
To: Piatak, Christopher <[email protected]>; Miceli, Antonino <[email protected]>; Dufresne, Eric <[email protected]>
Cc: Narayanan, Suresh <[email protected]>
Subject: RE: 8ID pixirad

If this is a “permanent” loan, you should contact Sue Benda to transfer ownership and update the location…

From: Miceli, Antonino <[email protected]>
Sent: Tuesday, March 29, 2022 11:13 AM
To: Ziegler, Raymond <[email protected]>; Piatak, Christopher <[email protected]>; Dufresne, Eric <[email protected]>; Narayanan, Suresh <[email protected]>
Cc: Benda, Sue <[email protected]>
Subject: Re: 8ID pixirad

Hi Sue,

Can you transfer P075070 to me? It's in 431-Z-020.

Thanks,

Nino

RE: 8ID pixirad
Benda, Sue <[email protected]>
Tue 3/29/2022 11:15 AM
To: Miceli, Antonino <[email protected]>;Ziegler, Raymond <[email protected]>;Piatak, Christopher <[email protected]>;
Dufresne, Eric <[email protected]>;Narayanan, Suresh <[email protected]>

Rachel Papiernik transferred it today.

Sue
  835   Thu Mar 24 17:49:00 2022 Eric Dufresne8-ID-EProceduresUse pin for alignment

The diffractometer pin is made of iron, I could use it for detector tests.

Fe with lattice constant 2.856 Ang, and a BCC lattice.
https://7id.xray.aps.anl.gov/calculators/

Calculated Reflections

Body Centered Cubic

Fixed parameter:
energy = 7.35 keV
wavelength = 1.68687 A

Lattice Parameters:
a = 2.856 A

Multi- 2Theta
H K L plicity (degrees) Q (1/A) d (A)
--------------------------------------------------------
1 1 0 12 49.3722 3.1113 2.0195
2 0 0 6 72.4052 4.4000 1.4280
2 1 1 24 92.6694 5.3889 1.1660
2 2 0 12 113.2929 6.2225 1.0097
3 1 0 24 138.0981 6.9570 0.9031
ELOG V3.1.4-395e101