I am a software engineer writing comments about the behavior of a certain section of code. While doing this, I found myself wanting to express an idea that I couldn't figure out how word in a sensical manner.
The sentence in question is as follows, and concerns the use of Past Progressive arrive using has been:
This is an event that happens when a device is detected as having been arrived (e.g. plugged in)
I know the approach above is grammatically incorrect. A few other attempts are:
[A]... is detected as having recently arrived ...
[B]... is detected as arrived ...
[C]... is detected that is in the "arrived" state ...
[A] is my favorite option so far but something about the wording still feels off, like it needs a been before arrived. [B] appears to grammatically incorrect, though it is more succinct. [C], while grammatically correct, seems unnecessarily verbose and "robotic".
Note: Due to external requirements, the usage of the word "arrive" is necessary
What is the correct way to word that something is just recently present, using the word "arrived"?
Edit 1: As an example, the syntax I am attempting to emulate is as follows:
This is an event that happens when a device is detected as having been removed (e.g. unplugged)
Edit 2: Rewording the statement, rather than keeping the sentence structure in my example, is certainly acceptable. The main requirement is the usage of arrive.
Edit 2.1: Correcting the "which" vs "that" grammar error present in the initial example and initial question as pointed out by @tinfoil hat