file "$(sinqSPS_DB)/writeusint.db" { pattern {OFFSET, UINT_NAME, DESC } {0 , "SHUTTER-TRIGGER" , "Trigger Shutter" } } file "$(sinqSPS_DB)/readbit.db" { pattern {OFFSET, BIT, BIT_NAME , ZNAM , ONAM , DESC, FLNK} {1 , 0 , "PSYS-OK" , "" , "" , "", ""} {1 , 1 , "SHUTTER-READY" , "No" , "Yes" , "", ""} {1 , 2 , "EMERGENCY-STOP-OFF", "" , "" , "", ""} {1 , 3 , "NOT-LOCKED" , "" , "" , "", ""} {1 , 4 , "CLOSED" , "Open" , "Closed" , "", ""} {1 , 5 , "OPEN" , "Closed" , "Open" , "", ""} {1 , 6 , "REMOTE-OKAY" , "" , "" , "", ""} {1 , 7 , "MOVES" , "Stationary" , "Moving" , "", ""} } # 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. file "$(sinqSPS_DB)/readstring.db" { pattern {OFFSET, LENGTH, STRING_NAME FLNK} {4 , 14 , "PSYS-OK", ""} {20 , 17 , "SHUTTER-READY", ""} {40 , 17 , "EMERGENCY-STOP", ""} {60 , 19 , "BLOCKED", ""} {82 , 24 , "BLOCKED-REASON", ""} {108 , 14 , "OPEN", ""} {124 , 27 , "REMOTE", "$(STATUS_FLNK)"} }