The following topics can help you learn more about controlling the VNA using SCPI and the GPIB.
COM versus SCPI
GPIB Fundamentals
The VNA as a USB Device
Remote Control of SCPI USB Devices Connected to a VNA
New Referring to Traces, Measurements, Channels, and Windows Using SCPI
Shut Down the VNA Remotely