08-03-2021 01:40 AM
Hello, I learning to actor framework design pattern.
I study Actor Framework Hands-on documents and open the exercise project.
When I open the some VI, Launch Actor.vi marked "X".
Although I can find the VI file in LabVIEW Project, the code doesn't seem to be executed as an X appears in VI.
Does anyone know about this issue?
I using LabVIEW 2020 and Wind 10.
I lookforward to your reply.
Thank you.
08-03-2021 01:50 AM
Hi Jarvis,
The "X" indicates that the VI in question ("Launch Actor.vi") has been deprecated.
In more recent versions of LabVIEW (for a while now, but I guess not in the example) we're guided to instead use "Launch Root Actor" and "Launch Nested Actor", which are a little simpler and more clearly describe intent.
In this case, you can use Launch Root Actor and you won't need the Queue reference to be created separately.
08-03-2021 11:07 AM
To clarify, Launch Actor.vi is deprecated for production use. It is still used to launch isolated actors as part of unit testing.