.Autoclose Property
Function: |
For currently selected serial port (selection is made through ser.num) specifies whether the port will be disabled once the intercharacter gap expires. |
Type: |
dis_en (enum, byte) |
Value Range: |
0- DISABLED (default) 1- ENABLED |
See Also: |
Details
The serial port is disabled by setting ser.enabled= 0- NO. Intercharacter gap duration is specified by the ser.interchardelay property.
This property offers a way to make sure that no further data is received once the gap of certain length is encountered. This property is especially useful in Wiegand or clock/data mode (ser.mode= 1- PL_SER_MODE_WIEGAND or 2- PL_SER_MODE_CLOCKDATA) where intercharacter gap is the only way to reliably identify the end of one data transmission.