Search found 18 matches: baud

Return to advanced search

Re: Ports to 485 with converter USB, please help.

... short outc_size; unsigned char *outc; }; int main(void) { char dev[] = "/dev/ttyS3"; char buffer_to_send[] = { 0x55, 0x00, 0x55 }; int baudrate = B9600; struct rs485_ctrl ctrl485; int status; int fd; struct termios ti; struct termios ti_prev; // Open the serial port fd = open(dev, O_RDWR|O_NONBLOCK); ...
by Busmatic_wpb
Thu Feb 08, 2018 3:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ports to 485 with converter USB, please help.
Replies: 7
Views: 1403

Re: Consulta sobre OpenComm()

... it may return one of the following error values: Value Meaning IE_BADID The device identifier is invalid or unsupported. IE_BAUDRATE The device's baud rate is unsupported. IE_BYTESIZE The specified byte size is invalid. IE_DEFAULT The default parameters are in error. IE_HARDWARE The hardware is ...
by carlos vargas
Thu Jun 15, 2017 10:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre OpenComm()
Replies: 5
Views: 1056

Re: convert C to fivewin

... Open communication 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
by vensanto
Tue May 23, 2017 5:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: convert C to fivewin
Replies: 14
Views: 2304

Cash with protocol Xon-Xoff

How I can link with a cash have protocol Xon(ox11)-Xoff(ox13) ?


BAUD RATE = 9600
PARITA' = NO
STOP BIT = 1
BIT/CAR = 8
HANDSHAKE := CONTROLLO DI FLUSSO XON-XOFF


there is some sample for create it ?
by Silvio.Falconi
Mon Mar 04, 2013 8:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cash with protocol Xon-Xoff
Replies: 4
Views: 1110

Cash with protocol Xon-Xoff

How I can link with a cash have protocol Xon(ox11)-Xoff(ox13) ?


BAUD RATE = 9600
PARITA' = NO
STOP BIT = 1
BIT/CAR = 8
HANDSHAKE := CONTROLLO DI FLUSSO XON-XOFF


there is some sample for create it ?
by Silvio.Falconi
Mon Mar 04, 2013 10:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cash with protocol Xon-Xoff
Replies: 0
Views: 283

Help me Please !!!

Hi All.. I have to send this to COM port ( RS232 ) with xHarbour Please guide me ... Communication Parameters: - Baud rate: 2400 bits/s; - Data: 8 bits; - End code: 1 bit; - Checksum: Nil; P.S: Networking Capacity: Up to 128 nos. LED signs in maximum. Sign address is addressable ...
by fafi
Mon Mar 15, 2010 6:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help me Please !!!
Replies: 0
Views: 448

... do gateway nameserver: DWORD; // IP do servidor de nomes myname: array [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 ...
by MGA
Wed Jul 23, 2008 4:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como chamar esta DLL ??
Replies: 10
Views: 3945

... input to take the first step to improve that FWPPC can communicate with our vending machine…. DEFINE COMM <oComm> [ STOP <nStop> ]; [ BAUD <nBaud> ]; [ PARITY <cParity> ]; [ INSIZE <nInQueue> ]; [ OUTSIZE <nOutQueue> ]; [ DEVICE <nDevice> ]; [ DATA <nData> ...
by joop hermsen
Tue Oct 02, 2007 2:53 pm
 
Forum: FiveWin for Pocket PC
Topic: Serial Communication
Replies: 10
Views: 6543

activa los puerto serial

... INIT_PORT can be seen in IOLib.ch Version 1.2r1 ******************************************************************************* INIT_PORT(Nx_port,Nbaud,Ndata,Nparity,Nstop,Nirq,@cIn_buffer) => log Initializes the communication port and sets up the input bufferd stream Pass: Nx_port= base port ...
by orosmagno
Tue May 22, 2007 1:15 pm
 
Forum: FiveWin para CA-Clipper
Topic: ayuda por favor
Replies: 7
Views: 2312

... If you try to query the communication settings for the IrComm port using GetCommState, the DCB returned is all zeros. If you try to set a baud rate or some of the other parameters, and later call GetCommState again, the DCB will still be 0. IrSock manages the speed and the handshaking ...
by Antonio Linares
Sat Feb 24, 2007 9:58 am
 
Forum: FiveWin for Pocket PC
Topic: How to activate IRDA(Infrared) connection?
Replies: 2
Views: 1796

FTDN new June 2006 build / nuevo build de Junio 2006

... review samples\TapHold.prg for a working sample. * Enhancement: Minor change in makes\fwcemake.zip * Fix: SetCommState() is able to change the baud rate. Thanks to Enrico. * Enhancement: function AnsiToWide() is properly managing embeded zeroes. * New: xbase command for TREEVIEW already implemented: ...
by Antonio Linares
Thu Jun 29, 2006 8:53 am
 
Forum: WhatsNew / Novedades
Topic: FTDN new June 2006 build / nuevo build de Junio 2006
Replies: 2
Views: 2981

or try BuildCommDcb( "LPT1:", @cDcb ) or try BuildCommDcb( "LPT1:9600,n,8,1", @cDcb ) By right we don't need the baud rate for LPT1. Check also if the delay happens on SetCommState(), msgwait(), etc. Try to remove the line causes delay. Check also if anti-virus software causes ...
by tnhoe
Thu Jun 08, 2006 2:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need to write a character directly to LPT1 port
Replies: 23
Views: 6815

Bug in SetCommState()

It seems that SetCommState() is not able to change the serial communication port baud rate.

Antonio, can you look at it? If you need a sample of the problem please let me know.

EMG
by Enrico Maria Giordano
Tue Jun 06, 2006 8:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bug in SetCommState()
Replies: 11
Views: 3540

... hPort nPort comtains 8 for a Btooth and 1 or 2 for the serial port. I wonder if the problem is not due to a bad com port setting (like a bad baud rate). I could not find the documentation of the "CreateFile" function. Can you tell me where to look ? Many thanks,
by Raymond Fischbach
Wed May 10, 2006 9:42 am
 
Forum: FiveWin for Pocket PC
Topic: Bluetooth serial port
Replies: 14
Views: 6727

... If you try to query the communication settings for the IrComm port using GetCommState , the DCB returned is all zeros. If you try to set a baud rate or some of the other parameters, and later call GetCommState again, the DCB will still be 0. IrSock manages the speed and the handshaking ...
by Antonio Linares
Mon Apr 17, 2006 7:23 pm
 
Forum: FiveWin para Pocket PC
Topic: IRDA como puerto comm
Replies: 3
Views: 2206
Next

Return to advanced search