Hi everyone, I started to using Julia a couple of weeks ago for a small project.
My goal is to build a HPLC system, and not only being able to work the data acquired but also to control some of the equipment.
I am facing some issues communicating with a knauer pump. I am using the following code:
julia> using Sockets
julia> s=connect(“10.1.1.10”,10001) #pump ip and port
TCPSocket(Base.Libc.WindowsRawSocket(0x0000031c) open, 0 bytes waiting)
julia> write(s,“FLOW 100 \r”) #write 100uL/min
this works ok and I am able to setup the desired pump velocity, however I would like to read the strings that the pump returns after issuing each command. This would be usefull to acquire a pressure reading through the command PRESSURE.
When I use putty to communicate by telnet I have the following output:
is there any way of having something similar in Julia?
thanks in advance