I was told using an Arduino board could be possible to do it. I need to transform this flow control into an Xon Xoff type so I can connect it to another instrument that only works with Xon Xoff. Result: True if not SetupComm(ComFile, RxBufferSize, TxBufferSize) then Result: False if not GetCommState(ComFile, DCB) then Result: False define the baudrate, parity.Ĭhange the com port and other details to match your own, then you can control it as though youre using the serial console. You open up a handle to a file (which happens to be the com port) and off it goes. NB: This just for you to look at (copy if you want to) and experiment with, but I dont have time to explain it all.Ĭheck this out: The comport component is here: I think i understand you have trouble installing the component, just follow the instructions, and the only paths i added are these: Lets hope more people are going to help us out with the Delphi side of it Good luck. Arduino Delphi Serial Communication How To Path LibraryĪrduino Delphi Serial Communication How To Path Library.
0 Comments
Leave a Reply. |