Adding a Variable from a Textual Source Code Editor
Follow this procedure to add a variable to the Oscilloscope from a textual (that is, IL or ST) source code editor: select a variable by double-clicking on it, and then drag it into the Oscilloscope window.
The same procedure applies to all the variables you wish to inspect.