We have customized operator interfaces with information that needs to be updated from within test programs.
Using TestStand 2.0, the way we did this was by making an ActiveX call to Thread.PostUIMessage from within the Sequence file. In the CVI operator interface, this message was intercepted using the a UI Message callback, registered with Engine.RegisterUIMessageCallback (expanding on the example given in engine.c). This method seemed to be a bit kludgy, but it got the job done.
In TestStand 3.1, is there a better mechanism to do this? The use of Caption Sources seems to supplant much of the custom UI Message passing in the TestStand 2.0 operator interface, but is there a way to add information to a caption that is not in the list of predefined Caption Source Macros? For example, we want to have a label that displays the current temperature. The value is supplied by the client sequence file running the test.
TestStand 3.1f1
CVI 7.1