Skip to content

Commit

Permalink
Dev 20240111 (#26)
Browse files Browse the repository at this point in the history
* Cluster 如果没找到匹配的项,需要报错 #25

* [update] #25 throw error when data name is not defined in cluster prototype in "Convert API String Arguments to Data“ API
  • Loading branch information
nevstop authored Jan 11, 2024
1 parent 9ef3064 commit a5cf52c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
10 changes: 5 additions & 5 deletions API-String-Arugments-Support/API String Arguments Support.lvlib
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<Property Name="NI.Lib.Version" Type="Str">1.0.0.0</Property>
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Property Name="NI.SortType" Type="Int">3</Property>
<Item Name="Utility" Type="Folder">
<Item Name="CSM - Timestamp to API String Arguments.vi" Type="VI" URL="../CSM - Timestamp to API String Arguments.vi"/>
<Item Name="CSM - Module VI Ref.vi" Type="VI" URL="../CSM - Module VI Ref.vi"/>
<Item Name="CSM - Convert HexStr to Data.vim" Type="VI" URL="../CSM - Convert HexStr to Data.vim"/>
</Item>
<Item Name="Support" Type="Folder">
<Item Name="nevstop" Type="Folder">
<Item Name="Compare Two Numbers_csm.vim" Type="VI" URL="../_Support/Compare Two Numbers_csm.vim"/>
Expand All @@ -22,11 +27,6 @@
<Item Name="Data To API String Arguments.vi" Type="VI" URL="../_Support/Data To API String Arguments.vi"/>
<Item Name="Query Data as API String Arguments(variant).vi" Type="VI" URL="../_Support/Query Data as API String Arguments(variant).vi"/>
</Item>
<Item Name="Utility" Type="Folder">
<Item Name="CSM - Timestamp to API String Arguments.vi" Type="VI" URL="../CSM - Timestamp to API String Arguments.vi"/>
<Item Name="CSM - Module VI Ref.vi" Type="VI" URL="../CSM - Module VI Ref.vi"/>
<Item Name="CSM - Convert HexStr to Data.vim" Type="VI" URL="../CSM - Convert HexStr to Data.vim"/>
</Item>
<Item Name="Convert API String Arguments to Data.vim" Type="VI" URL="../Convert API String Arguments to Data.vim"/>
<Item Name="Convert Data To API String Arguments.vim" Type="VI" URL="../Convert Data To API String Arguments.vim"/>
<Item Name="Query Data as API String Arguments.vim" Type="VI" URL="../Query Data as API String Arguments.vim"/>
Expand Down
Binary file not shown.
5 changes: 3 additions & 2 deletions CSM API String Arguments Support.vipb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-08-12 17:59:50" Modified_Date="2024-01-08 17:29:27" Creator="yaoli" Comments="" ID="e45adc18e056345836f56eed988e730b">
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-08-12 17:59:50" Modified_Date="2024-01-11 11:46:58" Creator="yaoli" Comments="" ID="cfa4f32da8b80f7493a99e44d35f1649">
<Library_General_Settings>
<Package_File_Name>NEVSTOP_lib_CSM_API_String_Arguments_Support</Package_File_Name>
<Library_Version>2024.1.0.15</Library_Version>
Expand Down Expand Up @@ -67,7 +67,8 @@ More information for the supported datatype format, please visit: https://github
[update] #21 Special Float: `e`,`-e`,`pi`,`-pi`,`inf`,`+inf`,`-inf`,`NaN` support
[update] #23 for cluster, if the label is not specified, the string will be converted to first element
[update] For SGL/DBL/Integer/Path/Complex/Array/Cluster, empty string will be converted to the input prototype value
[update] For Timestamp, empty string will be converted to current time.</Release_Notes>
[update] For Timestamp, empty string will be converted to current time.
[update] #25 throw error when data name is not defined in cluster prototype in "Convert API String Arguments to Data�� API</Release_Notes>
</Description>
<Destinations>
<Toolkit_VIs>
Expand Down
Binary file modified Example/Supported Datatype Examples/Test Cases - Cluster.vi
Binary file not shown.
Binary file modified _test/Untitled 12.vi
Binary file not shown.

0 comments on commit a5cf52c

Please sign in to comment.