RS232 - dispensing equipment

RS232 - dispensing equipment

Postby Iris Gesser » Tue Dec 03, 2019 10:00 pm

Dear community,

is there a sample, how I can start communication with a dispensing equipment using RS232?
Is it possible to make a protocol in FW?
At the moment we communicate with the dispensing equipment using an external software but I think it should be working directly.
I did not find an example in the samples...
I have studied some topics, but I am not sure, if they are relevant for my issues...
I am really a long way off the topic.

Thank you in advance and kind regards
Iris
User avatar
Iris Gesser
 
Posts: 37
Joined: Fri Apr 22, 2016 10:19 pm

Re: RS232 - dispensing equipment

Postby cnavarro » Tue Dec 03, 2019 10:10 pm

Surely you need to use the function OpenComm()

nComm := OpenComm( "COM1", 1024, 128 )


I have never used it
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: RS232 - dispensing equipment

Postby Iris Gesser » Tue Dec 03, 2019 10:30 pm

Thank you for your quick reponse, Cristobal!
User avatar
Iris Gesser
 
Posts: 37
Joined: Fri Apr 22, 2016 10:19 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 83 guests

cron