Search found 26 matches: com3

Return to advanced search

Re: Ayuda URGENTE- con puerto serial virtual USB

... COM1 verdadero ( no virtual ), es capaz de abrir y conectarse. Mi rutina es la siguiente: FUNCTION Balanza1( cPortName ) Local nComPort := 4 //COM3 Local nTimeOut := 100 //ms Local lIsOpened := FALSE Local lIsInit := FALSE Local nBytesSended := 0 Local nBytesReceived := 0 Local cReceiveBuffer ...
by Danielmaximiliano
Thu Feb 29, 2024 2:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda URGENTE- con puerto serial virtual USB
Replies: 19
Views: 2349

Ayuda URGENTE- con puerto serial virtual USB

... COM1 verdadero ( no virtual ), es capaz de abrir y conectarse. Mi rutina es la siguiente: FUNCTION Balanza1( cPortName ) Local nComPort := 4 //COM3 Local nTimeOut := 100 //ms Local lIsOpened := FALSE Local lIsInit := FALSE Local nBytesSended := 0 Local nBytesReceived := 0 Local cReceiveBuffer ...
by carito
Fri Nov 03, 2023 3:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda URGENTE- con puerto serial virtual USB
Replies: 19
Views: 2349

abnornal program termination

... //0NONE, 1 Odd, 2Even Local nstopbit :=1 Local cRead :="" Local cBuffer :=SPACE(512) Local cRes :="" DEFAULT cPortName:="COM3" IF !Init_Port( cPortName, nBaudeRate , nDatabits , nParity , nStopbit , cBuffer ) MSGALERT("Balanza no conectada","No puedo ...
by jnavas
Mon Oct 03, 2022 4:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: abnornal program termination
Replies: 7
Views: 800

Re: Lectura de puertos seriales..

... de USB a 485. Ahora con el programa de terceros trabaja bien , cuando le envio el comando no tengo respuesta. Este convertidor crea un puerto COM3, no hay problema por ahio tampoco. http://www.busmaticcr.com/pantalla.bmp Aqui podras ver que es un lector de puertos , simple y trabaja bien , ...
by Busmatic_wpb
Sat Feb 03, 2018 1:59 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Lectura de puertos seriales..
Replies: 9
Views: 2502

Re: WriteComm()

... running? James, when you have a chance, could you please compile the following with your version of FWH. Also, can you compile the same thing with COM3 as well. #include "Fivewin.ch"Function FindCom()   LOCAL cDCB, nComm, cInit   nComm:= OpenComm("COM4", 16384,16384 ...
by Jeff Barnes
Sun Feb 23, 2014 10:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WriteComm()
Replies: 36
Views: 8630

Re: WriteComm()

... my USB ports have a COM address, how would I find out what they are. My serial port is listed as COM1. Do I assume that the USB ports are COM2 and COM3? OK, I tried the test program on COM2 and COM3 it gives the "SetCommState Error" on both attempts. Note that I have a wireless mouse ...
by James Bott
Sun Feb 23, 2014 9:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: WriteComm()
Replies: 36
Views: 8630

Ayuda para leer peso de una bascula

Compañeros, necesito poder leer el puerto COM3 de una báscula Marca Torrey y no logro hacerlo funcionar, el codigo que estoy usando es el siguiente: FUNCTION TestBascula() LOCAL nComm, nError, i, cDato, nContador := 0, cPaso := "", cDcb ...
by EBM
Fri Jul 05, 2013 12:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda para leer peso de una bascula
Replies: 9
Views: 3301

Re: how to open multiple ports

... Local nError,cDCB Local xRESZTA:=.T. Do Case Case xPORT=1 pNAME:="COM1" Case xPORT=2 pNAME:="COM2" Case xPORT=3 pNAME:="COM3" Case xPORT=4 pNAME:="COM4" Case xPORT=5 pNAME:="COM5" Case xPORT=6 pNAME:="COM6" Case xPORT=7 pNAME:="COM7" ...
by Robert Frank
Thu May 12, 2011 8:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to open multiple ports
Replies: 5
Views: 1130

