Overview
After looking through the available VeriStand System Definition API resources, such as the VeriStand .NET Help and the Creation of a System Definition File using C# community post, I created a simple system definition that focused on mapping DAQ and FPGA hardware.
Description
The code writes a new system defintion file, adds an FPGA, and then walks through the DAQ hardware configuration process. After that, a few DAQ analog input channels are mapped to FPGA analog output channels and the system definition file is saved.
Steps to Implement or Execute Code
- On line 21, update the filepath with what you would like the system definition to be called and where you would like it to be saved.
- Run the code.
- Open the newly created .nivssdf and review over the different sections.
Requirements
Software
VeriStand 2014
Microsoft Visual Studio 2012
Hardware
Windows development computer
Images

Related Links
NI Community: Example: Programmatic Creation of a System Definition File using C#
NI Community: NI VeriStand Add-on: Example .Net Control of VeriStand through C#
VeriStand Help: NI VeriStand .NET Reference