Skip to content

Commit 20839e0

Browse files
author
NEVSTOP
committed
[add] #78 add VISA/IVI/Tag datatype support
1 parent cd017ad commit 20839e0

13 files changed

+14
-4
lines changed
Binary file not shown.
Binary file not shown.

CSM API String Arguments Support.vipb

Lines changed: 2 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-03-14 10:42:38" Creator="yaoli" Comments="" ID="6b0eb52a45d9ffc3de2ee2600028ae7e">
1+
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-08-12 17:59:50" Modified_Date="2025-03-14 14:31:02" Creator="yaoli" Comments="" ID="72402abcea34045fd96bced42ee2401c">
22
<Library_General_Settings>
33
<Package_File_Name>NEVSTOP_lib_CSM_API_String_Arguments_Support</Package_File_Name>
44
<Library_Version>2025.3.0.15</Library_Version>
@@ -53,7 +53,7 @@ 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/>
56+
<Release_Notes>[add] #78 add VISA/IVI/Tag datatype support</Release_Notes>
5757
</Description>
5858
<Destinations>
5959
<Toolkit_VIs>

README(CN).md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
- 字符串(String)
1919
- 路径(Path)
2020
- 布尔(Boolean)
21+
- 标签(Tag)
22+
- Refnum(IVI/VISA)
2123
- 整数(I8,I16,I32,I64,U8,U16,U32,U64)
2224
- 浮点数(DBL/SGL)
2325
- 复数(DBL/SGL)
@@ -27,10 +29,13 @@
2729
- 簇(Cluster)
2830
- 其他(使用CSM-Hexstr)
2931

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

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

36+
> [!NOTE]
37+
> LabVIEW 的 Refnum(IVI/VISA) 和标签(Tag) 也支持,规则与 String 类型相同。
38+
3439
### 布尔(Boolean)
3540

3641
内置的TRUE/FALSE字符串:

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Two more templates which include "Data: Get Configuration", "Data: Set Configura
1616

1717
- String
1818
- Path
19+
- Tag
20+
- Refnum(IVI/VISA)
1921
- Boolean
2022
- Integer(I8,I16,I32,I64,U8,U16,U32,U64)
2123
- Float(DBL/SGL)
@@ -26,10 +28,13 @@ Two more templates which include "Data: Get Configuration", "Data: Set Configura
2628
- Cluster
2729
- Other(use CSM-Hexstr)
2830

29-
### String/Path
31+
### String/Path/Refnum(IVI/VISA)/Tag
3032

3133
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**.
3234

35+
> [!NOTE]
36+
> Refnum(IVI/VISA) and Tag also support, and the rule is the same as String type.
37+
3338
### Boolean
3439

3540
Predefined TRUE/FALSE String Pairs:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)