The code for the following non-GUI example plugins is available:
ExamplePlugin_v21_SRC.zipDataSimulatorPlugin_v21_SRC.zip
This should work for BrainVoyager 23 and previous versions.