From Joseph.DiVerdi at ColoState.EDU Wed Mar 27 19:04:00 2019
From: Joseph.DiVerdi at ColoState.EDU (DiVerdi,Joseph)
Date: Thu, 28 Mar 2019 02:04:00 +0000


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