file "$(sinqSPS_DB)/writebit.db" { pattern {OFFSET, BIT, BIT_NAME } {2 , 7 , "OPEN-SHUTTER" } {3 , 0 , "CLOSE-SHUTTER" } } file "$(sinqSPS_DB)/readbit.db" { pattern {OFFSET, BIT, BIT_NAME } {2 , 0 , "PSYS-OK" } {2 , 1 , "SHUTTER-READY" } {2 , 2 , "EMERGENCY-STOP"} {2 , 3 , "NOT-LOCKED" } {2 , 4 , "CLOSED" } {2 , 5 , "OPEN" } {2 , 6 , "REMOTE-OKAY" } } # The way that the strings are currently implemented in the SPS, the first two # bytes are the maximum length of the string and the size of the current string # in the register. The epics driver doesn't seem to handle this currently, so # we add two to the offset to skip these bytes. file "$(sinqSPS_DB)/readstring.db" { pattern {OFFSET, LENGTH, STRING_NAME } {6 , 24 , "PSYS-OK-TXT" } {32 , 22 , "SHUTTER-READY" } {56 , 30 , "EMERGENCY-STOP" } {88 , 22 , "NOT-LOCKED" } {110 , 19 , "OPEN" } {134 , 32 , "REMOTE-ENABLED" } }