How fast is SOCKIT?
Thu, 11/04/2010 - 07:07 am
Keithley provides an Eclipse based script builder(TSP - Test Script Builder) to program the unit and for some testing.
I have built the test script and executed in both Eclipse and Igor. The basic sweeps take about 10 sec, but it seems that in Igor getting the data out of the unit takes about 5 sec versus instantaneous in Eclipse.
In Eclipse the code to return the data is:
printbuffer(1, smua.nvbuffer.n,smua.nvbuffer1) ( which means print the buffer from point 1 to the last point (.n) of non-volatile buffer 1.)
which prints to Elcipse's version of the command window.
In Igor I do
SOCKITsendrecv socknum, "printbuffer(1, smua.nvbuffer.n,smua.nvbuffer1)", output
where output is a string that I parse into 4 waves. The total amount of data in the string is about 8500 characters.
Both environments are communicating via TCP/IP to the same IP address over the same network. I also did a bit of testing with Telnet and it also seems to be very fast. Any clues as to what I should look at? I am using Igor Pro 6.20 on a Windows box running XP.