EN 776 documents

Engine Help Category: OSComPort

Filtered overview of the Engine Help documentation.

← Back to Engine Help overview

16 documents found

@CloseOSComPort

Function Version 3.00

Closes the Device with the OSCOMHANDLE OSCOMHANDLE1 and returns the closed OSCOMHANDLE.

@GetOSComPortEvent

Function Version 3.00

Returns which events have occurred since the last call with the same OSCOMHANDLE OSCOMHANDLE1. Events: Bit   Decimal   Hex   EVENT 1   1   1   Char received    2   2   2   ReceiveTimeoutInterrupt (NOT SUPPORTED BY NT UND …

@GetOSComPortInfo

Function Version 3.00

Returns the settings of the COMPORTS with the COSCOMPORTHANDLE COSCOMPORTHANDLE1. FNWRTO1: Write timeout (specified ?? normally 6000) Under NT this is the WriteTotalTimeoutConstant. See http://msdn2.microsoft.com/en-us/l …

@GetOSComPortInQueCount

Function Version 3.00

Returns the number the bytes that are available at the time of the call of @GetOSComPortInQueCount to retrieval with @ReadOSComPort were available.

@GetOSComPortLineInfo

Function Version 3.00

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 ??? Examp …

@GetOSComPortOutQueCount

Function Version 3.00

Returns the number the bytes that are available at the time of the call of @GetOSComPortOutQueCount to transmission (at the entfernte System) im OSCOM-Puffer anstehen.

@GetOSComPortStatus

Function Version 3.00

Returns the Status of the OSCOM-PORT. Bit             meaning 1               TX_WAITING_FOR_CTS 2               TX_WAITING_FOR_DSR 3               TX_WAITING_FOR_DCD 4               TX_WAITING_FOR_XON 5               TX …

@OpenOSComPort

Function Version 3.00

Opens the DEVICE with the OSCOMPORTNAME OSCOMPORTNAME und outputs einen OSCOMHANDLE for it.

@ReadOSComPort

Function Version 3.00

RETTYPE2: A=TEXT B=BINARY (currently as RICHTEXT) N=NUMBER F=FLOAT L=FLOAT (converted long) D=FLOAT (converted DWORD) T=TIMEDATE STATUS4: 0=OK 1=Read Timeout expired 2=TEXT limit reached (only in TEXT mode) 32768=Error I …

@SetOSComPortInfo

Function Version 3.00

FNWRTO1: Write timeout (values ?? usually 6000) Under NT, this is WriteTotalTimeoutConstant. See http://msdn2.microsoft.com/en-us/library/ms885171.aspx. FNRETO1: Read timeout (values ?? usually 6000) Under NT, this is Re …

@SetOSComPortLineInfo

Function Version 3.00

Sets the port info for an OSCOMPORT (device). FNDATA1: Data bits: 7 or 8 FNPARITY1: Parity bits (unclear) 0 = 1 bit, 2 = 2 bits ??? FNSTOP1: Stop bits (unclear) 0 = 1 bit, 2 = 2 bits ??? FNTBREAK1 (TransBreak): Unclear ? …

@SetOSComPortSpeed

Function Version 3.00

Ret:=@SetOSComPortSpeed(com1;2400); Note : This text was machine-translated and may contain inaccuracies.

@StartOSComPortTransmit

Function Version 3.00

Starts buffering and transmission (with handshake, etc.) for the COM port identified by OSCOMHANDLE OSCOMHANDLE1.

@StopOSComPortTransmit

Function Version 3.00

Stops buffering and transmission (with handshake, etc.) for the COM port identified by OSCOMHANDLE OSCOMHANDLE1.

@WriteOSComPort

Function Version 3.00

Example: @WriteOSComPort(OSCOMHANDLE1;TEXT2) OSCOMHANDLE1:=@OpenOSComPort("COM1"); TEXT2:="TestText"; @WriteOSComPort(OSCOMHANDLE1;TEXT2); FILEHANDLE1:=@CloseOSComPort(OSCOMHANDLE1); Opens a COM port, writes "TestText" t …