public double GetTargetRate() { ThrowExceptionIfVeriStandIsNotLaunched(); ThrowExceptionIfProjectIsNotOpened(); SystemState state; string sysdef; string[] targetsArray; WorkSpace.GetSystemState(out state, out sysdef, out targetsArray); double value = double.NaN; SystemDefinition sysDef = new SystemDefinition(sysdef); Targets targets = sysDef.Root.GetTargets(); Target target = targets.GetTargetList()[0]; value = target.TargetRate; //ErrChk(this.WorkSpace.GetSingleChannelValue(channelIdentidier, out value)); return(value); }