This program is an excellent resource for learning how the measurement process works because it allows you to see events happen as you interact with the 89600 VSA.
The project files, which can be opened with Microsoft Visual Studio 2010 or newer, are located in the following directory:
%PROGRAMFILES%\Keysight\89600 Software 20xx\89600 VSA Software\Examples\DotNET\C#\WpfStatusDemo
where 20xx is the version number of the 89600 VSA.
![]() |
You will need to copy the contents of the Examples directory to your Documents directory or some other location that is writable before compiling and running the example programs since the contents of the VSA installation directory are read-only. The examples depend on API interfaces under the Interfaces directory of your VSA software installation, so you may also need to repair references to these interfaces before the example will run. |
You can use the WaitForMeasurementDone and WaitForDataValid methods to make sure that the values read from summary tables and traces are valid. However, there might be something missing in the signal that keeps the measurement from completing. This is where the status register and events are useful.
Status Register
The 89600 VSA has a status register that can be queried through the .NET API. Rather than polling the VSA status until something changes, you could register an event handler that will fire when something changes, such as the MeasDone or SyncNotFound StatusBits from the Measurement.Status property.
![]() |
Negative events are triggered when a bit in the status register changes from True to False. Positive events are triggered when a bit in the status register changes from False to True. |