Skip to content

Commit 2da8f54

Browse files
committed
Merge branch 'Dev202406' of https://github.com/NEVSTOP-LAB/CSM-API-String-Arguments-Support into Dev202406
2 parents 9961afe + 3a17cd9 commit 2da8f54

10 files changed

+17
-6
lines changed

API-String-Arugments-Support/API String Arguments Support.lvlib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
<Item Name="Query Data as API String Arguments(variant).vi" Type="VI" URL="../_Support/Query Data as API String Arguments(variant).vi"/>
2121
<Item Name="Boolean Strings.vi" Type="VI" URL="../_Support/Boolean Strings.vi"/>
2222
<Item Name="Float Precision.vi" Type="VI" URL="../_Support/Float Precision.vi"/>
23-
<Item Name="API String Config Global.vi" Type="VI" URL="../_Support/API String Config Global.vi"/>
2423
<Item Name="Compare Two Numbers_csm.vim" Type="VI" URL="../_Support/Compare Two Numbers_csm.vim"/>
2524
<Item Name="Concatenate Strings If not Empty_csm.vi" Type="VI" URL="../_Support/Concatenate Strings If not Empty_csm.vi"/>
2625
<Item Name="Data To SingleElementsArray_csm.vi" Type="VI" URL="../_Support/Data To SingleElementsArray_csm.vi"/>
@@ -31,6 +30,7 @@
3130
<Item Name="String to Boolean_csm.vi" Type="VI" URL="../_Support/String to Boolean_csm.vi"/>
3231
<Item Name="String To Float_csm.vi" Type="VI" URL="../_Support/String To Float_csm.vi"/>
3332
<Item Name="String To Number(I64)_csm.vi" Type="VI" URL="../_Support/String To Number(I64)_csm.vi"/>
33+
<Item Name="Strip Tag in Tag Value Pair.vi" Type="VI" URL="../_Support/Strip Tag in Tag Value Pair.vi"/>
3434
</Item>
3535
<Item Name="Configure" Type="Folder">
3636
<Item Name="API String - Add Boolean Strings.vi" Type="VI" URL="../API String - Add Boolean Strings.vi"/>
Binary file not shown.
-4.39 KB
Binary file not shown.
8 Bytes
Binary file not shown.
Binary file not shown.
80 Bytes
Binary file not shown.
Binary file not shown.

CSM API String Arguments Support.vipb

Lines changed: 3 additions & 3 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="2024-06-12 22:40:54" Creator="yaoli" Comments="" ID="41c81fa912904815ef7e9d1ca3f9d965">
1+
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-08-12 17:59:50" Modified_Date="2024-06-19 22:42:48" Creator="yaoli" Comments="" ID="d11f890643873e05e5554c16c4c23894">
22
<Library_General_Settings>
33
<Package_File_Name>NEVSTOP_lib_CSM_API_String_Arguments_Support</Package_File_Name>
44
<Library_Version>2024.5.0.15</Library_Version>
@@ -60,7 +60,8 @@ More information for the supported datatype format, please visit: https://github
6060
<URL>https://github.com/NEVSTOP-LAB/CSM-API-String-Arugments-Support</URL>
6161
<Release_Notes>[add] #43 Add boolean strings setting API
6262
[add] #42 Add float precision setting API
63-
[update] #41 Float String with Unit now is supported
63+
[add] #48 For Boolean,Integer,Float,Complex, tag-value pair is now supported.
64+
[update] #41 Float String with Unit now is supported
6465
[fix] #44 The bugs in cluster tag:value mode have been fixed to prevent unnecessary error reporting.
6566
[fix] #46 #47 fix templates names in New VI Dialog</Release_Notes>
6667
</Description>
@@ -257,7 +258,6 @@ More information for the supported datatype format, please visit: https://github
257258
<close_labview_before_install>false</close_labview_before_install>
258259
<restart_labview_after_install>false</restart_labview_after_install>
259260
<skip_mass_compile_after_install>false</skip_mass_compile_after_install>
260-
<install_into_global_environment>false</install_into_global_environment>
261261
</LabVIEW>
262262
<VI_Docs>
263263
<Edit_VI_Description>true</Edit_VI_Description>
-28 Bytes
Binary file not shown.

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ TRUE/FALSE String Pairs:
4848
> [!NOTE]
4949
> You can use `API String - Add Boolean Strings.vi` or `API String - Remove Boolean Strings.vi` to set your own boolean string to be used.
5050
51+
> [!NOTE]
52+
> Tag-value pair could be parsed correctly. Tag will be stripped before conversion.
53+
5154
### Integer
5255

5356
_**special case**_:
@@ -68,6 +71,8 @@ Supported format:
6871
- 1M
6972
```
7073

74+
> [!NOTE]
75+
> Tag-value pair could be parsed correctly. Tag will be stripped before conversion.
7176
7277
### Float(DBL/SGL)
7378

@@ -102,7 +107,11 @@ Supported Format:
102107
> [!NOTE]
103108
> Default precision is 6. You can change it by `API String - Set Float Precision.vi`
104109
105-
Float String with Unit is also supported.
110+
> [!NOTE]
111+
> Tag-value pair could be parsed correctly. Tag will be stripped before conversion.
112+
113+
> [!NOTE]
114+
> Float String with Unit is also supported.
106115
107116
_**special case**_:
108117

@@ -118,7 +127,6 @@ _**special case**_:
118127
119128
- Unit is not supported for `e`,`-e`,`pi`,`-pi`,`inf`,`+inf`,`-inf`,`NaN`
120129

121-
122130
### Complex(DBL/SGL)
123131

124132
String of `a+bi` or `a-bi` stands of complex data type. `a` and `b` is supporting all Float format.
@@ -127,6 +135,9 @@ _**special case**_:
127135

128136
- For Complex, empty string will be converted to the input prototype value
129137

138+
> [!NOTE]
139+
> Tag-value pair could be parsed correctly. Tag will be stripped before conversion.
140+
130141
### Timestamp
131142

132143
_**special case**_:

0 commit comments

Comments
 (0)