ph_comdtr PowerHome formula function
Description
Enables or disables the DTR (data terminal ready) line for the specified COM control.
Syntax
ph_comdtr ( comnum, dtrvalue )
Argument Description
comnum The number of the COM control you are referencing. Valid values are 1 thru 5.
dtrvalue Use 0 to disable the DTR line. Any other value will enable the DTR line.
Return value
Integer. Returns 0 if successful. Returns 1 if a comnum < 1 or > 5 is specified. Returns 2 if the specified COM control is not valid.