This code is connecting a
caption source to the Sequence Description panel at the bottom of the SequenceFile view in the Full Featured Operator Interface. The
caption source is some string that will displayed as a caption in the Expression Edit control assigned to the
CaptionConnection. If the currently selected Sequence is described by a comment then the comment will be displayed in the Sequence Description.
(1) You can find help on both the
ConnectCaption command as well as the
CurrentSequenceComment_Caption. To get help on the
ConnectCaption command, right click on the invoke node in LabVIEW and select "
Help for ConnectCaption". The
CurrentSequenceComment_Caption is described under the "
CaptionSources Enumeration" help page. You can reach this page by searching the help by index and typing "
CurrentSequenceComment_Caption".
(2) The
TSUISUPP.CaptionConnection is the connection object that is created by connecting the caption source to the ActiveX object that will display the caption. It represents a reference to the ExpressionEdit control that will eventually display the comment.
TSUISUPP is the ActiveX library that contains the Operator Interface controls.
(3) The box is simply meant to display any comment for the currently selected Sequence, assuming that a comment exists for the Sequence. If no comment exists, then the display box will accordingly be blank.
Let me know if you have any further questions.
Thanks,
Tyler T.