FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour RS232 - dispensing equipment
Posts: 38
Joined: Fri Apr 22, 2016 10:19 PM

RS232 - dispensing equipment

Posted: 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

Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: RS232 - dispensing equipment

Posted: 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
Posts: 38
Joined: Fri Apr 22, 2016 10:19 PM

Re: RS232 - dispensing equipment

Posted: Tue Dec 03, 2019 10:30 PM

Thank you for your quick reponse, Cristobal!

Continue the discussion