02-28-2006 11:08 AM
03-01-2006 08:47 AM
Hi
With regard to the first bit. You could configure the TestStand SequenceFilePostStep Engine callback to post a UI Message to your Operator interface, that message could pass any data you like to your OI. Your OI would have to handle the UI Message and then process the data. See TestStand II Customisation Course notes for handlnig UI Messages.
Hope this helps
Steve
03-01-2006 01:31 PM
03-03-2006 02:24 AM
Hi andrew and steve thanks for
i could not able to find SequenceFilePostStep Engine callback and ProcessModelPostStep Engine callback. i thing i have to add these call backs into my process model using Edit-> Sequence File Callbacks -> SequenceFilePostStep - yes ->click Ok is it correct??
if it so But where i have to configure this callback how to post UI messages from this callback?. and when will it be called (will it be called after every step execution) ? i thing i have to create one action step in the SequenceFilePostStep which will call Thread.PostUIMessageEx ( eventCode, numericDataParam, stringDataParam, activeXDataParam, synchronous) there i can pass ThisContext as parameter to this function. and in my code how can i access the current step properties?.... (like step parameters,result,execution times when it was started as like in report ) but using this SequenceContext.Step function i can view the result only how to get the other things that i mentioned in the brackets?
2 Andrew :
I dont have VI software could you please send me the same example in VB or C# or C
TIA
Regards,
Srini
03-03-2006 02:40 AM
Hi Srini
You can access the parameters from inside the ProcessModelPostStepFailure using lookup strings of the type RunState.CallingStep.Result.Status. There are loads of others that can be used, best to look around inside the property browser having stopped at a break point in your ProcessModelPostStepFailure sequence.
You can pass both numeric and string data to your OI using Thread.PostUIMessage and you can call it multiple times. Identify different types of messages using the event code parameter that must be UIMsg_UserMessageBase and above. It is important that you include a UI messge callback function in you OI code that handles each type of event code message sent from your ProcessModelPostStepFailure.
Contact NI for examples on positng and processing UI Messages.
Steve
03-06-2006 11:34 AM