08-10-2020 04:23 AM
When i pass the SequenceContext as an argument to a teststep in DotNet i can retrieve the name of the teststep via seqContext.Step.Name, but how do i get the High and low limit and he comparsion type ?
Thanks in advance
Solved! Go to Solution.
08-10-2020 04:59 AM
Its a bit quick and dirty but in LabVIEW you could do it like this. Hopefully you can translate it to DotNet?
08-10-2020 05:48 AM
Hello SercoSteveB
Thanks for your quick response
It works now.
double HighLimit = seqContext.Step.AsPropertyObject().GetValNumber("Limits.High", 0);
double LowLimit = seqContext.Step.AsPropertyObject().GetValNumber("Limits.Low", 0);
string Comp = seqContext.Step.AsPropertyObject().GetValString("Comp",0);