public override string execute(Blackfin bf, string[] args) { try { if (!bf.SetCountLogPeriod(int.Parse(args[0]))) { return(null); } } catch (FormatException) { throw new CommandArgumentException("Invalid interval value"); } return("Set count log interval"); }