Read the commands being sent out on Ethernet port

3 次查看(过去 30 天)
I have a Keithley 3706 - S switcher, which is supplied with its own software. This software communicates with the device via TCP IP. I know that I could send packets using Matlab. I am trying to interact with a Keithley 3706 - S switcher via Matlab(R2007a) using the ethernet.
I need to know the structure of the commands being sent from the software to the device so that I can send the same structure using Matlab. Is there a way I can read what structure is being sent out on the ethernet port using Matlab so that, I could initiate the same directly from Matlab.

采纳的回答

Walter Roberson
Walter Roberson 2011-9-8
It is possible using the netcat libraries that underlie the tcpudpip user contributed program. Usually, though, you would use a program made for this purpose, as such programs can decode the tcp headers (which can be crucial.)
I suggest starting with windump

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Digital Input and Output 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by