saleae / SaleaeSocketApi

The Saleae software includes a socket based interface for scripting and automation applications.
73 stars 35 forks source link

Calling -socket when it's already enabled #14

Open timreyes opened 4 years ago

timreyes commented 4 years ago

Refer to ticket #51226

  1. Run Logic via the following - "c:\Program Files\Saleae Inc\Logic.exe" -disablepopups -socket"
  2. If TCP network connection is attempted in LabView, error message occurs: "LabVIEW: (Hex 0x3F) The network connection was refused by the server."
kblomqvist commented 4 years ago

I encountered the same issue. Logic does not start listening to the socket on defined port if "Enable scripting socket server" was already set. Furthermore, it would be handy to be able to set the port via -socket option.

timreyes commented 4 years ago

Thanks for confirming the issue, and sorry for the trouble with that. We plan on fixing this in a future release of the Socket API, which we will implement in our next-gen software, Logic v2 (currently in Alpha).