In this example, the
setvar
sets
the serial port communications state to
"on"
.
! U1 setvar "comm.pnp_option" "on"
When
the setvar value is set to
"on"
,the
getvarresult
is
"on"
.
Not
all Operating Systems and computer hardware support Plug and Play over
RS‑232 Serial port connections.