VectorStar™ MS4640A SeriesMicrowave Vector Network Analyzer : Appendix A — Programming with LabVIEW : Programming Examples
 
Programming Examples
Getting Started
We’ll create a few simple programs to demonstrate the use of the MS464X LabVIEW driver for controlling VectorStar.
VXI-11 Communication with TCP/IP and IP Address
We want to communicate to VectorStar using VXI-11 (TCP/IP) so we’ll need to note the IP Address of the VNA and set up a resource (a connection string).
 
VISA Resource using Measurement and Automation Explorer (MAX)
We’ll set up the VISA resource using the Measurement and Automation Explorer (MAX).
 
MAX – Creating New Resource
Create a new resource.
 
MAX – Select VISA TCP/IP Resource
Select VISA TCP/IP Resource.
 
 
MAX – TCP/IP Auto-Detect Function
If the controlling PC and the VNA are on the same local sub-network (this is usually true if the first 3 numbers in the IP address are the same (for example, 192.168.1.x in this case), then you can probably Auto-detect the VNA.
 
MAX – TCP/IP Auto-Detect Function – Select Instrument
Select the detected instrument.
 
MAX – TCP/IP Auto-Detect Function – Instrument VISA Alias
Give the instrument an alias. Later on we’ll use this alias in LabVIEW.
 
Instrument VISA Alias in Use
Note that the VISA connection string has been replaced with the VISA alias.
 
 
LabVIEW – First Example – New VI
Now back in LabVIEW we’re ready to start creating the first example. We’ll create a new VI.