Skip to content

Commit 5630851

Browse files
committed
Removed unused Async Message property write methods, Added a "Async Message Settings" to be used by the LS AF Message Maker to create send methods for the concrete Async Messages
1 parent e63caee commit 5630851

17 files changed

Lines changed: 34 additions & 40 deletions
Binary file not shown.

Async Methods Actor Release Notes.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
Async Methods Actor Release Notes
2+
v1.0.0
3+
- Removed unused Async Message property write methods
4+
- Added a "Async Message Settings" to be used by the LS AF Message Maker to create send methods for the concrete Async Messages
25
v0.3.0
36
- Introduced a "VI Refnum Lifetime" enumeration which can take values "Destroy on Exit", " Destroy on Actor Exit ", and “Destroy on Application Exit”. This enumeration dictates the lifetime strategy adopted for the VI Server Refnum of the Async Method. In the first case the "Async Methods Actor" destroys the reference as soon as the Async Method exits, in the second case the VI Refnums will be destroyed once the “Async Method Actor” exits, while in the last case, VI Refnums are never destroyed. “Destroy on Exit” is the default option when un-wired. The motivation for this setting is related to the required lifetimes of the refnums (e.g. notifier’s references) created within the Async Method. This lifetime is the same as the VI Refnum lifetime, hence if we want they outlive the execution of the Async Method we have to set it to either “Destroy on Actor Exit” or “Destroy on Application Exit”. This option applies only to Async Methods called with the “Call and Collect” option (Issue # 3)
47
- Added the functionality of reporting the standard error output of the Async Method to the calling actor (Issue #4)

Async Methods Actor.aliases

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[My Computer]
2-
My Computer = "172.22.64.1"
2+
My Computer = "192.168.93.1"

Async Methods Actor.lvproj

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
<Item Name="README.md" Type="Document" URL="../README.md"/>
2828
<Item Name="Dependencies" Type="Dependencies">
2929
<Item Name="user.lib" Type="Folder">
30-
<Item Name="Clear All Errors__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/error/error.llb/Clear All Errors__ogtk.vi"/>
31-
<Item Name="LVOOP Is Same Or Descendant Class__ogtk.vi" Type="VI" URL="/&lt;userlib&gt;/_OpenG.lib/lvdata/lvdata.llb/LVOOP Is Same Or Descendant Class__ogtk.vi"/>
30+
<Item Name="openg_error.lvlib" Type="Library" URL="/&lt;userlib&gt;/_OpenG.lib/error/error.llb/openg_error.lvlib"/>
31+
<Item Name="openg_variant.lvlib" Type="Library" URL="/&lt;userlib&gt;/_OpenG.lib/lvdata/lvdata.llb/openg_variant.lvlib"/>
3232
</Item>
3333
<Item Name="vi.lib" Type="Folder">
3434
<Item Name="Actor Framework.lvlib" Type="Library" URL="/&lt;vilib&gt;/ActorFramework/Actor Framework.lvlib"/>
@@ -79,12 +79,19 @@
7979
<Item Name="General Error Handler.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/General Error Handler.vi"/>
8080
<Item Name="Simple Error Handler.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Simple Error Handler.vi"/>
8181
<Item Name="Trim Whitespace One-Sided.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/error.llb/Trim Whitespace One-Sided.vi"/>
82+
<Item Name="Get LV Class Default Value By Name.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/LVClass/Get LV Class Default Value By Name.vi"/>
83+
<Item Name="NI_Data Type.lvlib" Type="Library" URL="/&lt;vilib&gt;/Utility/Data Type/NI_Data Type.lvlib"/>
84+
<Item Name="LV70DateRecToTimeStamp.vi" Type="VI" URL="/&lt;vilib&gt;/_oldvers/_oldvers.llb/LV70DateRecToTimeStamp.vi"/>
85+
<Item Name="LVDateTimeRec.ctl" Type="VI" URL="/&lt;vilib&gt;/Utility/miscctls.llb/LVDateTimeRec.ctl"/>
86+
<Item Name="VariantType.lvlib" Type="Library" URL="/&lt;vilib&gt;/Utility/VariantDataType/VariantType.lvlib"/>
87+
<Item Name="Qualified Name Array To Single String.vi" Type="VI" URL="/&lt;vilib&gt;/Utility/LVClass/Qualified Name Array To Single String.vi"/>
8288
</Item>
8389
<Item Name="AF Debug.lvlib" Type="Library" URL="/&lt;resource&gt;/AFDebug/AF Debug.lvlib"/>
8490
<Item Name="LV Config Read String.vi" Type="VI" URL="/&lt;resource&gt;/dialog/lvconfig.llb/LV Config Read String.vi"/>
8591
<Item Name="systemLogging.dll" Type="Document" URL="systemLogging.dll">
8692
<Property Name="NI.PreserveRelativePath" Type="Bool">true</Property>
8793
</Item>
94+
<Item Name="Write Async Call Method.vi" Type="VI" URL="../Async Methods Actor/Async Methods Actor Messages/Async Message/Write Async Call Method.vi"/>
8895
</Item>
8996
<Item Name="Build Specifications" Type="Build"/>
9097
</Item>

Async Methods Actor.vipb

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-10-03 17:40:35" Modified_Date="2024-05-05 14:58:24" Creator="AndreaVaccaro(LSInst" Comments="" ID="2f087cd37d4406a0de4bb016e58eb113">
1+
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-10-03 17:40:35" Modified_Date="2025-10-07 17:41:27" Creator="AndreaVaccaro(LSInst" Comments="" ID="369d7f232666b2d709080b00b0447082">
22
<Library_General_Settings>
33
<Package_File_Name>LS_Instruments_AG_lib_Async_Methods_Actor</Package_File_Name>
4-
<Library_Version>0.3.0.5</Library_Version>
4+
<Library_Version>1.0.0.2</Library_Version>
55
<Auto_Increment_Version>false</Auto_Increment_Version>
66
<Library_Source_Folder>.</Library_Source_Folder>
77
<Library_Output_Folder>vipm packages</Library_Output_Folder>
@@ -38,9 +38,8 @@
3838
<Copyright/>
3939
<Packager>Andrea Vaccaro</Packager>
4040
<URL>https://github.com/LS-Instruments/Async-Methods-Actor</URL>
41-
<Release_Notes>- Introduced a "VI Refnum Lifetime" enumeration which can take values "Destroy on Exit", " Destroy on Actor Exit ", and �Destroy on Application Exit�. This enumeration dictates the lifetime strategy adopted for the VI Server Refnum of the Async Method. In the first case the "Async Methods Actor" destroys the reference as soon as the Async Method exits, in the second case the VI Refnums will be destroyed once the �Async Method Actor� exits, while in the last case, VI Refnums are never destroyed. �Destroy on Exit� is the default option when un-wired. The motivation for this setting is related to the required lifetimes of the refnums (e.g. notifier�s references) created within the Async Method. This lifetime is the same as the VI Refnum lifetime, hence if we want they outlive the execution of the Async Method we have to set it to either �Destroy on Actor Exit� or �Destroy on Application Exit�. This option applies only to Async Methods called with the �Call and Collect� option (Issue # 3)
42-
- Added the functionality of reporting the standard error output of the Async Method to the calling actor (Issue #4)
43-
- Added the ability to to access the error in the Async Method standard output form within the "Completion Notification Msg" message. A further abstract subclass called "Compl Notif with Error Msg" was introduced whose Do.vi method merges the standard error output of the Async Method executed and that defines a new dynamic dispatch method to be overridden, called "Actor Core.vi" to implement a caller Actor method call (Issue #1)</Release_Notes>
41+
<Release_Notes>- Removed unused Async Message property write methods
42+
- Added a "Async Message Settings" to be used by the LS AF Message Maker to create send methods for the concrete Async Messages</Release_Notes>
4443
</Description>
4544
<Destinations>
4645
<Toolkit_VIs>
@@ -302,7 +301,7 @@
302301
<Path>Async Methods Actor\Async Methods Actor Palette\Completion Notification Msg.vi</Path>
303302
<VI_Title/>
304303
</Items_Data>
305-
<GUID>6A60AB8574299CB8C528F54D620C397F</GUID>
304+
<GUID>9D069D404F8FA8E51C71F20EFCE1EEE5</GUID>
306305
</Functions_Palette_Data>
307306
<Functions_Palette_Data>
308307
<Parent_Palette_Index>0</Parent_Palette_Index>
@@ -337,7 +336,7 @@
337336
<Path>Async Methods Actor\Async Methods Actor Palette\Open Example.vi</Path>
338337
<VI_Title/>
339338
</Items_Data>
340-
<GUID>5EBA6AC249EB99ECC6AEAEE042A33B34</GUID>
339+
<GUID>95E081291A0843B2C06DD31DA0E525BE</GUID>
341340
</Functions_Palette_Data>
342341
<Controls_Palette_Data>
343342
<Parent_Palette_Index>-1</Parent_Palette_Index>
@@ -442,7 +441,7 @@
442441
<Path>Async Methods Actor\Async Methods Actor Palette\Compl Notif with Error Msg.vi</Path>
443442
<VI_Title/>
444443
</Items_Data>
445-
<GUID>2AB3D93A59F92C9ECF9C8DAEADD6A585</GUID>
444+
<GUID>E75B2E7CB2EB9106ADB2B811717497B7</GUID>
446445
</Controls_Palette_Data>
447446
</Library_Palette_Definition>
448447
</VI_Package_Builder_Settings>

Async Methods Actor.vipc

13 Bytes
Binary file not shown.
Binary file not shown.

Async Methods Actor/Async Methods Actor Messages/Async Message/Async Message.lvclass

Lines changed: 11 additions & 29 deletions
Large diffs are not rendered by default.
Binary file not shown.

0 commit comments

Comments
 (0)