A Multi-measurement C# macro is provided to illustrate setting up multiple measurements and gives an example for each of the multi-measurement acquisition styles: Shared; Independent, Concurrent; and Independent, Non-concurrent.
The macro project files are located in the following directory:
%PROGRAMFILES%\Keysight\89600 Software 20xx\89600 VSA Software\Examples\Macros\MultiMeas
where 20xx is the version number of the 89600 VSA.
![]() |
To run the macro:
|
![]() |
You can edit macros using the built-in Code Editor. However, for a better programming experience, you can use Visual Studio 2010 or newer to edit macros. If you don't have access to a professional edition, the Express editions are freely available from the Microsoft Visual Studio Express website. |
This measurement demo performs the following steps:
- Set up two Analyzer Configurations containing simulated hardware
- Run a single Vector measurement
- Shared Acquisition
- Duplicate the Vector measurement
- Set both measurements to share an Analyzer Configuration
- Run both Vector measurements simultaneously
- Independent, Concurrent Acquisition
- Disable sharing for both measurements
- Set each measurement to use a different Analyzer Configuration
- Run both measurements concurrently
- Independent, Non-concurrent Acquisition
- Set both measurements to use the same Analyzer Configuration
- Run measurements sequentially