Actor Framework Discussions

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Interface for Actors

解決済み
解決策を見る

When interfaces were first introduced, I thought I recalled seeing a demo where there was a menu option that allowed users to create an "Interface for Actor", but I never saw it during development. In fact, I even recall someone asking about it in another post, but nothing ever being resolved. This option would not only add the interface file, but place it within a lvlib file that also contains a virtual folder for actor messages.

 

Well, a couple of us at Zyah Solutions were poking around recently and, low and behold, the code for such an option actually ships with LabVIEW, but for whatever reason, the GProvider INI file to enable it doesn't. Well, I created an INI file to enable it and it seems to work as expected so I'm sharing it here in case other people would find this useful.

 

Just put the attached file in "[LabVIEW Path]\resource\Framework\Providers\GProviders" (LV2020+ only), restart LabVIEW, and you should see the following option if you right-click your target:

CaseyM_0-1663885552539.png

 

I'll probably put this in a VIP later to make it easier to install, but figured this is useful just as an INI file for now.

 

Enjoy and let me know if anyone finds any issues with it.

CLA CLED AF Guild
メッセージ1/16
7,620件の閲覧回数

Thanks, Casey!

 

I'll try this out soon and report back if I see anything weird.

0 件の賞賛
メッセージ2/16
7,606件の閲覧回数
解決策
トピック作成者CaseyMが受理

Here it is as a VIP as well (soon to be on VIPM.io).

CLA CLED AF Guild
0 件の賞賛
メッセージ3/16
7,604件の閲覧回数

You've got to be kidding me.

I don't recall who wrote the G code (I think Allen), but I knew it existed. At some point I must have patched my personal system and just forgotten to submit the config file for the rest of you. And then I just never had cause to use it for any work projects.

 

Have you told NI so they can enable it in the newer versions?

0 件の賞賛
メッセージ4/16
7,574件の閲覧回数

I let Darren know about it so he's looking into it. 

CLA CLED AF Guild
0 件の賞賛
メッセージ5/16
7,572件の閲覧回数

@AristosQueue wrote:

 

I don't recall who wrote the G code (I think Allen),


I don't recall writing that code, either.  Interfaces came long after I stopped working on the provider.  OTOH, it would have been stupid easy to write - just copy over much of what I wrote for adding actors.

 

Maybe the old girl wrote it herself?  You did tell me once that the compiler had long since passed the point where it was smarter than the people who worked on it...

0 件の賞賛
メッセージ6/16
7,516件の閲覧回数
解決策
トピック作成者CaseyMが受理

FYI to all, LabVIEW R&D has added this feature to their backlog. Thanks to Casey posting the INI file, it should be relatively low-hanging fruit to be added to a future LabVIEW release... the main work left to be done is to create some tests for the feature.

0 件の賞賛
メッセージ7/16
7,464件の閲覧回数

Here on LV2023Q3 and there is still no 'Interface for Actor' menu.

Was some alternative introduced?

Actor Framework
0 件の賞賛
メッセージ8/16
5,207件の閲覧回数

Hmmm... Maybe Darren can speak to the NI side of things, but in the meantime the VIP I posted should still work I think: 

https://www.vipm.io/package/zyah_solutions_lib_interface_for_actor_ini/

CLA CLED AF Guild
メッセージ9/16
5,200件の閲覧回数

I haven't heard of any work being done on this. But I left LabVIEW R&D four years ago, so I'm not up to speed on the latest feature scheduling and prioritization. 

0 件の賞賛
メッセージ10/16
5,176件の閲覧回数