|
This is a pre-processed version of the web page http://info-igor.org/IgorMessages/2019/03/Info-Igor_2019-03_0021.html. In this copy, the search terms dsites.com (0) have been highlighted to make them easier to find. If a search term was not found, then it may exist in the non-visible title, description, keywords or URL fields, or the contents of this document may have changed since it was indexed. Some web pages will not display properly in this pre-processor. Visit those pages directly by following this link. Visit the page itself before bookmarking it. The search engine that brought you here is not necessarily affiliated with, nor responsible for, the contents of this page. |
Subject: SOCKIT experimentation
Message-ID: <c118ed45-e109-2465-2810-727b63587bb0@colostate.edu>
Igoratti,
I've begun experimenting with the SOCKIT XOP and am a bit confused regarding its behavior.
As a test bed I have created a separate (non-Igor) TCP stream server which immediately emits lines (\n terminated) strings when it is opened. This is demonstrated using a telnet client issuing a command "telnet 10.0.0.222 4040" on my LAN. The response is immediate and continuous strings of POSIX time stamps and a few arbitrary floats "1553738376.222511 3.383 3.815" several times a second.
Now when I open a connection in Igor using SOCKIT SOCKITopenconnection k0, "10.0.0.222", 4040, dummy_text_wave; the command history immediately and continually echos the server strings. I cannot get this server data to move directly into a text wave nor can I successfully install a processor function to process the incoming strings. The /Q flag does suppress the command history yet without changing the other behaviors.
Thoughts and suggestions are solicited.
Best regards,
Joseph
--
Joseph A. DiVerdi, PhD, MBA
Associate Professor of Chemistry
Colorado State University
+1.970.980.5868 - http://sites.colostate.edu/diverdi