If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Select the scripting tool, from the debugger menu “View->Scripting Console”.
The scripting console window will appear somewhere in the debugger.
Open the script by clicking the icon that is in the upper right corner of the scripting tool.
Select the file “sw\solutions\instaspin_foc\src\proj_lab02a.js”.
The appropriate motor variables are now automatically populated into the watch window.
The variables should look like below
o Note the number format.
o For example, if “gMotorVars.Flag_enableSys” is displayed as a character, right-mouse
click on it and select “Number Format -> Decimal”
o For the “Q-Value(24)” format, after right-mouse clicking on the value select “Q-Values-
>Q-Value(24)” from the pop-up menu