... port and set parameters for serial communication. [Parameters] intCom : serial communication port number; dwBaudRate : baud rate; byParity : parity; byDataBit : data bits; byStopBit : stop bits; byFlowControl : fl ow control; lpdwSysError : system error returned. thanks
... [1..16] of BYTE; // Nome do terminal end; type TSetupSerial = packed record baud: DWORD; // Baud Rate: 1200 a 115.200 bits: WORD; // Data Bits parity: WORD; // Paridade stops: WORD; // Stop Bits handshaking: BYTE; // 0 = Sem Hand Shaking, 1 = RTS/CTS end; type ARG_COM_SETUPSERIAL = packed record ...
... In fact, I don't understand the most samples concerning serial communication! Even in the help functions I can't find for example to set an EVEN parity? I hoped to get some input to take the first step to improve that FWPPC can communicate with our vending machine…. DEFINE COMM <oComm> ...
... stream Pass: Nx_port= base port value see IOLib.ch Nbaud= The baud rate divisor see IOLib.ch for standard bauds Ndata=data bits 5 to 8 Nparity= Parity value see IOLib.ch Nstop=number of stop bits Nirq=Interrupt number cIn_buffer= a public String variable 512 bytes or larger, no more than 32k, ...
... LOCAL primero := [ooooooooeoeeooeeoeooeeeooeooeeoeeooeoeeeoooeoeoeoeoeeooeeoeo] LOCAL parity := [eeoooeoeooeooeoeoooeoeeooooeeooooeeoeoeooeooeooeoe] LOCAL l, k, control, n, nCar LOCAL cCode := ::cText LOCAL cBarras := "1011" k := LEFT(ALLTRIM( ...
HOLA A TODOS... ESTOY TRATANDO EN IMPRIMIR EN UN IMPRESORA EPSON LX-300, DE PUERTO COM, PERO NO HE PODIDO.... SOLO ME PASARON ESTE FRAGMENTO DE CODIGO EN CLIPPER Y NO SE COMO ENVIAR DATOS A ESTE PUERTO Y PARA ESTO UTILIZO IOLIB..... ESPERO Y ME PUEDAN AYUDAR.... :oops: :lol: Y GRACIAS POR SU AYUDA.....
... was either no room in the input queue or a character was received after the end-of-file character was received. CE_RXPARITY Hardware detected a parity error. CE_TXFULL Transmission queue was full when a function attempted to queue a character. See Also OpenComm, COMSTAT EMG
Antonio Linares wrote:DLL FUNCTION Online_SetupEx( CommData AS LONG, Port AS LONG, Baudrate AS LONG, Stopbits AS LONG, Parity AS LONG ) AS LONG LIB "C:\OnlineCommManager\OnlineDll.dll"
DLL FUNCTION Online_SetupEx( CommData AS LONG, Port AS LONG, Baudrate AS LONG, Stopbits AS LONG, Parity AS LONG ) AS LONG LIB "C:\OnlineCommManager\OnlineDll.dll"
... (ie. baud rate, stop bits) and how? EMG Enrico Tested on HP IPAQ 6515 I tested port 1 opened OK without any change. No need to set baud, parity...etc If i set 2 or any other value, it will not open correct. If you need any further test, let me know Richard