Hello,
If you want to use the UIMessage Progress Percent, then you should be posting this message from within your sequence file. You then would add a case to the UIMessage handler within the Operator Interface that would handle this message when it is received. For example, take the case in which you have a MainSequence, and are using the simple CVI Operator Interface. Inside of the MainSequence, you could add an Action step that uses the ActiveX Automation Adapter. You would configure the step as follows:
ActiveX Reference: RunState.Thread
Automation Server: TestStand API 2.0 (ver 1.0)
Object Class: Thread
Create Object: UNCHECKED
Call Method or Access Property: Call Method
Method: PostUIMessageEx
You would then add the numeric data that c
ontained the information you require in the operator interface, and assing a custom event code (i.e. 10000 and above) to the UIMessage.
Now that you have posted the UIMessage, you must handle it from within the CVI Operator Interface.
Inside of the simple.c there is a function called HandleTEUIMessage. In here you would a case to the case statement that would handle the event code that you assigned to the UIMessage above.
Hope this helps.