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.

[参考译文] GUI Composer Q 值数学运算

Guru**** 2614915 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/simulation-hardware-system-design-tools-group/sim-hw-system-design/f/simulation-hardware-system-design-tools-forum/829496/gui-composer-q-math-for-values

将值绑定到显示(或测量仪表)时、Q Math 的表达式工作正常。 例如、通过 JSON 串行链路将值{"val":7}发送到.$Q1值将显示3.5。  但在另一个方向上,如果有数字框,并且有绑定.$Q1,则输入3.5,将导致包含 q 位置和值3.5的 JSON 字符串。 为什么不转换为整数?