I am trying to program a UXG N5193 with SCPI commands via UDP in C++. I am able to open a socket and send packets to the UXG; however, the normal SCPI commands that work in Labview with the VISA protocol do not seem to work with the UXG. I am sending the UDP commands to Port 5025.
Is the N5193 UXG able to accept SCPI commands via UDP on port 5025? Is there something I might be missing?
Did you follow this procedure?
To use Sockets, it must be enabled on the signal generator. By default, it is on. To ensure it is on, use the following steps:
Press System > I/O Config > LAN Services Setup > SCPI Services.
Ensure that the softkey, Sockets SCPI Off On is set to On.
If it is set to Off:
Press SCPI Services > Sockets SCPI Off On until On is highlighted.
Press Return > Proceed with Reconfiguration > Confirm Change (Instrument will Reboot).
The signal generator reboots and when finished, the sockets protocol is ready for use.
When using sockets, you must select the signal generator’s sockets port number of 5025.