Engine Help Category: OSComPort
Filtered overview of the Engine Help documentation.
@CloseOSComPort
Closes the Device with the OSCOMHANDLE OSCOMHANDLE1 and returns the closed OSCOMHANDLE.
@GetOSComPortEvent
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
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
Returns the number the bytes that are available at the time of the call of @GetOSComPortInQueCount to retrieval with @ReadOSComPort were available.
@GetOSComPortLineInfo
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
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.
@GetOSComPortSpeed
Returns the at the OSCOMPORT verwendete Baud-Rate.
@GetOSComPortStatus
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
Opens the DEVICE with the OSCOMPORTNAME OSCOMPORTNAME und outputs einen OSCOMHANDLE for it.
@ReadOSComPort
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
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
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
Ret:=@SetOSComPortSpeed(com1;2400); Note : This text was machine-translated and may contain inaccuracies.
@StartOSComPortTransmit
Starts buffering and transmission (with handshake, etc.) for the COM port identified by OSCOMHANDLE OSCOMHANDLE1.
@StopOSComPortTransmit
Stops buffering and transmission (with handshake, etc.) for the COM port identified by OSCOMHANDLE OSCOMHANDLE1.
@WriteOSComPort
Example: @WriteOSComPort(OSCOMHANDLE1;TEXT2) OSCOMHANDLE1:=@OpenOSComPort("COM1"); TEXT2:="TestText"; @WriteOSComPort(OSCOMHANDLE1;TEXT2); FILEHANDLE1:=@CloseOSComPort(OSCOMHANDLE1); Opens a COM port, writes "TestText" t …
