Set Script Control Mode

serial.control(portn, scripted)

Controls whether the COM port is under script control.

Parameter Type Description
portn integer Port number, 1-4
scripted boolean true for manual control

When under script control, all outputs - DCE/DTE, RTS, DTR - will be purely under script control.