Developing a Custom Sequence for Indirect Registers

The Semiconductor Device Control Add-On Professional edition for InstrumentStudio provides project templates in Visual Studio for you to develop custom sequences for indirect register operations.

The following diagram illustrates the workflow of developing a custom sequence.
Figure 6. Custom Sequence Workflow


Complete the following steps to create a custom indirect register sequence project and deploy it to the Semiconductor Device Control Add-On.

  1. Launch Visual Studio.
  2. Enter Custom Indirect Register Sequence in the search field.
  3. Click Custom Indirect Register Sequence to create a new sequence project from the template.
  4. In the Configure your new project dialog box, enter the name of the custom sequence.
    The word Sequence automatically appends to the name you specify when the project is created.
    Note When creating a new project, do not change any of the class names in the project template. The class names are automatically generated with the template.
  5. Add a series of direct register operations to be performed when an indirect register is read or written.
  6. Build the sequence project and use the unit test project to debug and resolve any issues with the logic.
    The unit test project is in the same location as the sequence project.
  7. Run the PackageGenerator.bat file located in the Visual Studio project directory to create the package file.
  8. Run the .nipkg package file to deploy the binaries.
    Note Ensure that InstrumentStudio is closed when running the package. When the package finishes installing, open InstrumentStudio to use the new sequence.
  9. Deploy the package file to the Semiconductor Device Control Add-On.
    When the package finishes deploying, the custom indirect register sequence appears in the CONFIGURATION MAPPING » Sequence Map tab.