|
|
# Overview:
|
|
|
The Scienta is comprised to two distinct elements the analyzer and the camera.
|
|
|
- camera control: customized AreaDetector module which handles the acquisition and the compilation of swept images (a spectra get written only upon completion)
|
|
|
- analyzer controls: the ioc talks to a labview program which directly call SES dlls. (At some point the labview portion will be replaced by c-code)
|
|
|
|
|
|
|
|
|
# Starting from fresh
|
|
|
1. Start the ioc
|
|
|
- ssh 29id@surly.xray.aps.anl.gov
|
|
|
- 29idcScienta.sh start #soft link in [surly ~/bin]
|
|
|
|
|
|
2. Start labview
|
|
|
- log into glick as 29id (alias, remote or physical)
|
|
|
- from the start menu select: NI LabVIEW 2017 SPI (32-bit)
|
|
|
- launch (activate is for software that we don't use and don't have a license for)
|
|
|
- from recent projects select: ScientaBridge.lvproj
|
|
|
- from the Project Explorer select: Main.vi
|
|
|
- press the white arrow (run) on the top left of the screen (arrow turns back when running and grid becomes solid)
|
|
|
-
|
|
|
3. Set default ioc parameters
|
|
|
- in python: EA_ioc_init()
|
|
|
|
|
|
# IOC restart
|
|
|
If you need to restart the ioc then the labview need to be stopped first (if ioc crashes this will happen automatically)
|
|
|
1. Stop labview bridge program:
|
|
|
- log into glick as 29id
|
|
|
- open the labview Main.vi screen
|
|
|
- press 'stop' button or red circle icon (black arrow becomes white and have visible grid)
|
|
|
|
|
|
2. Restart ioc
|
|
|
- ssh 29id@surly.xray.aps.anl.gov
|
|
|
- 29idcScienta.sh restart
|
|
|
|
|
|
3. Restart labview
|
|
|
- On Main.vi press the white arrow (run) on the top left of the screen (arrow turns back when running and grid becomes solid)
|
|
|
|
|
|
4. Set default ioc parameters
|
|
|
- in python: EA_ioc_init() |