"When trying to use the automated jet_tracking software"
Quick guide to starting a jet in SC3 (SSC)
- Open camViewer (~cxiopr/bin/yagviewer.sh) and use the dropdown list on the right side to select CxiSc3Inline
- If a nozzle isn't obvious then it has been taken out and send a nasty gram to mhunter2 or rsierra
- Set CXI:SDS:PCM:B:02:PressSP to 300 (use the gui on Pressure Controller B or "caput CXI:SDS:PCM:B:02:PressSP 300" in terminal
- sleep 10s
- check that the readback on the proportionair is 300 (CXI:SDS:PCM:B:02:PRESS box or "caget CXI:SDS:PCM:B:02:PRESS" in terminal
- Set CXI:LC20:SDSB:SetFlowRate to 0.020 (use the gui for HPLC Pump 2 or "caput CXI:LC20:SDSB:SetFlowRate 0.02" in terminal
watch for the jet on CxiSc3Inline
Notes
- HPLC flow rates can be set between 0 and 0.05 mL/min, but 0.02-0.03 mL/min will typically give well-behaved (i.e. not realistic) jets
- Proportionair pressures can be set between 250 and 500 psi for these nozzles. The nozzles will behave differently throughout the pressure range but they shouldn't be damaged. At higher pressures, a whipping instability might be seen.
General: Starting a liquid jet
This quick SOP assumes a liquid jet has already been installed in one of the two sample chambers. If a nozzle isn't installed, the below procedure is, of course, useless
- Determine which chamber you are starting a liquid jet. This will usually either be SC1 or SC3 (Also called SSC).
- Open the relevant camera screens for the sample chamber. For controls cameras you can use the camViewer (can call ~cxiopr/bin/yagview.sh) and for DAQ cameras you can use
- SC1: CxiSc1Inline (Questar, controls camera) and Sc1OffAxis (OffAxis, currently a DAQ camera)
- SC3: CxiSc3Inline (Questar, controls camera) and CxiSc3OffAxisSpare (controls camera, might still be gige-cxi-07 is the other option doesn't work)
- Open up the HPLC and proportionair controls if they aren't already open
- Overall SDS software can be found under the Current screen within User Devices of the CXI home screen (typing ~cxiopr/bin/cxihome will open the cxi home screen; these screens are toward the bottom on the left-hand side)
- The HPLC and proportionair screens can be found in the drop down list shown by clicking on SDS Screens in the middle of the screen on the left-hand side. A subset of these screens can be found under Control Screens as well. Why they both exist is a question to be asked at a different time...
- Open the HPLC screen for the HPLC supporting the sample chamber you are using (there are four options)
- Generally speaking, HPLC 1 (SDS without another letter) will be supporting SC1. If we aren't doing mixing experiments, HPLC 2 (SDSB) will be supporting SC3 and there other HPLCs won't be deployed at the beam line
- Open the Proportionair screen for the Proportionair supporting the sample chamber you are using (there are two options)
- Generally speaking, ProportionairA (Pressure Controller A) will be supporting SC1. If we aren't doing mixing experiments, HPLC 2 (Pressure Controller B) will be supporting SC. These can change.
- Overall SDS software can be found under the Current screen within User Devices of the CXI home screen (typing ~cxiopr/bin/cxihome will open the cxi home screen; these screens are toward the bottom on the left-hand side)
- For GDVN, set the gas pressure to ~300 psi by typing 300 into the setpoint box (PV =CXI:SDS:PCM:B:02:PressSP) and hit enter.
Jet tracking Google Drive folder: https://drive.google.com/drive/folders/1I8D_CT8GFwCEtQE5K03lu6-58sPZ_rkA
jet_tracking software documentation: https://pswww.slac.stanford.edu/swdoc/releases/jet_tracking
Step-by-step guide
- start hutch python
Jet Control Overview
To start ipython for cxi hutch-python3.
/reg/g/pcds/pyps/apps/hutch-python/cxi/cxipython
There is a soft link in ~cxiopr/bin, so that on cxi machines one can start ipython as follows:
cxi3
Instances of the jet-tracking control class are automatically loaded in the ipython session.
In [1]: sc1.control. sc1.control.calibrate sc1.control.injector sc1.control.params sc1.control.camera sc1.control.jet_calculate sc1.control.set_beam sc1.control.diffract sc1.control.jet_move In [1]: sc3.control. sc3.control.calibrate sc3.control.injector sc3.control.params sc3.control.camera sc3.control.jet_calculate sc3.control.set_beam sc3.control.diffract sc3.control.jet_move
JetControl
Jet tracking control class.
Attributes
jet_tracking.jet_control.JetControl.calibrate
()Calibrate the onaxis camera jet_tracking.jet_control.JetControl.jet_calculate
()Track the sample jet and calculate the distance to the x-ray beam jet_tracking.jet_control.JetControl.jet_move
()Move the sample jet to the x-ray beam jet_tracking.jet_control.JetControl.set_beam
(…)Set the coordinates for the x-ray beam Related articles
Starting a liquid jet
This quick SOP assumes a liquid jet has already been installed in one of the two sample chambers. If a nozzle isn't installed, the below procedure is, of course, useless
- Determine which chamber you are starting a liquid jet. This will usually either be SC1 or SC3 (Also called SSC).
- Open the relevant camera screens for the sample chamber. For controls cameras you can use the camViewer (can call ~cxiopr/bin/yagview.sh) and for DAQ cameras you can use
- SC1: CxiSc1Inline (Questar, controls camera) and Sc1OffAxis (OffAxis, currently a DAQ camera)
- SC3: CxiSc3Inline (Questar, controls camera) and CxiSc3OffAxisSpare (controls camera, might still be gige-cxi-07 is the other option doesn't work)
- Open up the HPLC and proportionair controls if they aren't already open
- Overall SDS software can be found under the Current screen within User Devices of the CXI home screen (typing ~cxiopr/bin/cxihome will open the cxi home screen; these screens are toward the bottom on the left-hand side)
- The HPLC and proportionair screens can be found in the drop down list shown by clicking on SDS Screens in the middle of the screen on the left-hand side. A subset of these screens can be found under Control Screens as well. Why they both exist is a question to be asked at a different time...
- Open the HPLC screen for the HPLC supporting the sample chamber you are using (there are four options)
- Generally speaking, HPLC 1 (SDS without another letter) will be supporting SC1. If we aren't doing mixing experiments, HPLC 2 (SDSB) will be supporting SC3 and there other HPLCs won't be deployed at the beam line
- Open the Proportionair screen for the Proportionair supporting the sample chamber you are using (there are two options)
- Generally speaking, ProportionairA (Pressure Controller A) will be supporting SC1. If we aren't doing mixing experiments, HPLC 2 (Pressure Controller B) will be supporting SC. These can change.
- Overall SDS software can be found under the Current screen within User Devices of the CXI home screen (typing ~cxiopr/bin/cxihome will open the cxi home screen; these screens are toward the bottom on the left-hand side)
- For GDVN, set the gas pressure to ~300 psi by typing 300 into the setpoint box (PV =CXI:SDS:PCM:B:02:PressSP) and hit enter.
Jet tracking Google Drive folder: https://drive.google.com/drive/folders/1I8D_CT8GFwCEtQE5K03lu6-58sPZ_rkA
Step-by-step guide
- start hutch python
Jet Control Overview
To start ipython for cxi hutch-python3.
/reg/g/pcds/pyps/apps/hutch-python/cxi/cxipython
There is a soft link in ~cxiopr/bin, so that on cxi machines one can start ipython as follows:
cxi3
Instances of the jet-tracking control class are automatically loaded in the ipython session.
In [1]: sc1.control.
sc1.control.calibrate sc1.control.injector sc1.control.params
sc1.control.camera sc1.control.jet_calculate sc1.control.set_beam
sc1.control.diffract sc1.control.jet_move
In [1]: sc3.control.
sc3.control.calibrate sc3.control.injector sc3.control.params
sc3.control.camera sc3.control.jet_calculate sc3.control.set_beam
sc3.control.diffract sc3.control.jet_move
JetControl
Jet tracking control class.
Attributes
jet_tracking.jet_control.JetControl.calibrate () | Calibrate the onaxis camera |
jet_tracking.jet_control.JetControl.jet_calculate () | Track the sample jet and calculate the distance to the x-ray beam |
jet_tracking.jet_control.JetControl.jet_move () | Move the sample jet to the x-ray beam |
jet_tracking.jet_control.JetControl.set_beam (…) | Set the coordinates for the x-ray beam |
Related articles
1 Comment
Tyler NT Pennebaker