The following topics can help you learn more about controlling the VNA using SCPI and the GPIB.
COM versus SCPI
The VNA as a USB Device
New Referring to Traces, Measurements, Channels, and Windows Using SCPI
Shut Down the VNA Remotely
See more VNA programming information and examples at:http://na.support.keysight.com/pna/programming/