CAPTURAR LAMADA DE CENTRAL TELEFONICA

... "fiveWin.ch" function fReadPort local cDcb, lError, nError local numero := space(8) cErrCode := space( 15 ) if !( gnCom := OpenComm( 'COM3', 1024, 256 ) ) == 0 *IF ! SetCommState( gnCom, cDcb ) * nError = GetCommError( gnCom) * MsgInfo( "Error al setear: " + Str( nError ) ...
by EASYSOFT
Sun Mar 13, 2011 1:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CAPTURAR LAMADA DE CENTRAL TELEFONICA
Replies: 2
Views: 868

Re: ReadComm( )

... Local nError,cDCB Local xRESZTA:=.T. Do Case Case xPORT=1 pNAME:="COM1" Case xPORT=2 pNAME:="COM2" Case xPORT=3 pNAME:="COM3" Case xPORT=4 pNAME:="COM4" Case xPORT=5 pNAME:="COM5" Case xPORT=6 pNAME:="COM6" Case xPORT=7 pNAME:="COM7" ...
by Robert Frank
Fri Oct 22, 2010 9:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ReadComm( )
Replies: 4
Views: 1956

Re: Comm with USB device

... Local nError,cDCB Local xRESZTA:=.T. Do Case Case xPORT=1 pNAME:="COM1" Case xPORT=2 pNAME:="COM2" Case xPORT=3 pNAME:="COM3" Case xPORT=4 pNAME:="COM4" Case xPORT=5 pNAME:="COM5" Case xPORT=6 pNAME:="COM6" Case xPORT=7 pNAME:="COM7" ...
by Robert Frank
Mon Oct 11, 2010 6:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Comm with USB device
Replies: 4
Views: 1337

Re: Help translate from Delphi to Fivewin

... NPORT AS LONG ENDSTRUCT STRUCT NADDRESSPORT MEMBER ADDRESS AS BYTE ENDSTRUCT STRUCT FrmHandle MEMBER CODE AS LONG ENDSTRUCT NPORT:NPORT := 3 // com3 NADDRESSPORT:ADDRESS :=0XFF // 255 FrmHandle:CODE := 0 TRY FOR NCTL = 3 TO 5 NPORT:NPORT := NCTL MSGINFO( AUTOOPENCOMPORT(NPORT:CBUFFER ,NADDRESSPORT:CBUFFER ...
by kok joek hoa
Mon Aug 16, 2010 8:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help translate from Delphi to Fivewin
Replies: 4
Views: 1048

Enviar SMS

... en los ejemplos TERMINAL.PRG PHONE.PRG , he revisado como se inicializa el modem y se le mandan los comandos. pero en HYPERTERMINAL si selecciono COM3, no funciona, que es el puerto que me genero el USB modem, pero si selecciono SA-EDGE Modem460, si funciona y envio via hyperterminal sin problema ...
by mag071
Fri Jul 23, 2010 5:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Enviar SMS
Replies: 0
Views: 437

Re: Carpetas imborrables

Siguiendo con el tema ninguno de estos nombre se pueden utilizar tampoco CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Pero mediante LMKDIR('\\.\\E:\AUX') si podemos, ademas tambien es valido ...
by JoseGS
Sun Oct 25, 2009 6:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Carpetas imborrables
Replies: 2
Views: 622

Re: SerialPort Class Using CreateObject (...)

... from my call to TEST_NAMESPACE() In routine: HB_FUNC( TEST_NAMESPACE ). In (TEST_NAMESPACE_in_DLL(...): The following serial ports were found:COM3 Returned test result from TEST_NAMESPACE in a DLL is: 0000000038 <- this is in hex => 56 Decimal [/list][/list] -------------------------------------------------------------------------------- ...
by angelo.c
Sun Jul 19, 2009 3:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SerialPort Class Using CreateObject (...)
Replies: 5
Views: 3210
Next

Return to advanced search