01-17-2019 05:03 PM
I need to acces and save all the limits of a teststand sequence and save it to a log file, I export the documentation to a text file but doesn't import the limits just the name and description.
I read that I can access to them with the TestStand API, but there's an infinite number of propertys on the sequence context in property node and I don't find the correct one to save the limits. Can it be done with the API?
01-17-2019 05:33 PM
There's actually a built-in way to export limits:
If you still want to go the API route, you need to get a reference to the Step object, and there is a limits container under that.
Hope this helps!
Trent
01-18-2019 04:58 PM
I want to perform it in a automatic way, so there's not an object reference that point to the step limits in the API.
01-21-2019 08:31 AM
It sounds like you're looking for the Step.Limits Container i mentioned:
Getting a reference to all of the steps is the trickier part. This example should help: