Recent

Author Topic: Looking for best software interface protocol for Pascal  (Read 4284 times)

mas steindorff

  • Hero Member
  • *****
  • Posts: 566
Looking for best software interface protocol for Pascal
« on: July 19, 2011, 12:17:30 am »
It will be writing a GUI to show basic data and provide diagnostic commands to some "middle were" that is being written by a separate company.  I wanted to ask this forum what is the easiest or most recommended software to software interface to implement in Pascal that can handle continues data stream (1000 packets/s of 25 floating point numbers) and bidirectional communications for windose (start/ stop/ battery status..)?
So far I have been offered an "Active X" interface and I know there is a "socket" technique that was used in some Python software some coworkers used.  Are there any that I need to add to my research list?
Thank you for your time.
MAS
windows 10 &11, Ubuntu 21+ IDE 3.4 general releases

Laksen

  • Hero Member
  • *****
  • Posts: 802
    • J-Software
Re: Looking for best software interface protocol for Pascal
« Reply #1 on: July 19, 2011, 09:12:17 am »
ActiveX will probably require a lot of tweaking to get all the memory ownership right.
Sockets would be pretty easy and crossplatform.
Another option would be message oriented named pipes. This would be rather Windows oriented though,
Another option would be to serve callbacks in a DLL/Shared library

mas steindorff

  • Hero Member
  • *****
  • Posts: 566
Re: Looking for best software interface protocol for Pascal
« Reply #2 on: July 19, 2011, 07:33:42 pm »
Thank you for your reply Laksen,
do you know off the top of your head if "message orented name pipes" can handle the rate I'm after?  from what I know of windoes (which is as little as I can get away with) messages of this size are a time consuming process.

I'll definitely look into your suggestions. thanks again.
windows 10 &11, Ubuntu 21+ IDE 3.4 general releases

 

TinyPortal © 2005-2018