Error 267 at System Exec VI When Using DigitalPatternCompiler

Updated Jun 15, 2026

Reported In

Hardware

  • PXI-6551

Software

  • LabVIEW

Driver

  • NI-Digital Pattern Driver

Issue Details

When calling DigitalPatternCompiler through the System Exec.vi in LabVIEW to convert or compile patterns (e.g., from PXI-6551 HSDIO to PXIe-6570 Digital Pattern), the following error occurs:

Error code: 267 (0x0000010B) 
Error 267 occurred at System Exec.vi. Command was...

 

Solution

Root Causes

  1. Malformed Command String: Inconsistent or extra double-quotes in the command string. For example, ending a path with "" without a matching opening quote causes Windows to treat the argument as malformed.
  2. Invalid Working Directory: The "working directory" input to System Exec.vi is not a valid path to an existing directory or contains non-printable characters like extra spaces or carriage returns.
  3. Unresolved Executable: The DigitalPatternCompiler is not in the system PATH, and the VI is calling it without a full absolute path.
  4. Missing Output Directory: Some tools fail if the specified output directory does not already exist on the disk.

Resolution Steps

  1. Ensure all paths are properly wrapped in a single set of double quotes and check for trailing spaces or extra quotes at the end of the string.
  2. Use Absolute Paths: Instead of relying on the system PATH, provide the full absolute path to the compiler (e.g., cmd /c "C:\Path\To\DigitalPatternCompiler.exe").
  3. Ensure the directory passed to the working directory terminal exists.
  4. Add logic to your VI to verify and create the output directory (e.g., ...\Compiled Patterns) before calling the compiler.