VNA Master™Programming Manual : General Information : Sending SCPI Commands
 
Sending SCPI Commands
SCPI commands can be sent to the MS20xxC though any Virtual Instrument Software Architecture (VISA) controller. VISA is a commonly‑used API in the Test and Measurement industry for communicating with instruments from a PC. The physical connection between the PC and the MS20xxC can be Ethernet or USB.
NI‑VISA is the National Instruments implementation of the VISA I/O standard. Information and downloads are available at the following link:
http://www.ni.com/visa
The following example describes the verification that a VISA controller can detect the MS20xxC.
Note 
The images shown and the instructions for your instrument and software may differ from the examples in this manual.
1. On the PC, run VISA Interactive Control and double click on the MS20xxC.
VISA Interactive Control
2. Select the viWrite tab and execute the default *IDN? write by clicking the Execute button.
VISA Interactive Control viWrite Tab
3. Select the viRead tab and click the Execute button. If the PC is connected to the MS20xxC, then the command returns the following information from the Buffer: manufacturer name (“Anritsu”), model number/options, serial number, and firmware package number.
VISA Interactive Control viRead Tab