Skip to content

Commit 4d08408

Browse files
committed
Change ringmode caget timeout time
Compromise between giving enough time to get this potentially usefull optional pv and not slowing startup too much if it isnt available
1 parent 28a55b3 commit 4d08408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/virtac/atip_ioc_entry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def main():
6161
ring_mode = str(os.environ["RINGMODE"])
6262
except KeyError:
6363
try:
64-
value = caget("SR-CS-RING-01:MODE", timeout=0.5, format=2)
64+
value = caget("SR-CS-RING-01:MODE", timeout=1, format=2)
6565
ring_mode = value.enums[int(value)]
6666
logging.warning(
6767
f"Ring mode not specified, using value from real "

0 commit comments

Comments
 (0)