8-ID
  8-ID Beamline logbook mirror  Not logged in ELOG logo
Entry  Thu Apr 1 18:33:40 2021, Eric Dufresne, 8-ID-E, Controls, function generator out of user Calc records for square wave userCalc6.pnguserCalc7.pngUserCalc5-FULL.pngUserCalc10-full.pngStripTool-userCalc6-FunctiionGenerator.png
    Reply  Thu Jul 15 18:02:42 2021, Eric Dufresne, 8-ID-E, Controls, Basic epics for Keithley 2400 controls, 6ID Keithley 2410 from 6-ID asyn-8ide.pngasyn-18-8ide-serial.pngasyn-18-8ide.pngKeithley2410-6ID.png
Message ID: 798     Entry time: Thu Jul 15 18:02:42 2021     In reply to: 775
Author: Eric Dufresne 
Type: 8-ID-E 
Category: Controls 
Subject: Basic epics for Keithley 2400 controls, 6ID Keithley 2410 from 6-ID 

Phil Ryan and I asked Keanan Lang to set up a second Keithley 2400s series from 6ID in parallel
with ours because we were using it and I care about keeping it as is.
This was implemented 7/16/21 at 6pm.
Their Keithley 2410 operates up to 400V, ours only to 211 V.
It is set at 9600 bauds instead of ours at 38400 Bauds.
caQtDM screens are shown below.
The *idn? command also works with Keithley!
This commands is recognized by Lakeshore.


Re: Keithley 2410 at 8-ID
Choi, Yongseong <[email protected]>
Fri 7/16/2021 6:48 PM
To: Lang, Keenan C. <[email protected]>; Dufresne, Eric <[email protected]>;
Ryan, Philip J. <[email protected]>; Walsh, Thomas R. <[email protected]>
Hi Keenan,

Thanks for setting up the database.

We rebooted the crate. Now all the PV values for the Keithely 2410 are accessible (from caget).
However, the ui screen for the 2410 unit has blank lines (below is the new screen). It looks like there is a
typo somewhere in caQDTM so that the values are not being displayed properly. Could you check the ui file for 2410?

Thanks.
Yong

Re: Keithley 2410 at 8-ID
Lang, Keenan C. <[email protected]>
Fri 7/16/2021 8:55 PM
To: Choi, Yongseong <[email protected]>; Dufresne, Eric <[email protected]>;
Ryan, Philip J. <[email protected]>; Walsh, Thomas R. <[email protected]>

Yep, looks like I missed a comma. You'll have to reload the 8ide.ui screen
but then launching the 2410 screen should work.


epics_put('8ide:2400:setVoltAO',30)
padtimescan 300 2


pepper% caput 8ide:2410:enableBO 1
Old : 8ide:2410:enableBO Off
New : 8ide:2410:enableBO On
pepper% caget 8ide:2410:measResAI
8ide:2410:measResAI 0



Quote:
I made a function generator out of user Calc records to generate a square wave.
The time axis is connected to the AreaDetector Image Counter.
Because the expression is too long, it connects userCalc7 to userCalc6.
Note that the output of userCalc6 is read in variable A in userCalc7.
The calculation can only be as long as I have in userCalc6 so I had to nest two userCalcs.
In this attachment showing a test, userCalc6 goes from 0 to 1 with a period of NumImages/10 = 60 files, the switch occurs
every 30 files and it goes from 0, 0.5 and 1 in three files.
I would try to keep in the number of periods even like 2,4...
It drives the Keithley Source meter https://logbook.xray.aps.anl.gov/8id/8-ID/528
so this is convenient for higher excitation voltages.

An earlier version is shown in att. 3 for userCalc5.
It did only on 50% off 50%.

My users also made a sinusoidal version in att. 4.

ED
Attachment 1: asyn-8ide.png  11 kB  Uploaded Sat Jul 17 09:08:22 2021  | Hide | Hide all
asyn-8ide.png
Attachment 2: asyn-18-8ide-serial.png  24 kB  Uploaded Sat Jul 17 09:08:42 2021  | Hide | Hide all
asyn-18-8ide-serial.png
Attachment 3: asyn-18-8ide.png  82 kB  Uploaded Sat Jul 17 09:09:01 2021  | Hide | Hide all
asyn-18-8ide.png
Attachment 4: Keithley2410-6ID.png  56 kB  Uploaded Sat Jul 17 09:18:39 2021  | Hide | Hide all
Keithley2410-6ID.png
ELOG V3.1.4-395e101