08-19-2011 07:43 AM
Hi,
am using the followwing code
voidaxApplicationMgr_UIMessageEvent(objectsender,NationalInstruments.TestStand.Interop.UI.Ax._ApplicationMgrEvents_UIMessageEventEvente)
{
if (e.uiMsg.Event ==UIMessageCodes.UIMsg_Trace)
{
try
{
intframeid;
SequenceContext seqctx = e.uiMsg.Thread.GetSequenceContext(0, outframeid);
if(seqctx.PreviousStepIndex >= 0)
{
Stepprvstp = seqctx.PreviousStep;
StepTypeprvstptyp = prvstp.StepType;
PropertyObjectstepPropertyObject = prvstp.AsPropertyObject();
String testid=String.Empty;
if (string.Equals(prvstptyp.Name, "NumericLimitTest"))
{
testid = stepPropertyObject.GetValString("Result.AdditionalResults[\"Requirements\"]", 0);
double lwlimt = stepPropertyObject.GetValNumber("Limits.Low", 0);
double measValue = stepPropertyObject.GetValNumber("Result.Numeric", 0);
String unit = stepPropertyObject.GetValString("Result.Units", 0);
am not able to read the Requirments by "testid = stepPropertyObject.GetValString("Result.AdditionalResults[\"Requirements\"]", 0);"
but am sucessful in reading all others.
can you please help me in this regards.
Thanks
IVI
08-19-2011 08:12 AM
IVI,
please do not open new threads for the same topic......thanks
The discussion is kept there.
thanks,
Norbert