  We present a protocol to generate and control quantum entanglement between
the states of two subsystems (the system ${\cal S}$) by making measurements on
a third subsystem (the monitor ${\cal M}$), interacting with ${\cal S}$. For
the sake of comparison we consider first an ideal, or instantaneous projective
measurement, as postulated by von Neumann. Then we compare it with the more
realistic or generalized measurement procedure based on photocounting on ${\cal
M}$. Further we consider that the interaction term (between ${\cal S}$ and
${\cal M}$) contains a quantum nondemolition variable of ${\cal S}$ and discuss
the possibility and limitations for reconstructing the initial state of ${\cal
S}$ from information acquired by photocounting on ${\cal M}$.
