VectorStar™ MS4640A SeriesMicrowave Vector Network Analyzer : Appendix A — Programming with LabVIEW : Example 2 ─ Sending the *IDN? Command – Display Results
 
Example 2 ─ Sending the *IDN? Command – Display Results
The previous example used only driver VIs to get some information from the VNA. The GPIB command, “*IDN?” returns the Manufacturer, Model #, Serial Number and Firmware Version. We used this command previously in Figure 8 using the WGPIB utility. In this example we directly issue the “*IDN?” command and then parse the different parts of the response string.
Example 2 – Block Diagram – *IDN? Command
Here we directly send a GPIB string using the VISA Write Function, then we read the response from the VNA using the VISA Read Function. Then we use the Scan From String Function to grab the different comma-separated values in the response string.
 
 
Example 2 – Front Panel
Front Panel for Example 2