Console.WriteLine("Error Limit triggers after " + ErrorLimitDurationGet(); + "seconds of signal.");
RapidSetup:
Go to axis screen->Limits & Actions. In the image below, ErrorLimitDurationGet returns the value in the "Duration" box in the Position Error box. It is currently 0.