Indicator '(null)': Error on calling 'SetState' method: Object reference not set to an instance of an object.
Is it due to using following code within State.SetDefaults and State.SetConfigure:
if (Instrument != null)
{
Print(this.Name + " [" + DateTime.Now.ToString("dd-MMM-yyyy hh.mm.ss.ffffff") + "] " + Instrument.FullName );
}
Kind Regards
Vivek
Comment