Skip to content
Snippets Groups Projects
Unverified Commit ef86f081 authored by ThomasFayESS's avatar ThomasFayESS Committed by GitHub
Browse files

Merge pull request #7 from icshwi/fix-test

Fix set_att
parents dc36e8f4 70e0d6b4
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ run() {
state=$(( $attVal * 2 * (1 + $channel / 8) ))
echo "Ch $channel - setting attenuation to $attVal"
caput $LLRF_IOC_NAME:AI$1-ATT $attVal > /dev/null
caput $LLRF_IOC_NAME:AI$channel-ATT $attVal > /dev/null
# 4-byte registers 0xF82, 0xF83 and 0xF84 hold the values with one byte offsets between values
reg="0xF8$(( 2 + $channel / 4 ))"
result="$(sis8300drv_reg /dev/sis8300-$slot $reg)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment