From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Actor Framework Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Proposing a change to Launch Actor.vi: No more required caller input?

I see what you mean.  Much of the information I move by messages has "notifier-like" requirements.  So getting updates 1 and 3 and dropping 2 is often fine (in fact desirable), but 1,3,2 is very bad.  Dropping 3 for any reason is also bad, so I wouldn't say that "lossy" communication is OK between actors, just that some types of "stale" messages can be dropped.

0 Kudos
Message 51 of 54
(498 Views)

AristosQueue wrote:

Information from multiple senders is not the issue.

Just pointing out that information from multiple senders is a very important issue that many QSM/QMH programmers get wrong, it's just not the issue being discussed here.

AristosQueue wrote:

I have yet to find any scenario where information *from the same sender* going to *the same recipient* has value when it arrives out of order.

I agree out of order messages doesn't add value to the information being transported, but I wouldn't go so far as to say there's no value in allowing messages to arrive out of order.  Messages arriving out of order is a side-effect of transporting messages through an environment that is unpredictable, such as the internet.  Out of order messages is an obstacle to overcome, not an ideal to strive for.

Fortunately, LV queues provide a very predictable environment for us to transport messages so we don't have to worry about it. 

0 Kudos
Message 52 of 54
(498 Views)

Well, I still like "Launch Top-level Actor", but I'd happily settle for "Launch Root Actor".

"Callerless"? Awful.

0 Kudos
Message 53 of 54
(498 Views)

I agree with adding a "Launch Top Level Actor" method.

Frankly, though, anyone that can't understand the way it is now will find AF quite challenging.

Casey

Casey Lamers


Phoenix, LLC


casey.lamers@phoenixwi.com


CLA, LabVIEW Champion


Check Out the Software Engineering Processes, Architecture, and Design track at NIWeek. 2018 I guarantee you will learn things you can use daily! I will be presenting!

0 Kudos
Message 54 of 54
(498 Views)