Is it possible to know where a programmable block was called from in the script?
So in this case I have a sensor named "assignment A" and it calls the pb with the argument "OpenDoor" a generic call for all sensors with the same function on the grid.
I then want to search for a door with name contains "assignment A" taken in this case from the name of the sensor that sent the run command.
So in this case I only need to setup the names of sensors and doors to match without having to...
Detecting where a program run was called from.
So in this case I have a sensor named "assignment A" and it calls the pb with the argument "OpenDoor" a generic call for all sensors with the same function on the grid.
I then want to search for a door with name contains "assignment A" taken in this case from the name of the sensor that sent the run command.
So in this case I only need to setup the names of sensors and doors to match without having to...
Detecting where a program run was called from.