If the simulation would continue afterwards, the SENVAL output would give you the time at which the sensor triggered. But if the simulation is stopped, it seems that it does not give you anything.
It all depends on where you need the value.
If you need it during the continuation of the simulation, you can use the SENVAL.
If you need it afterwards during postprocessing, you could instead just take the last value of the TIME output from the analysis. You can get this by using this expression:
If the simulation would continue afterwards, the SENVAL output would give you the time at which the sensor triggered. But if the simulation is stopped, it seems that it does not give you anything.
It all depends on where you need the value.
If you need it during the continuation of the simulation, you can use the SENVAL.
If you need it afterwards during postprocessing, you could instead just take the last value of the TIME output from the analysis. You can get this by using this expression: