器件型号:DRV8302-HC-C2-KIT
工具/软件:Code Composer Studio
您好!
我将此套件与 PM_Sensorless 程序配合使用、但当我尝试在脚本控制台中加载 Java 脚本时、会出现错误消息:
"缺少;在声明[我的 js 位置]之前"。
我尝试在文档中找到答案、但我没有找到答案。
我使用的是 CCS 9、而文档涉及 ccs4、但无法安装此版本。
是否有人可以解决我的问题?
谢谢你。
This thread has been locked.
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.
器件型号:DRV8302-HC-C2-KIT
工具/软件:Code Composer Studio
您好!
我将此套件与 PM_Sensorless 程序配合使用、但当我尝试在脚本控制台中加载 Java 脚本时、会出现错误消息:
"缺少;在声明[我的 js 位置]之前"。
我尝试在文档中找到答案、但我没有找到答案。
我使用的是 CCS 9、而文档涉及 ccs4、但无法安装此版本。
是否有人可以解决我的问题?
谢谢你。
您可以忽略此选项、将相关变量直接添加到监视窗口以进行调试。 js 只是用于添加观察窗口变量。
或参阅以下代码以更改.js 文件。
//AddWatchWindowVars_F2803x.js
//添加监视窗口变量
expRemoveAll();
expAdd ("EnableFlag"、getDecimal());
expAdd ("DRV_RESET"、getDecimal ());
expAdd ("IsrTicker"、getDecimal());
expAdd ("SpeedRef"、getQValue (24));
expAdd ("VdTesting"、getQValue (24));
expAdd ("VqTesting"、getQValue (24));
expAdd ("cal_offset_a"、getQValue (15));
expAdd ("cal_offset_B"、getQValue (15));
expAdd ("IDREF"、getQValue (24));
expAdd ("IqRef"、getQValue (24));
expAdd ("ls"、getDecimal());
expAdd ("dlog.prescalar"、getDecimal());
expAdd ("pid1_id.term.Ref"、getQValue (24));
expAdd ("pid1_iq.term.Ref"、getQValue (24));
expAdd ("pid1_id.term.FBK"、getQValue (24));
expAdd ("pid1_iq.term.fbk"、getQValue (24));
expAdd ("speed3.估算 速度"、getQValue (24));
expAdd ("pid1_spd.param.kp"、getQValue (24));
expAdd ("pid1_spd.param.Ki"、getQValue (24));