40m
QIL
Cryo_Lab
CTN
SUS_Lab
TCS_Lab
OMC_Lab
CRIME_Lab
FEA
ENG_Labs
OptContFac
Mariner
WBEEShop
|
PSL |
Not logged in |
 |
|
Thu Nov 3 21:11:15 2016, yinzi, awade, DailyProgress, Other, Mixed updates
|
Fri Nov 4 13:13:30 2016, awade, DailyProgress, Other, Mixed updates
|
Fri Nov 4 23:16:54 2016, awade, DailyProgress, Other, Mixed updates  
|
|
Message ID: 1758
Entry time: Fri Nov 4 23:16:54 2016
In reply to: 1757
|
Author: |
awade |
Type: |
DailyProgress |
Category: |
Other |
Subject: |
Mixed updates |
|
|
I've made some additions to Yinzi's python port of the PID control scripts. The first is to grab the channel mappings and settings in an external config file ACavPIDConfig.ini and RCavPIDConfig.ini for south and north path respectivly. The second is to allow the passing of this config settings location from the command prompt. This means that the one script can be used for all of the PID loops (5 in total) without the need to hard code channel configurations in. There is also an input flag option '-d' to activate debug mode for verbose output. All attached and uploaded into the CTNsvn/current folder.
Quote: |
I have committed your script to the 40m SVN directory so we can do proper version tracking over time.
Python scripts associated with the CTN noise experiment in the PSL lab are now located at /trunk/CTNLab/current/computing/scripts/
To update or checkout stuff from the SVN follow instructions here: https://wiki-40m.ligo.caltech.edu/How_To/Use_the_SVN_archive
|
|
|
[EPICSChannelConfig]
process: C3:PSL-ACAV_FSS_FASTMON
actuator: C3:PSL-ACAV_FSS_SLOWOUT
setpoint: C3:PSL-ACAV_SLOWFSS_SETPOINT
KpParam: C3:PSL-ACAV_FSS_SLOWPID_KP
KiParam: C3:PSL-ACAV_FSS_SLOWPID_KI
KdParam: C3:PSL-ACAV_FSS_SLOWPID_KD
timestepParam: C3:PSL-FSS_SLOWPID_TIMEOUT
EPICSBlinkChan: C3:PSL-ACAV_FSS_SLOWPID_BLINK
loopStateEnable: C3:PSL-ACAV_FSS_SLOWPID_EN
... 5 more lines ...
|
|
#!/usr/bin/env python
import re
import time
import os
from ezca import Ezca
import ConfigParser
import sys, getopt
#A python translation of the RCAV_thermalPID.pl/SLOW_PID.pl perl script
... 186 more lines ...
|
|
[EPICSChannelConfig]
process: C3:PSL-RCAV_FSS_FASTMON
actuator: C3:PSL-RCAV_FSS_SLOWOUT
setpoint: C3:PSL-RCAV_SLOWFSS_SETPOINT
KpParam: C3:PSL-RCAV_FSS_SLOWPID_KP
KiParam: C3:PSL-RCAV_FSS_SLOWPID_KI
KdParam: C3:PSL-RCAV_FSS_SLOWPID_KD
EPICSBlinkChan: C3:PSL-RCAV_FSS_SLOWPID_BLINK
loopStateEnable: C3:PSL-RCAV_FSS_SLOWPID_EN
timestepParam: C3:PSL-FSS_SLOWPID_TIMEOUT
... 5 more lines ...
|