-
AFG3102C control using raw sockets
I am using an AFG3102C waveform generator to test an embedded system.<br> <br> The AFG3102C is set up to generate rectangular pulses when triggered externally by a signal from the embedded system.<br> <br> There is a short delay configured between the trigger signal and when the pulse is output. This delay is configured using the AFG3102C front panel.<br> <br> The delay needs to be adjusted at various times while the embedded system is running.<br> <br> The timing of the adjustment needs to be somewhat precise and it needs to be made from the embedded system.<br> <br> Since the embedded system is running a real time operating system and not Windows, I cannot use TekVisa via C# or python to communicate with the AFG3102C.<br> <br> It does have ethernet though so I was thinking that I could send the SCPI commands defined in the programming manual for the device though a raw socket.<br> <br> For example, it looks like the delay could be set using the [SOURce[1|2]]:PULSe:DELay command.<br> <br> Is it possible to control the AFG3102C using raw sockets and the text SCPI commands? If so, what port is used?<br> <br> If not, are there any options for using VISA or vxi-11 on an embedded system with a real time operating system?<br>