Skip to content

Commit 2ca22f4

Browse files
committed
4.3 CSM API String to Complex Numeric.vi
1 parent 8e9423b commit 2ca22f4

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed
Binary file not shown.

help/NEVSTOP/Communicable State Machine(CSM)/Examples/Addons - API String Arguments Support(CN).md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,18 @@ e、-e、pi、-pi、inf、+inf、-inf 和 NaN 等特殊浮点数值不支持单
131131
- step1: 不同情况的浮点数单位转换测试
132132
- step2:API String中的转换依赖于 String To Float_csm.vi,可以在函数选板找到这个函数。
133133

134-
###
134+
### 复数(4.3 CSM API String to Complex Numeric.vi)
135+
136+
#### Overview
137+
138+
本范例用于演示 APIString 对于复数的支持。
139+
140+
#### Introduction
141+
142+
API String 支持复数类型。a+bi 或 a-bi 格式表示复数。其中 a 和 b 支持所有浮点数的表达方式。
143+
144+
特殊情况说明:
145+
- 空字符串将转换为原型(Prototype)的输入值。
146+
- 标签-数据对(Tag:Value)可以被正确解析。标签仅用于提高可读性,转换过程中会被忽略。
147+
148+
###

0 commit comments

Comments
 (0)