NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make the comments field appear when the operator is debugging a test?

When a test is being written the comments field is being utilized for information relating to what the test is doing and how to solve certain problems that arise. It is basically a quick place for the technician to look at when they are attempting to debug a board. However it appears when you view the sequence files these are off to the right side of the screen but when running the debug engine and the technician sets a break point then these comments are no longer visible to the user off to the right of the screen. Is there any way to have it include the comment in the data displayed when tracing through a test step by step. The technician can double click on each step but it would be alot mor
e user friendly and timly if these could be displayed just to the right of the execution flow column.
0 Kudos
Message 1 of 2
(2,690 Views)
Hello John,

I assume you are talking about the sequence editor. Unfortunately, there is currently no way to view the comments associated with a step inside of the execution display window (i.e during run-time). If you are using the operator interface, then you may extract the comment associated with a step and post a custom UI message that contains this information. The operator interface can then be modified to respond to this UIMessage and update its display accordingly.

To post a UIMessage with this data, you must first obtain a PropertyObject reference to the step you are trying to extract the comment from. Then use the "Comment" property of the PropertyObject class to obtain the comment value.

Unfortunately, the Sequence Editor discards all custo
m UIMessages, and you will have no way of viewing the comment using the above method.

Hope this helps.
0 Kudos
Message 2 of 2
(2,690 Views)