Function EN Version 3.00

@GetOSComPortLineInfo

OSComPort

Syntax

@GetOSComPortLineInfo(OSCOMHANDLE1;FNDATA1;FNPARITY1;FNSTOP1;FNTBREAK1)

Description

Returns the PortInfo to einem OSCOMPORT (Device).

FNDATA1:
Data Bits 7 or 8

FNPARITY1:
Parity Bits (unklar) 0 =1 Bit 2 =2 Bit ???

FNSTOP1:
Stop Bits (unklar) 0 =1 Bit 2 =2 Bit ???

FNTBREAK1 (TransBreak):
Unklar ???

Example

Ret:=@GetOSComPortlineInfo(com1;P1;P2;P3;P4);
@LogReport(Ret;3);
@LogReport("DATA :"+@Text(P1);3);
@LogReport("PARITY:"+@Text(P2);3);
@LogReport("STOP :"+@Text(P3);3);
@LogReport("TBREAK:"+@Text(P4);3);

Note : This text was machine-translated and may contain inaccuracies.