VectorStar™ MS4640A SeriesMicrowave Vector Network Analyzer : Appendix A — Programming with LabVIEW : Example 4 ─ LIST Command – Send to a File
 
Example 4 ─ LIST Command – Send to a File
Example 4 – Block Diagram – LIST Command
Here we use VISA Write to send the LIST command to the VNA. We use “LANG NATIVE” because this will send a newline after each command in the output. If we used “LANG LIGHT” then commands are separated by a comma and the file is harder to read.
 
Example 4 – Front Panel
The Front Panel just shows us that nothing went wrong with either the GPIB code or with the File writing code.
This example sends output to a file that the user may specify (a file dialog is opened).
 
Example 4 – VectorStar VNA Supported Command List
The List of all commands supported by VectorStar. Note that the first line has a strange “#9000054727”. This is the arbitrary block header that we will learn how to handle in Example 6. For now we’ll just ignore it.
 
 
Example 4 – WGPIB Help for a Command
Use WGPIB to get more help on any command. Help will tell you what type of command (Lightning, Native, 8510) you're asking about and provides syntax.