VectorStar™ MS464xB Series Microwave Vector Network Analyzer Programming Manual : Programming with LabVIEW : Example 3 ─ Error Checking
 
Example 3 ─ Error Checking
Most of the MS464X driver VIs use the Error Query.vi. This example shows that if an invalid GPIB string is sent to the VNA then the Error Query VI catches the error and displays the error message from the VNA. Here we send two valid strings: “*IDN?” and then “OID”. But the third string is not a valid GPIB command and the instrument reports this to the Front Panel.
Example 3 – Block Diagram – Error Checking
Here we mix VISA Writes and Reads with the MS464X driver’s Error Query VI.
 
Example 3 – Front Panel – Error Capture
The “ABC” command is invalid and was captured by the Error Query VI.