Hello, I'm an undergrad research assistant in UCSF. I couldn't find sufficient resources to solve my problem.
I'm trying to connect a function generator 33220A via LAN, and control the function generator remotely from a linux computer. Is it possible to do that? Basically, I need to remotely control the function generator from a linux computer, generate a square wave, and takes in a user defined input as duty cycle.
My PI wants me to use a C program to do so, but I couldn't find any thing related to using a c program to communicate with a function generator.
Can anyone give me some guidance of how to go about this?
Sincerely,
Evan
I'm trying to connect a function generator 33220A via LAN, and control the function generator remotely from a linux computer. Is it possible to do that? Basically, I need to remotely control the function generator from a linux computer, generate a square wave, and takes in a user defined input as duty cycle.
My PI wants me to use a C program to do so, but I couldn't find any thing related to using a c program to communicate with a function generator.
Can anyone give me some guidance of how to go about this?
Sincerely,
Evan
You can do this by opening up a socket connection to port 5025
Here is an app note on using sockets with Linux, http://literature.cdn.keysight.com/litweb/pdf/5989-6717EN.pdf
There is also another link you may want to visit with some additional information www.keysight.com/find/linux
But I would highly suggest you stick to TCP sockets, that is the easiest way to connect via linux.