                 switch column {
                 case 0:
                     if row < recoilsFrontPerAct.count {
-                        if let eventNumberObject = getValueFrom(array: recoilsFrontPerAct, row: row, key: kEventNumber) as? CLongLong {
+                        if let eventNumberObject = getValueFrom(array: recoilsFrontPerAct, row: row, key: kEventNumber) as? CUnsignedLongLong {
                             field = currentFileEventNumber(eventNumberObject)
                         }
                     }

                    }
                case 20:
                    if row < alpha2FrontPerAct.count {
                        if let eventNumber = getValueFrom(array: alpha2FrontPerAct, row: row, key: kEventNumber) as? CLongLong {
                            field = currentFileEventNumber(eventNumber)
                        }
                    }

    func eventNumber() -> CUnsignedLongLong {
        var position = fpos_t()
        fgetpos(file, &position)
        let value = CUnsignedLongLong(position/Int64(eventSize)) + totalEventNumber + 1
        return value
    }
    
    func channelForTOF(_ event :ISAEvent) -> CUnsignedShort {
