Given an \cleaninline{MTDevice} type, a device handle, an \gls{ITASK} \gls{SDS} of the type boolean is created.
This boolean represents the state of the light.
The \gls{MTASK} task uses this \gls{SDS} to turn on or off the light.
An \gls{ITASK} task that runs in parallel allows interactive updating of this state.
Given an \cleaninline{MTDevice} type, a device handle, an \gls{ITASK} \gls{SDS} of the type boolean is created.
This boolean represents the state of the light.
The \gls{MTASK} task uses this \gls{SDS} to turn on or off the light.
An \gls{ITASK} task that runs in parallel allows interactive updating of this state.