Skip to content

Commit 28f8e17

Browse files
committed
[add] add support of Refnum/UserDefinedRefnumTag Datatype, which could be described as string.
1 parent 45d7b31 commit 28f8e17

9 files changed

+10
-8
lines changed
68 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

CSM API String Arguments Support.lvproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
</Item>
3636
<Item Name="API String Arguments Support.lvlib" Type="Library" URL="../API-String-Arugments-Support/API String Arguments Support.lvlib"/>
3737
<Item Name="CSM API String Arguments Support.vipb" Type="Document" URL="../CSM API String Arguments Support.vipb"/>
38+
<Item Name="README(CN).md" Type="Document" URL="../README(CN).md"/>
3839
<Item Name="README.md" Type="Document" URL="../README.md"/>
3940
<Item Name="Dependencies" Type="Dependencies">
4041
<Item Name="user.lib" Type="Folder">

CSM API String Arguments Support.vipb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-08-12 17:59:50" Modified_Date="2025-05-06 22:14:14" Creator="yaoli" Comments="" ID="f6199f403d021f23a68b11b419bbce8c">
1+
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-08-12 17:59:50" Modified_Date="2025-05-08 22:48:13" Creator="yaoli" Comments="" ID="5f63659755bc7b19004cebad66531274">
22
<Library_General_Settings>
33
<Package_File_Name>NEVSTOP_lib_CSM_API_String_Arguments_Support</Package_File_Name>
44
<Library_Version>2025.5.0.2</Library_Version>
@@ -53,7 +53,8 @@ More information for the supported datatype format, please visit: https://github
5353
<Copyright/>
5454
<Packager>NEVSTOP</Packager>
5555
<URL>https://github.com/NEVSTOP-LAB/CSM-API-String-Arugments-Support</URL>
56-
<Release_Notes>[fix] #82 NoTag Mode Cluster string like "c:/abcde.txt;True" will now be converted correctly</Release_Notes>
56+
<Release_Notes>[add] add support of Refnum/UserDefinedRefnumTag Datatype, which could be described as string.
57+
[fix] #82 NoTag Mode Cluster string like "c:/abcde.txt;True" will now be converted correctly</Release_Notes>
5758
</Description>
5859
<Destinations>
5960
<Toolkit_VIs>

README(CN).md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
- 路径(Path)
2020
- 布尔(Boolean)
2121
- 标签(Tag)
22-
- Refnum(IVI/VISA)
22+
- Refnum(IVI/VISA/UserDefinedRefnumTag)
2323
- 整数(I8,I16,I32,I64,U8,U16,U32,U64)
2424
- 浮点数(DBL/SGL)
2525
- 复数(DBL/SGL)
@@ -29,12 +29,12 @@
2929
- 簇(Cluster)
3030
- 其他(使用CSM-Hexstr)
3131

32-
### 字符串(String)/路径(Path)/Refnum(IVI/VISA)/标签(Tag)
32+
### 字符串(String)/路径(Path)/Refnum(IVI/VISA/UserDefinedRefnumTag)/标签(Tag)
3333

3434
字符串/路径遵循CSM的规则。'->|' '->' '-@' '-&' '>>' ',' ';' 在传递之前应该被替换为 %[Hex] 字符串。效果与使用 **CSM AdvanceAPI\CSM Make String Arguments Safe.vi** 相同。
3535

3636
> [!NOTE]
37-
> LabVIEW 的 Refnum(IVI/VISA) 和标签(Tag) 也支持,规则与 String 类型相同。
37+
> LabVIEW 的 Refnum(IVI/VISA/UserDefinedRefnumTag) 和标签(Tag) 也支持,规则与 String 类型相同。
3838
3939
### 布尔(Boolean)
4040

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Two more templates which include "Data: Get Configuration", "Data: Set Configura
1717
- String
1818
- Path
1919
- Tag
20-
- Refnum(IVI/VISA)
20+
- Refnum(IVI/VISA/UserDefinedRefnumTag)
2121
- Boolean
2222
- Integer(I8,I16,I32,I64,U8,U16,U32,U64)
2323
- Float(DBL/SGL)
@@ -28,12 +28,12 @@ Two more templates which include "Data: Get Configuration", "Data: Set Configura
2828
- Cluster
2929
- Other(use CSM-Hexstr)
3030

31-
### String/Path/Refnum(IVI/VISA)/Tag
31+
### String/Path/Refnum(IVI/VISA/UserDefinedRefnumTag)/Tag
3232

3333
For String/Path datatype, CSM Key words '->|' '->' '-@' '-&' '>>' ',' ';' will be replaced with %[Hex] String before passing, which is as same as using **CSM AdvanceAPI\CSM Make String Arguments Safe.vi**.
3434

3535
> [!NOTE]
36-
> Refnum(IVI/VISA) and Tag also support, and the rule is the same as String type.
36+
> Refnum(IVI/VISA/UserDefinedRefnumTag) and Tag also support, and the rule is the same as String type.
3737
3838
### Boolean
3939

0 commit comments

Comments
 (0)